From: Heikki Linnakangas <heikki@enterprisedb.com>
To: Stefano Dal Pra <s.dalpra@gmail.com>
To: pgsql-sql@postgresql.org
To: pgsql-performance@postgresql.org
Subject: Re: two queryes in a single tablescan
Date: Wed, 17 Oct 2007 14:39:50 +0100
Message-ID: <471610A6.7070505@enterprisedb.com> (raw)
In-Reply-To: <20071017131524.GC3237@uio.no>
References: <290a5abc0710170530v215cb2b0q4fa000ad43096a28@mail.gmail.com>
<20071017131524.GC3237@uio.no>
Steinar H. Gunderson wrote:
> On Wed, Oct 17, 2007 at 02:30:52PM +0200, Stefano Dal Pra wrote:
>> The main goal would be to get multiple results while scanning the
>> table[s] once only
>> thus getting results in a faster way.
>
> In 8.3, Postgres will do this for you itself -- if you already have a
> sequential scan running against a given table, another one starting in
> parallel will simply piggyback it.
You'd have to run the seq scans at the same time, from two different
backends, so it's not going to help here.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
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-sql@postgresql.org
Cc: heikki@enterprisedb.com, s.dalpra@gmail.com, pgsql-performance@postgresql.org
Subject: Re: two queryes in a single tablescan
In-Reply-To: <471610A6.7070505@enterprisedb.com>
* 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