[PERFORM] stats reset during pg_restore?

2006-08-26 Thread George Pavlov
This did not have any takers in pgsql-general. Maybe performance-oriented folks can shed light? The basic question is if there is a way to preserve stats during pg_restore? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of George Pavlov Sent: Monday,

[PERFORM] [8.1.4] Help optimizing query

2006-08-26 Thread Hayes
Hi all, I need help making the below query go faster. There are about 5 of these being done in one report. Some use joins instead of subselects but they all go about the same speed. I'm not much of a SQL person so I just threw indices on everything involved but it still takes about at least

Re: [PERFORM] stats reset during pg_restore?

2006-08-26 Thread Alvaro Herrera
George Pavlov wrote: This did not have any takers in pgsql-general. Maybe performance-oriented folks can shed light? The basic question is if there is a way to preserve stats during pg_restore? No, there isn't. Can someone share what exatly happens with stats upon restore? Also is there