Re: Too slow querying a table of 15 million records

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: PFC <lists(at)boutiquenumerique(dot)com>
Cc: kjelle(at)bingon(dot)no, pgsql-performance(at)postgresql(dot)org
Subject: Re: Too slow querying a table of 15 million records
Date: 2005-06-28 18:14:42
Message-ID: 22415.1119982482@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

Oh?

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Jean-Max Reymond 2005-06-28 18:47:27 Re: perl garbage collector
Previous Message Sam Mason 2005-06-28 17:42:05 Re: tricky query