| От | Tom Lane |
|---|---|
| Тема | Re: getting rid of SnapshotNow |
| Дата | |
| Msg-id | 4668.1374603872@sss.pgh.pa.us обсуждение |
| Ответ на | Re: getting rid of SnapshotNow (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: getting rid of SnapshotNow
|
| Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Jul 23, 2013 at 12:28 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> As far as get_actual_variable_range() is concerned, an MVCC snapshot
>> would probably be the thing to use anyway;
> That surprises me, though. I really thought the point was to cost the
> index scan, and surely that will be slowed down even by entries we
> can't see.
No, the usage (or the main usage anyway) is for selectivity estimation,
ie how many rows will the query fetch.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера