Re: [SQL] Analyze makes queries slow...

2003-08-14 Thread Stef
On Fri, 8 Aug 2003 09:24:48 -0700 Jonathan Gardner <[EMAIL PROTECTED]> wrote: => Try the performance list. Thanks for the tip Stef ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [SQL] Analyze makes queries slow...

2003-08-08 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 06 August 2003 08:18, Stef wrote: > > Can anybody help, or give some links to good > help resources? > Try the performance list. Attach the create statements used to create the tables, the query you are running, and the different explai

[SQL] Analyze makes queries slow...

2003-08-06 Thread Stef
Hi all, I have a problem : A select statement that selects from 7 tables, groups the information by 6 columns of the tables involved. When there are no rows in pg_statistics, the query runs under 3 minutes. When I analyze the biggest table of the 7 (approx 100 rows), the query takes longer