From: | Thomas Kellerer <spam_eater(at)gmx(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: 9.2 and index only scans |
Date: | 2012-08-28 13:43:19 |
Message-ID: | k1ihtl$7mq$1@ger.gmane.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Craig Ringer, 28.08.2012 15:04:
>> In Oracle an index (entry) has the information about transactional visibility.
>
> Wow. Doesn't that mean that indexes are insanely expensive to update,
> since each index (and possibly also the table its self) needs
> updating?
>
No, I don't think so.
It's the same mechanism that is used to maintain visibility for table rows.
This information is part of the database block. Blocks for indexes are treated the same way as blocks for tables, so it's a uniform implementation.
It's maintained in a structure called "ITL" (Interested Transaction List) but I think this is getting a bit off-topic now ;)
If you are interested, this is documented in the Oracle concepts manual: http://docs.oracle.com/cd/E11882_01/server.112/e25789/consist.htm
Thomas
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2012-08-28 13:44:00 | Re: FGS - Postgresql server install |
Previous Message | José Pedro Santos | 2012-08-28 13:31:54 | FGS - Postgresql server install |