Re: [PERFORM] filesystem option tuning

2004-06-04 Thread CH
Hi! > > Does that mean only the xlog, or also the clog? As far as I understand, the > > clog contains some meta-information on the xlog, so presumably it is > > flushed to disc synchronously together with the xlog? That would mean that > > they each need a separate disk to prevent one disk having

Re: [PERFORM] Query much slower when run from postgres function

2009-03-10 Thread Frank Ch. Eigler
Tom Lane writes: > Mario Splivalo writes: >> Now I'm confused, why is 'sql' function much slower than 'direct' SELECT? > > Usually the reason for this is that the planner chooses a different plan > when it has knowledge of the particular value you are searching for than > when it does not. I su

[PERFORM] Question about clustering indexes and restores

2009-01-22 Thread Harold A . Giménez Ch .
Hi list, Clustering my indexes dramatically improves the query performance of many of my queries. Also, the actual clustering takes a very long time for big databases, roughly 20 hours. I have two questions about how to improve this: 1. I've tweaked maintenance_mem_max and effective_cache_size to

Re: [PERFORM] Question about clustering indexes and restores

2009-01-22 Thread Harold A . Giménez Ch .
2PM -0500, Harold A. Gim?nez Ch. wrote: > > Hi list, > > > > Clustering my indexes dramatically improves the query performance of many > of > > my queries. Also, the actual clustering takes a very long time for big > > databases, roughly 20 hours. I have two q