From: | Christo Du Preez <christo(at)mecola(dot)com> |
---|---|
To: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: test / live environment, major performance difference |
Date: | 2007-06-12 07:38:06 |
Message-ID: | 466E4D5E.6050103@mecola.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Where do I set the planner settings or are you reffering to settings in
postgres.conf that may affect the planner?
The one badly performing laptop is the same as mine (the fast one) and
the server is much more powerful.
Laptops: Intel Centrino Duo T2600 @ 2.16GHz, 1.98 GB RAM
Server: 2 xIntel Pentium D CPU 3.00GHz, 4 GB RAM
All three systems are running Suse 10.2, with the same PosgreSQL, same
configs, same databases. As far as I know, same everything.
PostgreSQL 8.2.3 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.1.2
20061115 (prerelease) (SUSE Linux)
POSTGIS="1.2.1" GEOS="3.0.0rc4-CAPI-1.3.3" PROJ="Rel. 4.5.0, 22 Oct
2006" USE_STATS
Thanx for all the advice
Dave Dutcher wrote:
>> -----Original Message-----
>> From: Christo Du Preez
>> Sent: Monday, June 11, 2007 10:10 AM
>>
>> I have narrowed down the problem (I think) and it's the query
>> planner using different plans and I haven't got a clue why.
>> Can anyone please shed some light on this?
>>
>
> Different plans can be caused by several different things like different
> server versions, different planner settings in the config file, different
> schemas, or different statistics. You say the server versions are the same,
> so that's not it. Is the schema the same? One isn't missing indexes that
> the other has? Do they both have the same data, or at least very close to
> the same data? Have you run analyze on both of them to update their
> statistics? Do they have the same planner settings in the config file? I
> would check that stuff out and see if it helps.
>
> Dave
>
>
>
>
--
Christo Du Preez
Senior Software Engineer
Mecola IT
Mobile: +27 [0]83 326 8087
Skype: christodupreez
Website: http://www.locateandtrade.co.za
From | Date | Subject | |
---|---|---|---|
Next Message | Christo Du Preez | 2007-06-12 13:32:40 | Re: test / live environment, major performance difference |
Previous Message | Christo Du Preez | 2007-06-12 06:36:28 | Re: test / live environment, major performance difference |