Theme Graphic
Theme Graphic

SQL Database Recovery | Repair SQL Database

SQL recovery software to recover & repair corrupted MS SQL database from MSSQL Server. Support recovery of data from MS SQL 2000, 2005 &...

Subscribe

Author

Archive

Open 2010

Tags

Posted on Wednesday, March 31, 2010 at 4:47 AM

DB2 Database Corrupt While Untagging a Container


A DB2 database user can create a tablespace. A tablespace map is created automatically, and all the containers also get systematically lined up. The user can also add new containers or extend a pre-existing container using ALTER TABLESPACE command. However, if a tablespace contains container of a corrupted database (that no longer exists), then the user needs to untag that container. But, main problem occurs, when database user untags the container when it is in use. In such situations, the DB2 database gets corrupted and becomes unmountable. Furthermore, a user encounters an error message each time s/he tries to mount the database, which makes the records saved in the database inaccessible. To access the database in such situations, in case of no backup availability, a database user needs to opt for DB2 Recovery application.

To illustrate the above problem, consider a scenario wherein you create a tablespace with three containers, out of which, one is taken from a previous database. The tablespace works fine until you received below mentioned error message:

“SQL0294N The container is already in use.”

The error message flashes at the time of mounting of the database and makes the records saved in the database inaccessible.

Cause:

The above error message appears when you use a DB2untag command on a container, while it is being used by the DB2 database. In such cases, both the databases (that you are currently using and the one from which the container was taken) get corrupted.

Resolution:

To get past the above error message and to access the records, you need to:

Use a copy of a database backup to perform restoration.
In case of deficient or corrupted database backup, use a third-party DB2 Repair software.

Such DB2 Database Recoverytools use powerful, yet safe repair methods to repair the database after all cases of logical corruption. The original database remains untouched and unmodified during repair. Such software are easily understandable as they come with highly interactive and user-friendly interface.
Bookmark: Submit To Digg Submit To reddit Submit To del.icio.us Bookmark With StumbleUpon Bookmark With FaceBook Bookmark With Google Bookmarks   Share: Share By Email By Email

0 comments on "DB2 Database Corrupt While Untagging a Container"
No comments posted yet.

Leave A Comment
Subject:


Comment:
   Bold Italic Underline          Code Link Image Horizontal Rule


Because you do not have or are not logged in to your Programmer's Heaven account, please enter your name.

Name:


To help prevent comment SPAM, please enter the magic code '214' in the box:




Posting Rules
Please follow these rules when posting comments on blog posts.
  • Do not post anything that is racist, hate speech or of a sexual or adult nature.
  • Do not post or link to anything that infringes copyrighted laws.
  • Posting about security or legal topics is fine so long as you are not glorifying or encouraging people to perform illegal activities.
  • Both the author of this blog and the Programmer's Heaven administrators may delete any inappropriate comments without notice at their own discretion.
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.