Re: add_path optimization - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: add_path optimization
Date
Msg-id 49882BC7.EE98.0025.0@wicourts.gov
Whole thread Raw
In response to Re: add_path optimization  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: add_path optimization
List pgsql-hackers
>>> I wrote:
> I tried the same run on 8.4devel and it is still running after
> 20 minutes.  I will let it cook for a while.

It's now been an hour and 30 minutes; so, while 8.4 does a much better
job of estimating how many rows will be returned, the plan it
generates is much slower for this query.

FWIW I'll attach the results of vmstat 1 below.  The machine a
replication target and is receiving a little over 100 database
transactions per second, but is otherwise fairly idle, except for this
long-running query.

-Kevin


Attachment

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Hot Standby (v9d)
Next
From: Tom Lane
Date:
Subject: Re: add_path optimization