From: | Doug McNaught <doug(at)mcnaught(dot)org> |
---|---|
To: | Tiago Wright <tiagowright(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Indexed views? |
Date: | 2004-09-07 23:58:56 |
Message-ID: | 87sm9teim7.fsf@asmodeus.mcnaught.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tiago Wright <tiagowright(at)gmail(dot)com> writes:
> Yes, thanks Tom. This is precisely what I was missing. I searched the
> archives for the reason why this is so, but I found only one message
> mentioning the MVCC mechanism. Can you point me in the right
> direction? I would like to understand the issue.
Short answer: MVCC tuple visibility status isn't (and can't be) stored
in the index. So the backend has to visit the actual tuple to see if
it is visible to the transaction that is currently running.
> IMHO, a change in this area could deliver great performance improvements.
Hard to say how it would work, but come up with a good design and
quality patch and it'll probably go in. :)
-Doug
--
Let us cross over the river, and rest under the shade of the trees.
--T. J. Jackson, 1863
From | Date | Subject | |
---|---|---|---|
Next Message | chr | 2004-09-08 00:40:07 | Re: Unknown Exception (chr@active.ch) |
Previous Message | Stephan Szabo | 2004-09-07 23:57:27 | Re: Making AFTER triggers act properly in PL functions |