Re: A thought on Index Organized Tables
От
Heikki Linnakangas
Тема
Re: A thought on Index Organized Tables
Дата
Msg-id
4B862DDE.7000900@enterprisedb.com
Ответ на
Re: A thought on Index Organized Tables (Gokulakannan Somasundaram)
Список
Дерево обсуждения
A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: A thought on Index Organized Tables Simon Riggs <simon@2ndQuadrant.com>
Re: A thought on Index Organized Tables "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: A thought on Index Organized Tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: A thought on Index Organized Tables Simon Riggs <simon@2ndQuadrant.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Simon Riggs <simon@2ndQuadrant.com>
Re: A thought on Index Organized Tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: A thought on Index Organized Tables Simon Riggs <simon@2ndQuadrant.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Simon Riggs <simon@2ndQuadrant.com>
Re: A thought on Index Organized Tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: A thought on Index Organized Tables Robert Haas <robertmhaas@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Robert Haas <robertmhaas@gmail.com>
Re: A thought on Index Organized Tables Karl Schnaitter <karlsch@gmail.com>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Greg Stark <gsstark@mit.edu>
Re: A thought on Index Organized Tables Simon Riggs <simon@2ndQuadrant.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Greg Stark <gsstark@mit.edu>
Re: A thought on Index Organized Tables "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Greg Stark <gsstark@mit.edu>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Greg Stark <gsstark@mit.edu>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Greg Stark <gsstark@mit.edu>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Karl Schnaitter <karlsch@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Karl Schnaitter <karlsch@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Karl Schnaitter <karlsch@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Karl Schnaitter <karlsch@gmail.com>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Greg Stark <gsstark@mit.edu>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Greg Stark <gsstark@mit.edu>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Greg Stark <gsstark@mit.edu>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: A thought on Index Organized Tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Re: A thought on Index Organized Tables Tom Lane <tgl@sss.pgh.pa.us>
Re: A thought on Index Organized Tables Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Re: A thought on Index Organized Tables Gokulakannan Somasundaram <gokul007@gmail.com>
Re: A thought on Index Organized Tables Andrew Dunstan <andrew@dunslane.net>
Re: A thought on Index Organized Tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: A thought on Index Organized Tables Greg Stark <gsstark@mit.edu>
Re: A thought on Index Organized Tables Csaba Nagy <ncslists@googlemail.com>
Re: A thought on Index Organized Tables Alvaro Herrera <alvherre@commandprompt.com>
Gokulakannan Somasundaram wrote: > a) The current WAL architecture makes sure that the WAL Log is written > before the actual page flush( i believe ). But you are changing that > architecture for Visibility maps. Visibility map might get flushed out > before the corresponding WAL gets written. Yes. When a bit is cleared, that's OK, because a cleared bit just means "you need to check visibility in the heap tuple". When a bit is set, however, it's important that it doesn't hit the disk before the corresponding heap page update. That's why visibilitymap_set() sets the LSN on the page. > b) Say for a large table, you have multiple buffers of visibility map, then > there is a chance that one buffer gets flushed to the disk and the other > doesn't. If the WAL records are not in place, then this leads to a time > inconsistent visibility map. Huh? > c) If you are going to track all the WAL linked with a buffer of visibility > map, then you need to introduce another synchronization in the critical > path. Double huh? I'd suggest that you take some time to read the code and comments in visibilitymap.c and the call sites of those functions, to get a better picture of how it works. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления