PostgreSQL: query optimizer: viewing query plans

Поиск
Список
Период
Сортировка
От nzanella@cs.mun.ca (Neil Zanella)
Тема PostgreSQL: query optimizer: viewing query plans
Дата
Msg-id b68d2f19.0312172223.21c3f24b@posting.google.com
обсуждение исходный текст
Ответы Re: PostgreSQL: query optimizer: viewing query plans  (CoL <col@mportal.hu>)
Список pgsql-admin
Hello,

Several textbooks talk about query trees and query plans including the following
relatively recent book <http://www.oreilly.com/catalog/sqltuning/> which covers
how to apply performance tuning techniques by using knowledge about the query
optimizer to rewrite SQL queries so that they get interpreted more efficiently.

Unfortunately the book only shows how to view the query plan associated witht the
given query for Oracle, IBM DB2, and MS SQL Server. I wonder whether PostgreSQL
also has a way to let the user see the heuristically computed query plan created
by the query optimizer. Is it possible to view query plans with PostgreSQL server
and its related command line interfaces? How would I run such a command?

Thanks,

Neil

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Priya G"
Дата:
Сообщение: Help needed Please !!!!!incremental backups possible in 7.3 or 7.4?
Следующее
От: CoL
Дата:
Сообщение: Re: PostgreSQL: query optimizer: viewing query plans