DB2 SQL0902C solution instance

Source: Internet
Author: User

DB2 SQL0902C solution instance

On Sunday, when the development environment archives and deletes the database, after the database is restarted, the database cannot be opened, and the database will be restored in the future because it is the development environment, they are also unconsciously messing up and eventually lead to complete chaos at the scene, finally requesting technical support, after I back up the database online on another host, I plan to restore DB2 on this host. SQL0902C A system error (reason code = "8") occurred is encountered. subsequent SQL reports an error. The DB2 database version is the same, and the backup file is normal through db2ckbtp detection. Only the source end is AIX 7, 1, and the target end is 5.3. it was suspected that it was an operating system problem. The final solution was to drop the database on the target end, and the information in the uncatalog directory, and specify the directory parameters after the on in the restore to a specific directory, the database is restored completely.

Db2 "restore db cmsdb from [path name] on/db2data/db2inst1/abcdb logtarget/tmp/logs replace existing redirect"

When dropping the database, SQL30061N indicates that the specified ABCDB does not exist.

Db2 drop database abcdb

The abcdb entry is still visible when the db2 list db directory is found,

After the db2 uncatalog database abcdb is used, the abcdb entry disappears, and the above DB2 recovery work can proceed.

DB2 database performance adjustment and optimization (1st and 2) PDF

DB2 database performance optimization

DB2 9.7 for Linux 5.4 Installation Steps

This article permanently updates the link address:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.