Re: [PERFORM] Poor Performance after Upgrade

2007-08-22 Thread Russell Smith
Ben Perrault wrote: Hi, I recently inherited a very old (PostgreSQL 7.0.3) database, and have migrated it to 8.2.4 but have run into a performance issue. Basically, I did a dump and import into the new database, vacuumed and created fresh indexes and everything is work great except the foll

Re: [PERFORM] Poor Performance after Upgrade

2007-08-22 Thread vincent
> Hi, > > I recently inherited a very old (PostgreSQL 7.0.3) database, and have > migrated it to 8.2.4 but have run into a performance issue. > Did you configure the 8.2.4 server to match the memory requirements etc of the old server? PostgreSQL's default settings are usually not aimed at optimal

Re: [PERFORM] Poor Performance after Upgrade

2007-08-21 Thread Steinar H. Gunderson
On Mon, Aug 20, 2007 at 10:17:14PM -0700, Ben Perrault wrote: > -> Nested Loop (cost=1.00..106559138.00 rows=336 > width=137) This sounds very much like you're trying to force the planner. Did you set enable_nestloop=false or something? Are there any other non-default settings

[PERFORM] Poor Performance after Upgrade

2007-08-21 Thread Ben Perrault
Hi, I recently inherited a very old (PostgreSQL 7.0.3) database, and have migrated it to 8.2.4 but have run into a performance issue. Basically, I did a dump and import into the new database, vacuumed and created fresh indexes and everything is work great except the following type of query (