From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: JPalmer@linz.govt.nz
Cc: andy@squeakycode.net
Cc: pgsql-performance@postgresql.org
Subject: Re: Possible to improve query plan?
Date: Mon, 24 Jan 2011 12:31:44 -0500
Message-ID: <9614.1295890304@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTi=xD9hJEbtdzzaKO9eNBDSY7WZk=y6Y2KshgPF+@mail.gmail.com>
References: <4D341E6802000025000396AF@gw.wicourts.gov>
<AANLkTi=xD9hJEbtdzzaKO9eNBDSY7WZk=y6Y2KshgPF+@mail.gmail.com>
Robert Haas <robertmhaas@gmail.com> writes:
> But isn't 13.5 seconds awfully slow to scan 149557 rows?
Depends on how many physical blocks they're scattered across, which
is hard to tell from this printout. And on how many of the blocks
are already in cache, and what sort of disk hardware he's got, etc.
> Any chance this is 9.0.X? It'd be interesting to see the EXPLAIN
> (ANALYZE, BUFFERS) output for this query.
Yeah.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, Kevin.Grittner@wicourts.gov, JPalmer@linz.govt.nz, andy@squeakycode.net
Subject: Re: Possible to improve query plan?
In-Reply-To: <9614.1295890304@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox