Re: Using EXPLAIN-ANALYZE

From: "Owen Jacobson" <ojacobson(at)osl(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Using EXPLAIN-ANALYZE
Date: 2006-02-16 21:11:44
Message-ID: 144D12D7DD4EC04F99241498BB4EEDCC220A9E@nelson.osl.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Kashmira Patel wrote:

> So I would have to put in lots of rows of data in the table
> before using the explain command?

No, but PostgreSQL's query planner may take a different approach for a small table than a large one. The statistics used are generated during VACUUM ANALYZE/VACUUM FULL operations and, under 8.1, are probably maintained by autovacuum, but you can always vacuum manually and see if that changes the query plan.

-Owen

Browse pgsql-sql by date

  From Date Subject
Next Message Andrew Sullivan 2006-02-16 21:14:00 Re: Using EXPLAIN-ANALYZE
Previous Message Kashmira Patel (kupatel) 2006-02-16 21:08:40 Re: Using EXPLAIN-ANALYZE