Re: Query across a date range - Mailing list pgsql-performance

From Tom Lane
Subject Re: Query across a date range
Date
Msg-id 28727.1105126504@sss.pgh.pa.us
Whole thread Raw
In response to Query across a date range  (David Jaquay <djaquay@gmail.com>)
List pgsql-performance
David Jaquay <djaquay@gmail.com> writes:
> Summary: Doing a two or three table join for a date range performs
> worse than doing the same query individually for each date in the
> range.

Could we see EXPLAIN ANALYZE, not just EXPLAIN, results?

Also, have you ANALYZEd lately?  If the estimated row counts are at all
accurate, I doubt that forcing a nestloop indexscan would improve the
situation.

Also, what PG version is this?

            regards, tom lane

pgsql-performance by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Query across a date range
Next
From: David Jaquay
Date:
Subject: Re: Query across a date range