Re: A thought on Index Organized Tables - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: A thought on Index Organized Tables
Date
Msg-id 4B84FF38020000250002F5DD@gw.wicourts.gov
Whole thread Raw
In response to Re: A thought on Index Organized Tables  (Gokulakannan Somasundaram <gokul007@gmail.com>)
Responses Re: A thought on Index Organized Tables
List pgsql-hackers
Gokulakannan Somasundaram <gokul007@gmail.com> wrote:
>> With an IOT I don't understand how you get out of index
>> corruption without data loss.  That's a showstopper for practical
>> use, I think.
> 
> For simplicity, say we are storing all the non-leaf pages of the
> index in a seperate file, then the leaf pages are nothing but the
> table. So if we can replicate the table, then we can replicate the
> non-leaf pages (say by some modified version of reindex).
So you are essentially proposing that rather than moving the heap
data into the leaf tuples of the index in the index file, you will
move the leaf index data into the heap tuples?  The pages in such a
IOT heap file would still need to look a lot like index pages, yes?
I'm not saying it's a bad idea, but I'm curious what benefits you
see to taking that approach.
-Kevin


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Recent vendor SSL renegotiation patches break PostgreSQL
Next
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Un-break pg_dump for the case of zero-column tables.