Re: Major performance problem after upgrade from 8.3 to 8.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 30 Aug 2010, Tom Lane wrote:

Gerhard Wiesinger <lists@xxxxxxxxxxxxx> 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/

--
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux