Skip site navigation (1) Skip section navigation (2)

Re: Why Index is not working on date columns.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kishore B <kishorebh(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Why Index is not working on date columns.
Date: 2005-10-25 18:01:04
Message-ID: 18598.1130263264@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
Kishore B <kishorebh(at)gmail(dot)com> 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, have you ANALYZEd the tables lately?  The planner's cost
estimates correspond to awfully small tables ...

			regards, tom lane

In response to

pgsql-performance by date

Next:From: Rich DoughtyDate: 2005-10-25 18:28:34
Subject: Re: Outer join query plans and performance
Previous:From: Merlin MoncureDate: 2005-10-25 17:02:20
Subject: Re: impact of stats_command_string

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group