Re: [PERFORM] Why Index is not working on date columns.

2005-10-25 Thread Tom Lane
Kishore B <[EMAIL PROTECTED]> writes: >> I surmise that you are testing on toy tables and extrapolating to what >> will happen on larger tables. >> > These tables participating here contain more than 8 million records as of > now, and on every day, 200K records, will add to them. In that case, ha

Re: [PERFORM] Why Index is not working on date columns.

2005-10-25 Thread Kishore B
Hi Tom,   Thank you for your response.   I surmise that you are testing on toy tables and extrapolating to whatwill happen on larger tables.  These tables participating here contain more than 8 million records as of now, and on every day, 200K records, will add to them.     Thank you, Kishore.    

Re: [PERFORM] Why Index is not working on date columns.

2005-10-25 Thread Tom Lane
Kishore B <[EMAIL PROTECTED]> writes: > Can you guys please take a look at the following query and let me know why > the index is not considered in the plan? "Considered" and "used" are two different things. The two examples you give have the same estimated cost (within two decimal places) so th