|
Пропали данные
|
|||
---|---|---|---|
#18+
Здравствуйте. Возникла такая проблема - есть база Postgresql 8.3, win 7 x32. Все работало нормально годами, и вдруг пропали все данные. Смотрю в pgAdmin - структура базы целая, все таблицы на месте, вроде бы все функции и вьюшки тоже. А открываю любую таблицу на просмотр - она пустая. Таблиц 30 штук, и все пустые. Пользователь говорит, что "глючила дата, мне надоело, и я решила перезагрузить компьютер. После чего все пропало". Вроде бы нашел каталог с данной базой в data\base, его размер ~30Мб. Пробовал переиндексировать - не помогает, а размер каталога падает до ~6Мб. В каталоге pg_xlog - 8 файлов. В каталоге pg_log - 2 лога за этот период 2016-12-26 07:41:13 MSK LOG: loaded library "$libdir/plugins/plugin_debugger.dll" 2016-12-26 12:47:20 MSK LOG: loaded library "$libdir/plugins/plugin_debugger.dll" 2016-12-26 14:06:15 MSK LOG: received fast shutdown request 2016-12-26 14:06:15 MSK LOG: aborting any active transactions 2016-12-26 14:06:15 MSK FATAL: terminating connection due to administrator command 2016-12-26 14:06:15 MSK LOG: autovacuum launcher shutting down 2016-12-26 14:07:14 MSK LOG: database system was interrupted; last known up at 2016-12-26 13:55:09 MSK 2016-12-26 14:07:14 MSK LOG: database system was not properly shut down; automatic recovery in progress 2016-12-26 14:07:14 MSK LOG: loaded library "$libdir/plugins/plugin_debugger.dll" 2016-12-26 14:07:14 MSK FATAL: the database system is starting up 2016-12-26 14:07:14 MSK LOG: redo starts at 0/18EE9D68 2016-12-26 14:07:14 MSK LOG: record with zero length at 0/18EFB678 2016-12-26 14:07:14 MSK LOG: redo done at 0/18EFB648 2016-12-26 14:07:14 MSK LOG: last completed transaction was at log time 2016-12-26 13:59:33.387+03 2016-12-26 14:07:15 MSK LOG: database system is ready to accept connections 2016-12-26 14:07:15 MSK LOG: autovacuum launcher started 2016-12-26 14:07:15 MSK LOG: loaded library "$libdir/plugins/plugin_debugger.dll" 2016-12-26 14:09:14 MSK LOG: loaded library "$libdir/plugins/plugin_debugger.dll" 2016-12-26 14:14:31 MSK LOG: checkpoints are occurring too frequently (2 seconds apart) 2016-12-26 14:14:31 MSK HINT: Consider increasing the configuration parameter "checkpoint_segments". 2016-12-26 14:14:32 MSK LOG: checkpoints are occurring too frequently (1 seconds apart) 2016-12-26 14:14:32 MSK HINT: Consider increasing the configuration parameter "checkpoint_segments". 2016-12-26 14:14:44 MSK LOG: loaded library "$libdir/plugins/plugin_debugger.dll" 2016-12-26 14:15:04 MSK LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 2016-12-26 14:15:04 MSK LOG: unexpected EOF on client connection 2016-12-26 14:15:08 MSK LOG: received fast shutdown request 2016-12-26 14:15:08 MSK LOG: aborting any active transactions 2016-12-26 14:15:08 MSK LOG: autovacuum launcher shutting down 2016-12-26 14:15:13 MSK LOG: shutting down 2016-12-26 14:15:13 MSK LOG: database system is shut down С Postgresql я знаком поскольку-постольку, где еще можно покопать - без идей. Можно ли как-то восстановить данные, или уже нет? Уж очень не хотелось бы восстанавливать из бэкапа, которому больше месяца. Заранее благодарен за советы. ... |
|||
:
Нравится:
Не нравится:
|
|||
27.12.2016, 03:39 |
|
Пропали данные
|
|||
---|---|---|---|
#18+
Володя7033, Сделайте копию в отдельном месте и попробуйте https://github.com/omniti-labs/pgtreats/tree/master/contrib/pg_dirtyread ... |
|||
:
Нравится:
Не нравится:
|
|||
27.12.2016, 14:53 |
|
|
start [/forum/topic.php?fid=53&fpage=80&tid=1996787]: |
0ms |
get settings: |
11ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
42ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
33ms |
get tp. blocked users: |
2ms |
others: | 350ms |
total: | 469ms |
0 / 0 |