Re: [HACKERS] functions to obtain query plan - Mailing list pgsql-general

From Michael Glaesemann
Subject Re: [HACKERS] functions to obtain query plan
Date
Msg-id F81EBB9B-67EF-48CD-B2F9-C99E208ACBA9@seespotcode.net
Whole thread Raw
List pgsql-general
On Apr 21, 2007, at 4:46 , sharath kumar wrote:

> For a particular query, are there any functions which can give me
> the start-up cost, total run-cost, number of rows and width?

-hackers is a list for discussion of development of PostgreSQL
itself. Your question would probably be more appropriate in -general
(which I am cc'ing) or perhaps -performance.

I believe EXPLAIN ANALYZE will provide what you're looking for. The
PostgreSQL documentation is a good place to get started:

http://www.postgresql.org/docs/8.2/interactive/sql-explain.html
http://www.postgresql.org/docs/8.2/interactive/performance-tips.html

Hope this helps.

Michael Glaesemann
grzm seespotcode net



pgsql-general by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: Modify existing index
Next
From: Richard Doust
Date:
Subject: Regular Expression Data Type