pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Magnus Hagander <mha@sollentuna.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David Brown <time@bigpond.net.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: Planner really hates nested loops
Date: Thu, 3 Feb 2005 23:39:44 -0500 (EST)
Message-ID: <200502040439.j144dj528565@candle.pha.pa.us> (raw)
In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCE4767B0@algol.sollentuna.se>

Magnus Hagander wrote:
> > > I'm hoping someone can shed some light on these results.
> > 
> > Not without a lot more detail on how you *got* the results.  
> > What exactly did you do to force the various plan choices?  
> > (I see some ridiculous choices of indexscans, for instance, 
> > suggesting improper use of enable_seqscan in some cases.)  
> > And what's the "cache rows" and "disk rows" stuff, and how do 
> > you know that what you were measuring is actually what you 
> > think it is?  I have zero confidence in Windows-atop-ATA as a 
> > platform for measuring disk-related behaviors, because I 
> > don't think you can control or even know what caching is going on.
> 
> You can control the writeback-cache from Device Manager->(the
> disk)->Policies. And if that is turned off, fsync definitly should write
> through, just as on *nix. (write-cache is on by default, no surprise)
> 
> AFAIK, you can't control what is cached for reading.

Are you saying that fsync() doesn't write to the platters by default on
Win32?

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (6+ messages)

Message-ID: <200502040439.j144dj528565@candle.pha.pa.us>
Permalink:  ../200502040439.j144dj528565@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200502040439.j144dj528565@candle.pha.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: pgman@candle.pha.pa.us, mha@sollentuna.net, tgl@sss.pgh.pa.us, time@bigpond.net.au
  Subject: Re: Planner really hates nested loops
  In-Reply-To: <200502040439.j144dj528565@candle.pha.pa.us>
  References: <6BCB9D8A16AC4241919521715F4D8BCE4767B0@algol.sollentuna.se> <200502040439.j144dj528565@candle.pha.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