On Nov 14, 2007 12:56 PM, Tena Sakai <tsakai@xxxxxxxxxxxxxx> wrote: > > The postgres server I have (on redhat linux 2.6 with recent > Dell hardware (4 cpus)) is running terribly slow. > > A job it should have gotten done in less than 1 hour > took 7.5 hours last night. OK, before you try to fix the problem by blindly changing settings, let's figure out what the problem IS. Sounds to me like you've got bloat in your storage subsystem. psql into your database as a superuser (postgres, etc...) and run vacuum verbose; and post the last 10 or so lines here. ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings