Re: snowflaking
От
Joe Conway
Тема
Re: snowflaking
Дата
Msg-id
4070EE2D.2090909@joeconway.com
Ответ на
snowflaking (Nabil Sayegh)
Список
Дерево обсуждения
snowflaking Nabil Sayegh <postgresql@e-trolley.de>
Re: snowflaking Joe Conway <mail@joeconway.com>
Re: snowflaking Nabil Sayegh <postgresql@e-trolley.de>
Re: 7.4 dramatically slower than 7.3? (was: snowflaking) Nabil Sayegh <postgresql@e-trolley.de>
Re: 7.4 dramatically slower than 7.3? (was: snowflaking) Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: 7.4 dramatically slower than 7.3? Nabil Sayegh <postgresql@e-trolley.de>
Re: 7.4 dramatically slower than 7.3? Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: 7.4 dramatically slower than 7.3? Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: 7.4 dramatically slower than 7.3? Nabil Sayegh <postgresql@e-trolley.de>
Re: 7.4 dramatically slower than 7.3? Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: 7.4 dramatically slower than 7.3? Tom Lane <tgl@sss.pgh.pa.us>
Re: 7.4 dramatically slower than 7.3? Nabil Sayegh <postgresql@e-trolley.de>
Re: 7.4 dramatically slower than 7.3? (was: snowflaking) Tom Lane <tgl@sss.pgh.pa.us>
Re: 7.4 dramatically slower than 7.3? Nabil Sayegh <postgresql@e-trolley.de>
Nabil Sayegh wrote: [...big snowflake query and explain analyze results...] > Is there anything I can do to speed it a bit up? > We can assume, that > a) inserts are done very rarely and > b) the number of actual results are very low One simple idea is to use PREPARE and EXECUTE. This is only useful if you can PREPARE once and then EXECUTE multiple times (i.e. as long as you don't need to reconnect prior to every execution of the query). HTH, Joe
В списке pgsql-novice по дате отправления