Re: Indexed views?

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Indexed views?
Date: 2004-09-08 02:52:01
Message-ID: 87zn41o4ku.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Doug McNaught <doug(at)mcnaught(dot)org> writes:

> Short answer: MVCC tuple visibility status isn't (and can't be) stored
> in the index.

Well the "can't" part is false or at least unproven. From prior discussion the
only thing that would be technically challenging would be avoiding deadlocks.

The main issue raised is that storing the visibility information in the index
would incur other performance costs. It would increase the storage size of the
index and it would dramatically increase the i/o needed to maintain indexes
for updates and deletes.

So it becomes a question of performance trade-offs, as many things do.
It would be an experiment that would require a lot of work to even try,
and people are skeptical that it would really have any benefits.

--
greg

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2004-09-08 05:37:11 Re: Making AFTER triggers act properly in PL functions
Previous Message Tom Lane 2004-09-08 02:36:43 Re: Indexed views?