| От | hubert depesz lubaczewski |
|---|---|
| Тема | Why are there no inequality scans for ctid? |
| Дата | |
| Msg-id | 20130628083756.GA18266@depesz.com обсуждение исходный текст |
| Ответы |
Re: Why are there no inequality scans for ctid?
|
| Список | pgsql-general |
Hi,
while working on removing bloat from some table, I had to use ltos of
logic simply because there are no (idnexable) inequality scans for
ctids.
Is it because just noone thought about adding them, or are there some
more fundamental issues?
I could imagine that things like:
select * from table where ctid @ '123' could return all rows from 123rd
page, or I could:
select * from table where ctid >= '(123,0)' and ctid < '(124,0)';
Having such operators work would greatly improve bloat reducing
options.
Best regards,
depesz
--
The best thing about modern society is how easy it is to avoid contact with it.
http://depesz.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера