Re: difficulties with time based queries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rainer Mager" <rainer(at)vanten(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: difficulties with time based queries
Date: 2009-04-10 05:20:45
Message-ID: 14161.1239340845@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Rainer Mager" <rainer(at)vanten(dot)com> writes:
> So, I need indices that make it fast querying against start_time as well as
> all possible combinations of channel, player, and ad.

There's some general principles in the manual --- have you read
http://www.postgresql.org/docs/8.3/static/indexes.html
especially 11.3 and 11.5?

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Josh Berkus 2009-04-10 05:41:47 Re: Using IOZone to simulate DB access patterns
Previous Message Greg Smith 2009-04-09 23:59:41 Re: Nested query performance issue