Re: Forcing materialize in the planner - Mailing list pgsql-general

From Jack Christensen
Subject Re: Forcing materialize in the planner
Date
Msg-id 520E19C7.2080909@jackchristensen.com
Whole thread Raw
In response to Forcing materialize in the planner  (Robert James <srobertjames@gmail.com>)
List pgsql-general
Have you tried putting those components in a common table expression?
I'm not sure if it absolutely forces the materialization or not, but in
practice that has been my experience.

Robert James wrote:
> I have a query which, when I materialize by hand some of its
> components, runs 10x faster (including the time needed to
> materialize).  Is there any way to force Postgres to do that? Or do I
> need to do this by hand using temp tables?
>
>


pgsql-general by date:

Previous
From: salah jubeh
Date:
Subject: Re: devide and summarize sql result (all)
Next
From: Steve Clark
Date:
Subject: what \ command actually run