[pgsql-jp: 37550] template1に対するvacuum

Morita Kazuro morita @ yuki.ad.jp
2006年 9月 17日 (日) 21:52:48 JST


森田と申します。お世話になっております。

本日急にpostgresにアクセスできなくなって、再起動もできなくなりました。
ログを見ましたら次のようなものが出ておりました。

LOG:  database system was shut down at 2006-09-17 21:05:08 JST
LOG:  checkpoint record is at 3BC/8C3BBBAC
LOG:  redo record is at 3BC/8C3BBBAC; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 2146484146; next OID: 1468689963
LOG:  next MultiXactId: 1; next MultiXactOffset: 0
LOG:  database system is ready
LOG:  transaction ID wrap limit is 2147484146, limited by database "postgres"
WARNING:  database "postgres" must be vacuumed within 1000000 transactions
HINT:  To avoid a database shutdown, execute a full-database VACUUM in "postgres".
FATAL:  database is not accepting commands to avoid wraparound data loss in database "postgres"
HINT:  Stop the postmaster and use a standalone backend to vacuum database "postgres".

ログの指示に従って postgresを起動して template1 に対して vacuum したらなおったんですが、
これはいったいなにが起こったんでしょうか? 原因などを御教えいただけないでしょうか?




pgsql-jp メーリングリストの案内