Re: Getting an out of memory failure.... (long email)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sean Shanny <shannyconsulting(at)earthlink(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Getting an out of memory failure.... (long email)
Date: 2004-09-28 03:49:47
Message-ID: 9826.1096343387@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sean Shanny <shannyconsulting(at)earthlink(dot)net> writes:
> -> Seq Scan on f_pageviews t1 (cost=0.00..11762857.88
> rows=1 width=8)
> Filter: ((date_key >= 610) AND (date_key <= 631))

How many rows are actually going to match that filter condition? (The
symptoms seem to indicate that the answer is "a whole lot", not "1".)

I speculate that you're overdue for an ANALYZE on this table, and that
the planner thinks this scan is going to yield no rows because the
stats it has say there are no rows with date_key >= 610.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sean Shanny 2004-09-28 03:54:32 Re: Getting an out of memory failure.... (long email)
Previous Message Michael Fuhr 2004-09-28 03:35:12 Re: Foreign key order evaluation