From: Gerhard Wiesinger <lists@wiesinger.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Andreas Kretschmer <akretschmer@spamfence.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: Major performance problem after upgrade from 8.3 to 8.4
Date: Thu, 2 Sep 2010 07:53:28 +0200 (CEST)
Message-ID: <alpine.LFD.2.01.1009020749380.19625@bbs.intern> (raw)
In-Reply-To: <12837.1283186981@sss.pgh.pa.us>
References: <alpine.LFD.2.01.1008300802300.4121@bbs.intern>
<20100830072230.GA28373@tux>
<AANLkTi=Te9ToTG-bqVy+fHQ0wM1YWv0nhBqqYiTk2ePg@mail.gmail.com>
<alpine.LFD.2.01.1008300956320.19598@bbs.intern>
<AANLkTik14X_MYoZA5CHNGC8M7Rc0zXrRhoGw6FrfUPXm@mail.gmail.com>
<alpine.LFD.2.01.1008301808330.31277@bbs.intern>
<11111.1283185373@sss.pgh.pa.us>
<alpine.LFD.2.01.1008301838480.4133@bbs.intern>
<12837.1283186981@sss.pgh.pa.us>
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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: lists@wiesinger.com, tgl@sss.pgh.pa.us, pavel.stehule@gmail.com, akretschmer@spamfence.net
Subject: Re: Major performance problem after upgrade from 8.3 to 8.4
In-Reply-To: <alpine.LFD.2.01.1009020749380.19625@bbs.intern>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox