local selectivity estimation - computing frequency of predicates

From: "Avdhoot Kishore Saple" <Avdhoot_Saple(at)infosys(dot)com>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: local selectivity estimation - computing frequency of predicates
Date: 2007-04-13 08:59:30
Message-ID: 54D17EC6EF3C114693F2F8117990AAC101A10233@BLRKECMSG13.ad.infosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


Dear All.

How to compute the frequency of predicate (e.g. Salary > $70000) in an
SQL query from a DB's pre-defined indexes?". I'm specifically looking at
how to retrieve information about indices (like number of pages at each
level of index, range of attribute values etc.)

Any suggestions regarding the same would be great

Thanks,

Avdhoot K. Saple
Junior Research Associate
High Performance & Grid Computing
Infosys Technologies Ltd., Bangalore

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2007-04-13 14:13:14 Re: local selectivity estimation - computing frequency of predicates
Previous Message Andrew McMillan 2007-04-13 08:35:55 Re: Question about memory allocations