Re: effect on planner of turning a subquery to a table, sql function returning table

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Thierry Henrio <thierry(dot)henrio(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: effect on planner of turning a subquery to a table, sql function returning table
Date: 2024-04-12 10:58:22
Message-ID: CAApHDvrds5uuAhgQ9YChVOWLY10z88+ovrFN9=162Tw0kEXgrA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 12 Apr 2024 at 22:33, Thierry Henrio <thierry(dot)henrio(at)gmail(dot)com> wrote:
> Here is (B) execution plan:

To be able to determine if a plan is good or bad, we'd really need to
see the EXPLAIN (ANALYZE) output rather than just the EXPLAIN ouput.

To save a possible roundtrip;

SET track_io_timing = ON;
EXPLAIN (ANALYZE, BUFFERS) <the query>

David

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thierry Henrio 2024-04-12 11:27:25 Re: effect on planner of turning a subquery to a table, sql function returning table
Previous Message Daniel Gustafsson 2024-04-12 10:57:48 Re: Obsolete Linux downloads (Debian) instructions