Re: Major performance problem after upgrade from 8.3 to 8.4 - Mailing list pgsql-performance

From Gerhard Wiesinger
Subject Re: Major performance problem after upgrade from 8.3 to 8.4
Date
Msg-id alpine.LFD.2.01.1009020749380.19625@bbs.intern
Whole thread Raw
In response to Re: Major performance problem after upgrade from 8.3 to 8.4  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Major performance problem after upgrade from 8.3 to 8.4
List pgsql-performance
On Mon, 30 Aug 2010, Tom Lane wrote:

> Gerhard Wiesinger <lists@wiesinger.com> writes:
>> BTW: I have the old data setup. /var/lib/pgsql-old. Is there a fast setup
>> with old version on different TCP port possible to compare query plans?
>
> You'll need to reinstall the old executables.  If you put the new
> executables in the same directories, it's not going to be easy to
> run both in parallel.  If you didn't, then you just need to start
> the old postmaster using a different port number.
>

I tried to get 8.3.11 ready again:
# Problems with timezone on startup (Default not found)
./configure --with-system-tzdata=/usr/share
cp ./src/backend/postgres /bin/postgres-8.3.11
su -l postgres -c "/bin/postgres-8.3.11 -p 54321 -D
/var/lib/pgsql-old/data &" >> /var/lib/pgsql-old/pgstartup.log 2>&1 < /dev/null

Problem is that PostgreSQL doesn't listen and take much CPU and also disk
I/O. 8.3 was shut down cleanly. 8.4 runs in parallel. Are there any
problems with shared buffer conflicts?

   PID USER      PR  NI  VIRT SWAP  RES CODE DATA  SHR S %CPU %MEM    TIME+  COMMAND
  6997 postgres  20   0  113m 112m 1236 3688 1064  712 D 38.7  0.0   0:45.43 /bin/postgres-8.3.11 -p 54321 -D
/var/lib/pgsql-old/data

Any ideas?

Thnx.

Ciao,
Gerhard

--
http://www.wiesinger.com/

pgsql-performance by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Performance on new 64bit server compared to my 32bit desktop
Next
From: Tom Lane
Date:
Subject: Re: Major performance problem after upgrade from 8.3 to 8.4