Re: Using EXPLAIN-ANALYZE

Поиск
Список
Период
Сортировка
От Owen Jacobson
Тема Re: Using EXPLAIN-ANALYZE
Дата
Msg-id 144D12D7DD4EC04F99241498BB4EEDCC220A9E@nelson.osl.com
обсуждение исходный текст
Ответ на Using EXPLAIN-ANALYZE  ("Kashmira Patel \(kupatel\)" <kupatel@cisco.com>)
Список 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 по дате отправления:

Предыдущее
От: "Kashmira Patel \(kupatel\)"
Дата:
Сообщение: Re: Using EXPLAIN-ANALYZE
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Using EXPLAIN-ANALYZE