Strange phenomenon

Поиск
Список
Период
Сортировка
От Martial Braem
Тема Strange phenomenon
Дата
Msg-id 16A9FB339EF0024C80FD6D1910268C7F0209338E@apps18.ap2.local
обсуждение исходный текст
Ответы Re: Strange phenomenon  (Szymon Guz <mabewlun@gmail.com>)
Re: Strange phenomenon  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Strange phenomenon  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-general

Hi,

 

I am a Java developer, using PostgreSQL as a database.

Recently I observed a strange phenomenon:

1)      The database has some tables where I store my application data. I have an additional table, with no relation to any other table, just for logging purposes. In the database, a sequence is defined too.

2)      On day one, I store data in my application data tables and in the logging table (transactional data). At the end of the day, I extract the data from the database for daily reporting (the ultimate proof that the transactions are actually committed). No problem there

3)      On day two, three, four and five, similar actions are taken

4)      On day six, there’s no trace of any data from day two to day five, except that the sequence, used in the application has not been reset. Except for the sequence, it looks like the database was reverted to the state of day one.

Does this sound absurd or is this in any way possible? My application does not contain any delete statements, and because of the reporting, I know that the data was once in the database.

Can anyone explain this phenomenon?

 

Thanks

В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Segfault : PostgreSQL 9.0.0 and PgPool-II.
Следующее
От: Nick
Дата:
Сообщение: Re: It it possible to get this result in one query?