| From: | Gerhard Wiesinger <lists(at)wiesinger(dot)com> | 
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> | 
| Cc: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Andreas Kretschmer <akretschmer(at)spamfence(dot)net>, pgsql-performance(at)postgresql(dot)org | 
| Subject: | Re: Major performance problem after upgrade from 8.3 to 8.4 | 
| Date: | 2010-09-02 05:53:28 | 
| Message-ID: | alpine.LFD.2.01.1009020749380.19625@bbs.intern | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-performance | 
On Mon, 30 Aug 2010, Tom Lane wrote:
> Gerhard Wiesinger <lists(at)wiesinger(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2010-09-02 13:14:38 | Re: Major performance problem after upgrade from 8.3 to 8.4 | 
| Previous Message | Scott Marlowe | 2010-08-31 18:56:53 | Re: Performance on new 64bit server compared to my 32bit desktop |