pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: PFC <lists@boutiquenumerique.com>
Cc: kjelle@bingon.no
Cc: pgsql-performance@postgresql.org
Subject: Re: Too slow querying a table of 15 million records
Date: Tue, 28 Jun 2005 14:14:42 -0400
Message-ID: <22415.1119982482@sss.pgh.pa.us> (raw)
In-Reply-To: <op.ss3ba3loth1vuj@localhost>
References: <19310.193.213.27.25.1119378838.squirrel@webmail.s7.itpays.net>
	<op.ss3ba3loth1vuj@localhost>

PFC <lists@boutiquenumerique.com> writes:
> 	1. Use CURRENT_TIMESTAMP (which is considered a constant by the planner)  
> instead of now()

Oh?

			regards, tom lane



view thread (6+ messages)

Message-ID: <22415.1119982482@sss.pgh.pa.us>
Permalink:  ../22415.1119982482@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22415.1119982482@sss.pgh.pa.us

 · 

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-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, lists@boutiquenumerique.com, kjelle@bingon.no
  Subject: Re: Too slow querying a table of 15 million records
  In-Reply-To: <22415.1119982482@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