pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erik Jones <ejones@engineyard.com>
To: Rob Sargent <robjsargent@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Taking the cache out of the equation?
Date: Fri, 12 Jun 2009 15:12:57 -0700
Message-ID: <875976BE-CAC0-4F10-B7CC-0D651B109967@engineyard.com> (raw)
In-Reply-To: <4A2EA121.2070004@gmail.com>
References: <4A2EA121.2070004@gmail.com>


On Jun 9, 2009, at 10:51 AM, Rob Sargent wrote:

> Caching helps a *lot* and I'm thankful for that but I would like to  
> take it out of the picture as I massage my queries for better  
> performance.  Naturally the first invocation of the query cannot  
> take advantage of the cache and these queries would normally only be  
> called once for the same target data.    What tricks are there to  
> flush, ignore, circumvent the caching boost?  (Especially in the  
> production environment.)

Why on earth would you want your queries to always go to disk?

Erik Jones, Database Administrator
Engine Yard
Support, Scalability, Reliability
866.518.9273 x 260
Location: US/Pacific
IRC: mage2k








view thread (3+ messages)  latest in thread

Message-ID: <875976BE-CAC0-4F10-B7CC-0D651B109967@engineyard.com>
Permalink:  ../875976BE-CAC0-4F10-B7CC-0D651B109967@engineyard.com/
Also on:    postgresql.org/message-id/875976BE-CAC0-4F10-B7CC-0D651B109967@engineyard.com

 · 

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: ejones@engineyard.com, robjsargent@gmail.com
  Subject: Re: Taking the cache out of the equation?
  In-Reply-To: <875976BE-CAC0-4F10-B7CC-0D651B109967@engineyard.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