Re: snowflaking - Mailing list pgsql-novice

From Joe Conway
Subject Re: snowflaking
Date
Msg-id 4070EE2D.2090909@joeconway.com
Whole thread Raw
In response to snowflaking  (Nabil Sayegh <postgresql@e-trolley.de>)
Responses Re: snowflaking
List pgsql-novice
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 by date:

Previous
From: stm23
Date:
Subject: ecpg preprocessor
Next
From: Nabil Sayegh
Date:
Subject: Re: snowflaking