| От | Tom Lane |
|---|---|
| Тема | Re: Still a bug in the VACUUM ??? !!! |
| Дата | |
| Msg-id | 6523.1046464854@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Still a bug in the VACUUM ??? !!! (Andreas Schmitz <a.schmitz@cityweb.de>) |
| Список | pgsql-admin |
Andreas Schmitz <a.schmitz@cityweb.de> writes:
> the vacuum seems to be ok. I discovered that the "cluster" kills the
> data for some reason.
Hmm. I'm not sure whether clustering on a GIST index is really useful
(seeing that there's no linear ordering associated with GIST). But it
shouldn't lose data.
I was able to reproduce a problem as follows: run the tsearch regression
test, then do "cluster wowidx on test_txtidx". This appears to lose
one row:
regression=# select count(*) from test_txtidx;
count
-------
502
(1 row)
regression=# cluster wowidx on test_txtidx;
CLUSTER
regression=# select count(*) from test_txtidx;
count
-------
501
(1 row)
Oleg, Teodor, can you investigate this?
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера