| От | Tom Lane |
|---|---|
| Тема | Re: Adding a suffix array index |
| Дата | |
| Msg-id | 20500.1101678767@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Adding a suffix array index (Troels Arvin <troels@arvin.dk>) |
| Список | pgsql-hackers |
Troels Arvin <troels@arvin.dk> writes:
> What kind of (logical) block identifier should I point to in my index?
CTID (block # + line #) is the only valid pointer from an index to a
table. It doesn't change over the life of an index entry. I think
though that you'd be making a serious mistake by not duplicating the
suffixes into the index (rather than expecting to retrieve them from the
table every time, as you seem to be contemplating). You need to be able
to scan the index and identify rows matching a query without making lots
of probes into the table.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера