pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: Fernando Mertins <fernando.mertins@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Same stament sometime fast, something slow
Date: Wed, 05 Jan 2011 12:24:19 +1100
Message-ID: <4D23C843.8040804@postnewspapers.com.au> (raw)
In-Reply-To: <AANLkTinnMdESL8mycy6P6NWDrYPABLns0_v3Ct9Z-6Zj@mail.gmail.com>
References: <AANLkTinnMdESL8mycy6P6NWDrYPABLns0_v3Ct9Z-6Zj@mail.gmail.com>

On 01/05/2011 05:03 AM, Fernando Mertins wrote:
> Hi there, this is my first post.
>
> I have a PostgreSQL 8.3.6, compiled by Visual C++ build 1400 running on
> Windows with virtual machine
           ^^^^^^^^^^^^^^^^^^^^

What kind of VM host? where? what else is on the same host?

Your most likely culprit is I/O contention from other guests on the same 
host, possibly combined with I/O queuing policies on the host that 
favour throughput over request latency.

Checkpoints might also be a factor.

--
Craig Ringer



view thread (4+ messages)  latest in thread

Message-ID: <4D23C843.8040804@postnewspapers.com.au>
Permalink:  ../4D23C843.8040804@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4D23C843.8040804@postnewspapers.com.au

 · 

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: craig@postnewspapers.com.au, fernando.mertins@gmail.com
  Subject: Re: Same stament sometime fast, something slow
  In-Reply-To: <4D23C843.8040804@postnewspapers.com.au>

* 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