Re: Puzzling table scan in a CTE - Mailing list pgsql-general

From Kevin Grittner
Subject Re: Puzzling table scan in a CTE
Date
Msg-id 1385148245.49487.YahooMailNeo@web162904.mail.bf1.yahoo.com
Whole thread Raw
In response to Puzzling table scan in a CTE  (<slapo@centrum.sk>)
Responses Re: [GENERAL] Puzzling table scan in a CTE
List pgsql-general
"slapo@centrum.sk" <slapo@centrum.sk> wrote:

> I have a recursive CTE where a table scan occurs, even though
> there doesn't seem to be a good reason for it.

Do you have effective_cache_size set to 50% to 75% of machine RAM?
Do you have cpu_tuple_cost set to between 0.03 and 0.05?  If not,
do changes to these settings help?

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-general by date:

Previous
From: "Tomas Vondra"
Date:
Subject: Re: ERROR: out of memory DETAIL: Failed on request of size ???
Next
From: Kevin Grittner
Date:
Subject: Re: corruption issue after server crash - ERROR: unexpected chunk number 0