pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: Stefano Dal Pra <s.dalpra@gmail.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-performance@postgresql.org
Subject: Re: two queryes in a single tablescan
Date: Wed, 17 Oct 2007 15:15:24 +0200
Message-ID: <20071017131524.GC3237@uio.no> (raw)
In-Reply-To: <290a5abc0710170530v215cb2b0q4fa000ad43096a28@mail.gmail.com>
References: <290a5abc0710170530v215cb2b0q4fa000ad43096a28@mail.gmail.com>

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.

/* Steinar */
-- 
Homepage: http://www.sesse.net/



view thread (9+ messages)  latest in thread

Message-ID: <20071017131524.GC3237@uio.no>
Permalink:  ../20071017131524.GC3237@uio.no/
Also on:    postgresql.org/message-id/20071017131524.GC3237@uio.no

 · 

reply

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: sgunderson@bigfoot.com, s.dalpra@gmail.com, pgsql-performance@postgresql.org
  Subject: Re: two queryes in a single tablescan
  In-Reply-To: <20071017131524.GC3237@uio.no>

* 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