Re: planner/optimizer question - Mailing list pgsql-performance

From Christopher Kings-Lynne
Subject Re: planner/optimizer question
Date
Msg-id 408F576E.1080504@familyhealth.com.au
Whole thread Raw
In response to Re: planner/optimizer question  ("Gary Doades" <gpd@gpdnet.co.uk>)
Responses Re: planner/optimizer question
List pgsql-performance
> Why is there an entry in the index for a row if the row is not valid?
> Wouldn't it be better for the index entry validity to track the row validity.
> If a particular data value for a query (join, where etc.) can be satisfied
> by the index entry itself this would be a big performance gain.

For SELECTs, yes - but for INSERT, UPDATE and DELETE it would be a big
performance loss.

Chris


pgsql-performance by date:

Previous
From: "Gary Doades"
Date:
Subject: Re: planner/optimizer question
Next
From: "Gary Doades"
Date:
Subject: Re: planner/optimizer question