Skip site navigation (1) Skip section navigation (2)

Re: planner/optimizer question

From: "Gary Doades" <gpd(at)gpdnet(dot)co(dot)uk>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: planner/optimizer question
Date: 2004-04-29 20:26:18
Message-ID: 409172FA.1509.14C7E00E@localhost (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
> 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.


In response to


pgsql-performance by date

Next:From: Roelant OssewaardeDate: 2004-04-29 20:26:40
Subject: Re: Use arrays or not?
Previous:From: Rosser SchwarzDate: 2004-04-29 20:12:29
Subject: Re: planner/optimizer question

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group