Re: Disk usage for intermediate results in join

From: Marti Raudsepp <marti(at)juffo(dot)org>
To: Parul Lakkad <parul(dot)lakkad(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Disk usage for intermediate results in join
Date: 2014-03-14 15:54:26
Message-ID: CABRT9RBSNMq+eWEJsp70pN95+O3B2ftypzpcfZyGevWA8bY03Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Mar 11, 2014 at 1:24 PM, Parul Lakkad <parul(dot)lakkad(at)gmail(dot)com> wrote:
> I am trying to figure out when disk is used to store intermediate results
> while performing joins in postgres.

Joins can also cause a Nested Loop+Materialize plan, which spills to
disk if the materialize result set is too large for work_mem.

Regards,
Marti

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2014-03-14 16:00:11 Re: Add CREATE support to event triggers Reply-To:
Previous Message Alvaro Herrera 2014-03-14 15:33:04 Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns