| От | Andrew Hall |
|---|---|
| Тема | Lost rows/data corruption? |
| Дата | |
| Msg-id | 010d01c50a42$46487480$5001010a@bluereef.local обсуждение |
| Ответы |
Re: Lost rows/data corruption?
|
| Список | pgsql-general |
Hello, We have a long running DB application using PG7.4.6. We do a VACUUM FULL every night and a normal 'maintenance' VACUUM every hour. We do nothing with any indexes. Every now and then we get errors from the database whereby an update will fail on a table saying that there is duplicate violation on a primary keyed row. Theoretically this is impossible as the constraint should prevent any duplication, ever. When the next vacuum is run, we see an error saying that there are more rows than the database can account for (or words to that effect) and we should either REINDEX or TRUNCATE the table. Firstly, how and why could this be happening, and above all how, do we prevent it. Thanks and regards, Andrew.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера