pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gary Doades <gpd@gpdnet.co.uk>
To: pgsql-performance@postgresql.org
Subject: Re: planner/optimizer question
Date: Thu, 29 Apr 2004 21:26:18 +0100
Message-ID: <409172FA.1509.14C7E00E@localhost> (raw)
In-Reply-To: <003101c42e26$4c384e90$2500fa0a@CardServices.TCI.com>
References: <409153EF.24647.144E9BF7@localhost>


> It's also entirely possible your indices are using inaccurate
> statistical information.  Have you ANALYZEd recently?
> 

In this example the statistics don't matter. The plans used were the same for 
MSSQL and Postgres. I was trying to eliminate the difference in plans 
between the two, which obviously does make a difference, sometimes in 
MSSQL favour and sometimes the other way round. Both systems, having 
decided to do the same index scan, took noticably different times. The 
Postgres database was fully vacuumed and analysed anyway.

I agree about MSSQL recovery time. it sucks. This is why they are making a 
big point about the improved recovery time in "yukon". Although the recovery 
time is important, I see this as an exception, whereas at the moment I am 
interested in the everyday.

Cheers,
Gary.




view thread (37+ messages)  latest in thread

Message-ID: <409172FA.1509.14C7E00E@localhost>
Permalink:  ../409172FA.1509.14C7E00E@localhost/
Also on:    postgresql.org/message-id/409172FA.1509.14C7E00E@localhost

 · 

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: gpd@gpdnet.co.uk
  Subject: Re: planner/optimizer question
  In-Reply-To: <409172FA.1509.14C7E00E@localhost>

* 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