Re: [9.1] unusable for large views

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Omar Bettin" <o(dot)bettin(at)informaticaindustriale(dot)it>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [9.1] unusable for large views
Date: 2011-10-24 14:46:21
Message-ID: 1310.1319467581@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Omar Bettin" <o(dot)bettin(at)informaticaindustriale(dot)it> writes:
> I have tried 9.1.1 win64 version and when I am trying to declare a cursor
> for a very large view (lot of joins and aggregate functions),

> postgres is using around 3GB of memory and the query never returns.

Could we see a self-contained test case? I'm not about to try to
reverse-engineer the schema that goes with such a monster query.

http://wiki.postgresql.org/wiki/Guide_to_reporting_problems

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-10-24 14:51:07 Re: So, is COUNT(*) fast now?
Previous Message Tom Lane 2011-10-24 14:36:55 Re: autovacuum and orphaned large objects