Power cut and performance problem

From: "Daniel Caune" <daniel(dot)caune(at)ubisoft(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Power cut and performance problem
Date: 2006-03-20 23:19:43
Message-ID: 1E293D3FF63A3740B10AD5AAD88535D201D30769@UBIMAIL1.ubisoft.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

We had a power cut lastly and it seems that our PostgreSQL database
suffers from performance since. For example, a simple query such as
"SELECT MIN(a-primary-key-column) FROM a-table" takes quite a very long
time; actually I gave up before getting the result.

I shutdown and started up the database, and I took at the log file; I
don't see any fatal error:

LOG: database system was interrupted at 2006-03-20 22:20:22 GMT
LOG: checkpoint record is at 10C/14919ED4
LOG: redo record is at 10C/1487E270; undo record is at 0/0; shutdown
FALSE
LOG: next transaction ID: 166159120; next OID: 41575
LOG: next MultiXactId: 1; next MultiXactOffset: 0
LOG: database system was not properly shut down; automatic recovery in
progress
LOG: redo starts at 10C/1487E270
LOG: incomplete startup packet
FATAL: the database system is starting up
FATAL: the database system is starting up
FATAL: the database system is starting up
FATAL: the database system is starting up
FATAL: the database system is starting up
FATAL: the database system is starting up
FATAL: the database system is starting up
FATAL: the database system is starting up
FATAL: the database system is starting up
FATAL: the database system is starting up
FATAL: the database system is starting up
LOG: record with zero length at 10C/14CF39F0
LOG: redo done at 10C/14CF39B4
LOG: database system is ready
LOG: transaction ID wrap limit is 2147484146, limited by database
"postgres"
LOG: incomplete startup packet
LOG: received fast shutdown request
LOG: shutting down
LOG: database system is shut down
LOG: database system was shut down at 2006-03-20 22:30:09 GMT
LOG: checkpoint record is at 10C/14CF3A34
LOG: redo record is at 10C/14CF3A34; undo record is at 0/0; shutdown
TRUE
LOG: next transaction ID: 166159788; next OID: 41575
LOG: next MultiXactId: 1; next MultiXactOffset: 0
LOG: database system is ready
LOG: transaction ID wrap limit is 2147484146, limited by database
"postgres"
LOG: incomplete startup packet
LOG: autovacuum: processing database "postgres"
LOG: incomplete startup packet
LOG: received fast shutdown request
LOG: shutting down
LOG: database system is shut down
LOG: database system was shut down at 2006-03-20 22:31:24 GMT
LOG: checkpoint record is at 10C/14CF3A78
LOG: redo record is at 10C/14CF3A78; undo record is at 0/0; shutdown
TRUE
LOG: next transaction ID: 166159796; next OID: 41575
LOG: next MultiXactId: 1; next MultiXactOffset: 0
LOG: database system is ready
LOG: transaction ID wrap limit is 2147484146, limited by database
"postgres"
LOG: autovacuum: processing database "postgres"
LOG: incomplete startup packet

Where can I check, please? Is it more likely a hardware problem (the
machine seems ok, no error detected)?

Regards,

--
Daniel CAUNE
Ubisoft Online Technology
(514) 4090 2040 ext. 5418

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jeff Frost 2006-03-20 23:27:24 Re: Power cut and performance problem
Previous Message Tom Lane 2006-03-20 22:40:03 Re: have you feel anything when you read this ?