Database Inconsistency Causes Data Loss in DB2 Database

Posted: Jan 13, 2011 |Comments: 0 | Views: 174 |

DB2 is a popular enterprise RDBMS (Relational Database Management System) that offers a robust and reliable database. It has a high-availability database that ensures accessibility of your valuable data in a competitive environment. Since DB2 database contains all your significant and business critical data, it is extremely important that your database must be consistent, both physically and logically. If the database becomes inconsistent due to any reasons, you encounter severe data loss and you need to opt for DB2 database recovery solutions.

DB2 database has a number of components, which are responsible for ensuring consistency of the database and transaction is one among them. Database transactions may unexpectedly get interrupted, causing database inconsistency. If transactions are interrupted before completion of all the database modifications, it becomes unusable and inconsistent.

You can check the consistency and structural correctness of the database using db2dart utility. It is a command-line tool that helps you check the database corruption. When you try to check database consistency using this utility and attempt to recover DB2 database, you may encounter any of the below error messages-

  • "The database state is not consistent."
  • "Found some orphaned extent numbers in a DMS user tablespace"
  • "Errors reported about reorg rows may be due to the
    inconsistent state of the database."

Cause

You may encounter this problem due to inconsistency of the database. It usually occurs because of incomplete database transactions. It does not always occur due to database corruption, but still it is possible that database corruption can cause the above errors. Corruption could be the outcome of virus infection, improper system shutdown, application malfunction, and other similar reasons.

Resolution

You can recover DB2 data using any of the below steps-

  • Run RESTART DATABSE command to rollback entire process. You are required to specify the WRITE RESUME parameter with this command if input/output operation of the database was suspended.
  • If above method does not work, restore database from backup. To ensure complete DB2 recovery, the backup must be valid and updated.
  • In case none of the above methods work, DB2 database recovery software come for your help.

DB2 recovery tools methodically scan whole database and extract all inaccessible data from it. They enable you to recover DB2 database in safe and easy way with read-only conduct and simple user interface.

Stellar Phoenix DB2 Recovery is the most efficient solution to recover DB2 data after corruption. This DB2 repair software works in all cases of corruption.

Questions and Answers

Ask
200 Characters left
Rate this Article
  • 1
  • 2
  • 3
  • 4
  • 5
  • 0 vote(s)
    Feedback
    Print
    Re-Publish
    Source:  http://www.articlesbase.com/data-recovery-articles/database-inconsistency-causes-data-loss-in-db2-database-4027407.html

    Article Tags:

    db2 recovery

    ,

    db2 repair recover db2

    ,

    recover db2 database

    Tanvi Sharma

    DB2 is a database server application, which runs on LINUX, UNIX, IBM i and Windows operating system based servers. The DB2 database stores data in various table spaces, spanning across multiple containers.

    By: Tanvi Sharmal Computers> Data Recoveryl Feb 11, 2011
    Tanvi Sharma

    DB2, the relational database product by IBM has a long history and is considered as the first database, which has used SQL. Though during the initial years, DB2 was available only in IBM Mainframes, later it worked with all the other platforms, including LINUX, Windows, OS/2, UNIX etc.

    By: Tanvi Sharmal Computers> Data Recoveryl Feb 01, 2011 lViews: 163
    Tanvi Sharma

    IBM DB2 is popularly known as DB2 - is a relational database developed by IBM. This was the first database, which incorporated the Structured Query Language or SQL. DB2 can be accessed through a graphical user interface or from the command-line.

    By: Tanvi Sharmal Computers> Data Recoveryl Feb 07, 2011
    Mark Willium

    Are you receiving an error message while taking a DB2 database backup? Or an error message pops up while restoring the database backup? If the answer for any of the above questions is 'yes', then there are possibilities of DB2 database corruption.

    By: Mark Williuml Computers> Databasesl Apr 30, 2010 lViews: 173
    Tanvi Sharma

    DB2 is an enterprises RDBMS (Relations Database Management System) that offers efficient data safety and high-availability of your precious data. It stores the data in tables. The database tables are further stored in the table space. If the table space gets damaged due to any reason, then all the tables become inaccessible.

    By: Tanvi Sharmal Computers> Data Recoveryl Jan 07, 2011 lViews: 202
    Mark Willium

    In the DB2 databases, there is the concept of 'automatic storage' database using which the database automatically grows whenever the need arises to do so. This feature can save you the hassles of managing the storage containers thereby improving the flexibility and performance of the database.

    By: Mark Williuml Computers> Data Recoveryl Sep 16, 2010 lViews: 161

    An Outlook .ost file is playing a major role in providing effective communication and managing user's data by Microsoft Outlook e-mail client.

    By: christa123l Computers> Data Recoveryl Jun 02, 2012

    The main issue with office based systems is the day-to-day running costs, with servers needing to be updated on a daily basis, and unless you employ an I.T. manager then running a server can be a costly business.

    By: mowbel Computers> Data Recoveryl Jun 01, 2012

    Accidently deleted your precious data from your iPod Classic? Don't panic. All you need is Photo Recovery for Win when you lose files from your iPod Classic. Follow this guide to do iPod classic recovery only by a few clicks.

    By: a357271913l Computers> Data Recoveryl May 30, 2012

    Accidently deleted your precious files from your memory card? Don't panic. All you need is Photo Recovery for Win when you lose files from your card. Follow this guide to get back your card memory only by a few clicks.

    By: a357271913l Computers> Data Recoveryl May 29, 2012

    Hard drives nowadays are becoming problematic and no matter whatever brand hard drive you use, it has been seen that clicking sounds are coming out of every second hard drive. If you think that you having a Hitachi, Seagate, western digital or any other hard drive would not cause this problem, then you are only in blue.

    By: hdrconlinel Computers> Data Recoveryl May 29, 2012
    Tanvi Sharma

    An invalid page fault is a small memory glitch caused when a program or operating system tries to call or use a segment of computer's memory that is mapped in the virtual address space, but does not exists in the physical memory.

    By: Tanvi Sharmal Computers> Data Recoveryl Mar 29, 2012
    Tanvi Sharma

    Microsoft has provided us a SharePoint that performs web publishing, collaboration, and even shares a file with much ease. Now, it is not tough to develop tools for blogs, business intelligence, Intranet, content management, portals and web sites.

    By: Tanvi Sharmal Computers> Data Recoveryl Mar 17, 2011
    Tanvi Sharma

    DBF format is the de facto standard for storing data and is supported by many database management systems, such as dBase II, dBase III, dBase IV, dBase V, and MS Visual FoxPro.

    By: Tanvi Sharmal Computers> Data Recoveryl Mar 04, 2011
    Tanvi Sharma

    Microsoft SharePoint Server lets you create Server Farms to collaborate the services it offers. Server Farm is a collection of various SharePoint services and even more than one SharePoint Servers.

    By: Tanvi Sharmal Computers> Data Recoveryl Feb 21, 2011
    Tanvi Sharma

    Microsoft SharePoint Server uses MS SQL Server database, which is extremely powerful and advanced. However, under some situations, this database may become inaccessible due to logical corruption and lead to severe data loss.

    By: Tanvi Sharmal Computers> Data Recoveryl Feb 18, 2011 lViews: 129

    Discuss this Article

    Author Box
    Articles Categories
    All Categories
    Quantcast