?
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
Medium Priority
?
2,376 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
sathyaram_s earned 1000 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 1000 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Determining the an SCCM package name from the Package ID
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.:
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month10 days, 10 hours left to enroll

765 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