Re: Rows missing from table despite FK constraint

Поиск
Список
Период
Сортировка
Искать
От
Konrad Garus
Тема
Re: Rows missing from table despite FK constraint
Дата
Msg-id
6645f6441001080343l23a95320l104ddbe556e34dce@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Alban Hertroys <dalroi@solfertje.student.utwente.nl>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Tom Lane <tgl@sss.pgh.pa.us>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Tom Lane <tgl@sss.pgh.pa.us>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Tom Lane <tgl@sss.pgh.pa.us>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Tom Lane <tgl@sss.pgh.pa.us>
Re: Rows missing from table despite FK constraint Tom Lane <tgl@sss.pgh.pa.us>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Tom Lane <tgl@sss.pgh.pa.us>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Alvaro Herrera <alvherre@commandprompt.com>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Tom Lane <tgl@sss.pgh.pa.us>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Tom Lane <tgl@sss.pgh.pa.us>
Re: Rows missing from table despite FK constraint Alban Hertroys <dalroi@solfertje.student.utwente.nl>
Re: Rows missing from table despite FK constraint Tom Lane <tgl@sss.pgh.pa.us>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Adrian Klaver <adrian.klaver@gmail.com>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Tom Lane <tgl@sss.pgh.pa.us>
Re: Rows missing from table despite FK constraint Guillaume Lelarge <guillaume@lelarge.info>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
Re: Rows missing from table despite FK constraint "Albe Laurenz" <laurenz.albe@wien.gv.at>
Re: Rows missing from table despite FK constraint Konrad Garus <konrad.garus@gmail.com>
2010/1/8 Alban Hertroys :

> You seem to have lost the actual data, not the index entries pointing to it, or a sequential scan (eg. pg_dump) would still have found your rows.

I agree.

> What kind of file-system is the affected table on? - and while we're at it, what OS/Distribution and version? Is your data on some kind of RAID array? If so, what type (hardware/software, RAID type)?

It's ext3 on a hardware RAID1. The array is in perfect condition,
according to its diag tool. The OS is Ubuntu 8.04. The exact PG
version is 8.3.8.

> I get the impression the data you lost and the data around it hasn't been written to in a long time; it wouldn't surprise me if your problem would have been caused by a bad sector on a disk, but that depends on how reliable your storage is set up to be.

You are correct about the first point. It's a write-only table with
thousands of inserts daily, and the lost rows were written 7 months
ago.

-- 
Konrad Garus
В списке pgsql-general по дате отправления
От: Glyn Astill
Дата:
Сообщение: Re: Server name in psql prompt
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: Server name in psql prompt
FAQ