Solved

How do you recover a damaged database. Just got a SQL1034C SQLSTATE=58031? Can you offer advise ASAP?

Posted on 2012-03-09
2
2,209 Views
Last Modified: 2012-03-23
Hi all,

While writing my first piece from home, I just got a call that one of my database is receiving  a Just got a SQL1034C SQLSTATE=58031 with the exciting information that The database is damaged.  All applications processing the database have been stopped.

I have no illussion as to what to do, except the thought of doing database recovery? What and how would you recommend/suggest that handle this emergency? I will like to preserve some information for diagnostic before I try to recover. What would you?

Please good people this is an emergency. So respond soon
0
Comment
Question by:Enyinnaya
2 Comments
 
LVL 4

Accepted Solution

by:
sathyaram_s earned 250 total points
ID: 37704021
Have a look at this tech note:

http://www-01.ibm.com/support/docview.wss?uid=swg21217963

See if it matches with your problem
0
 
LVL 8

Assisted Solution

by:mustaccio
mustaccio earned 250 total points
ID: 37711457
What was being done when the error happened?

The error description in the manual really says it all regarding your options:
User response

Issue a RESTART DATABASE command to recover the database. If the RESTART command consistently fails, you may want to restore the database from a backup. In a partitioned database server environment, check the syslog to find out if the RESTART command fails because of node or communication failures before restoring the database from a backup. If so, ensure the database manager is up and running and communication is available among all the nodes, then resubmit the restart command.

If you encountered this error during roll-forward processing, you must restore the database from a backup and perform roll-forward again.


All diagnostic information remains in db2diag.log and possibly in FFDC files in sqllib/db2dump.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now