Re: 9.2 and index only scans
От
Tom Lane
Тема
Re: 9.2 and index only scans
Дата
Msg-id
29925.1346164209@sss.pgh.pa.us
Ответ на
Re: 9.2 and index only scans (Thomas Kellerer)
Список
Дерево обсуждения
9.2 and index only scans Thomas Kellerer <spam_eater@gmx.net>
Re: 9.2 and index only scans Tom Lane <tgl@sss.pgh.pa.us>
Re: 9.2 and index only scans Thomas Kellerer <spam_eater@gmx.net>
Re: 9.2 and index only scans Jeff Janes <jeff.janes@gmail.com>
Re: 9.2 and index only scans Tom Lane <tgl@sss.pgh.pa.us>
Re: 9.2 and index only scans Pavel Stehule <pavel.stehule@gmail.com>
Re: 9.2 and index only scans Tom Lane <tgl@sss.pgh.pa.us>
Re: 9.2 and index only scans Pavel Stehule <pavel.stehule@gmail.com>
Re: 9.2 and index only scans Thomas Kellerer <spam_eater@gmx.net>
Re: 9.2 and index only scans Jeff Janes <jeff.janes@gmail.com>
Re: 9.2 and index only scans Thomas Kellerer <spam_eater@gmx.net>
Re: 9.2 and index only scans Martijn van Oosterhout <kleptog@svana.org>
Re: 9.2 and index only scans Thomas Kellerer <spam_eater@gmx.net>
Re: 9.2 and index only scans Tom Lane <tgl@sss.pgh.pa.us>
Re: 9.2 and index only scans Thomas Kellerer <spam_eater@gmx.net>
Re: 9.2 and index only scans Craig Ringer <ringerc@ringerc.id.au>
Re: 9.2 and index only scans Chris Travers <chris.travers@gmail.com>
Re: 9.2 and index only scans Thomas Kellerer <spam_eater@gmx.net>
Thomas Kellerer writes: > Martijn van Oosterhout, 28.08.2012 10:02: >> I'm not sure how oracle avoids the same issues: >> - The index has no visibility information, so you can't tell if an >> index entry refers to a row you can actually see in your session. >> The visibility map might help here in the future. > In Oracle an index (entry) has the information about transactional visibility. You sure about that? What I always understood about Oracle is that the main table (and by implication, also the indexes) has *only* the most up-to-date version of any row. If you want back versions, you have to go trawling for them in the rollback segments. That approach has its pluses and minuses compared to ours, but it doesn't seem to lead to keeping visibility info in the index. regards, tom lane
В списке pgsql-general по дате отправления