On 01/08/2013 06:15 PM, Kirk Wythers
wrote:
As another poster mentioned, you may want to consider partitioning the table not only for performance but also for eventual archiving/purging of the data. As long as we are looking at a variety of alternatives, appropriate construction of partial indexes and the query *might* be of value but at Tom and I mentioned previously, indexes become more of a hindrance than a help once you start writing queries that access too much of the table so the planner won't use them in those cases. Cheers, Steve |