Re: test / live environment, major performance difference

Поиск
Список
Период
Сортировка
Искать
От
Craig James
Тема
Re: test / live environment, major performance difference
Дата
Msg-id
466D93EF.4010300@emolecules.com
Ответ на
Список
Дерево обсуждения
Re: test / live environment, major performance difference Christo Du Preez <christo@mecola.com>
Re: test / live environment, major performance difference Reid Thompson <Reid.Thompson@ateb.com>
Re: test / live environment, major performance difference Christo Du Preez <christo@mecola.com>
Re: test / live environment, major performance difference Alvaro Herrera <alvherre@commandprompt.com>
Re: test / live environment, major performance difference "Steinar H. Gunderson" <sgunderson@bigfoot.com>
Re: test / live environment, major performance difference "Steinar H. Gunderson" <sgunderson@bigfoot.com>
Re: test / live environment, major performance difference Michael Glaesemann <grzm@seespotcode.net>
Re: test / live environment, major performance difference Tom Lane <tgl@sss.pgh.pa.us>
Re: test / live environment, major performance difference Christo Du Preez <christo@mecola.com>
Re: test / live environment, major performance difference Tom Lane <tgl@sss.pgh.pa.us>
Re: test / live environment, major performance difference Christo Du Preez <christo@mecola.com>
Re: test / live environment, major performance difference Tom Lane <tgl@sss.pgh.pa.us>
Re: test / live environment, major performance difference Gregory Stark <stark@enterprisedb.com>

On 2007-06-11 Christo Du Preez wrote:
> I really hope someone can shed some light on my problem. I'm not sure
> if this is a posgres or potgis issue.
>
> Anyway, we have 2 development laptops and one live server, somehow I
> managed to get the same query to perform very well om my laptop, but
> on both the server and the other laptop it's really performing bad.

One simple possibility that bit me in the past: If you do pg_dump/pg_restore to create a copy of the database, you have to ANALYZE the newly-restored database.  I mistakenly assumed that pg_restore would do this, but you have to run ANALYZE explicitely after a restore.

Craig

В списке pgsql-performance по дате отправления
От: Dave Cramer
Дата:
Сообщение: Re: How much ram is too much
От: Francisco Reyes
Дата:
FAQ