Re: Using EXPLAIN-ANALYZE - Mailing list pgsql-sql

From Owen Jacobson
Subject Re: Using EXPLAIN-ANALYZE
Date
Msg-id 144D12D7DD4EC04F99241498BB4EEDCC220A9E@nelson.osl.com
Whole thread Raw
In response to Using EXPLAIN-ANALYZE  ("Kashmira Patel \(kupatel\)" <kupatel@cisco.com>)
List 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
usedare generated during VACUUM ANALYZE/VACUUM FULL operations and, under 8.1, are probably maintained by autovacuum,
butyou can always vacuum manually and see if that changes the query plan. 

-Owen


pgsql-sql by date:

Previous
From: "Kashmira Patel \(kupatel\)"
Date:
Subject: Re: Using EXPLAIN-ANALYZE
Next
From: Andrew Sullivan
Date:
Subject: Re: Using EXPLAIN-ANALYZE