Re: Bug? Query plans / EXPLAIN using gigabytes of memory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Toby Corkindale <toby(dot)corkindale(at)strategicdata(dot)com(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Bug? Query plans / EXPLAIN using gigabytes of memory
Date: 2012-04-30 02:45:54
Message-ID: 1988.1335753954@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Toby Corkindale <toby(dot)corkindale(at)strategicdata(dot)com(dot)au> writes:
> I'm still curious about why I can do a SELECT * FROM complexview without
> using much memory, but an UPDATE foo FROM complexview causes all the
> memory to get exhausted?

The former only requires the complexview to get planned once.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Toby Corkindale 2012-04-30 02:48:59 Re: Bug? Query plans / EXPLAIN using gigabytes of memory
Previous Message Rob Sargentg 2012-04-30 01:26:49 Re: Bug? Query plans / EXPLAIN using gigabytes of memory