Re: [HACKERS] Improving the Performance of Full Table Updates

2007-10-07 Thread Gokulakannan Somasundaram
Hi Heikki, Finally i found some time to look more into the CRC code. The time is mostly taken when there is a back-up block in the XLOG structure. when it calculates the CRC for the entire block(there is some optimization already for the holes), the time is spent on the CRC macro. I trie

[HACKERS] Including Snapshot Info with Indexes

2007-10-07 Thread Gokulakannan Somasundaram
Hi, Currently The index implementation in Postgresql does not store the Snapshot information in the Index. If we add the snapshot information into the indexing structure, we will have the following advantages. a) There can be index only scans like Oracle b) Unique indexes will become less cost