Http://hi.baidu.com/wader2006/blog/item/78406b60b51f8b47ebf8f8f0.html
DB2 Common Command Set----DB2 maintenance 2007-09-09 10:10 in the DB2 development process, the whole development process also has a very important part of the work is the
In the process of DB2 development, one of the most important tasks throughout the development process is the maintenance of the database, which is necessary to maintain a large information system; Leave a simple maintenance manual for a rainy year;
1. Disable db2
Db2stop or db2stop force.
In the script, write both of them to avoid using the db2stop force command, for example:
Db2stop
Db2stop force
2. Start db2
Db2start
3. Create a database
Db2 create db
Or db2 create db using codeset GBK
What should I do if an error occurs when setting the db2 primary key? The following describes how to solve the problem of not allowing you to set the db2 primary key. We hope this will help you learn how to set the db2 primary key.
Set empno as the
Therefore, this article will give some suggestions when explaining how to solve the problem in DB2 to avoid the problem. When using a database, you may encounter different problems. I personally think that the most important thing to solve the
DB2 reorgRunstats:using rmadminPerform runstats on all user tables (reorgchk plus update parameter equals Runstats)$ DB2 REORGCHK UPDATE STATISTICS on table userdoing RUNSTATS ....Reorg:In the results of the check, all tables or partitioned tables
1.DB2 database table operation error sql0668n operation not allowed for reason code "1" on table "XXXX". Solutions for sqlstate=57016 the table is in Check Pending state. The integrity of the table is not enforced and the content of the table may be
8.10 Mysql Master-Slave synchronization8.10.1 Master-Slave principleThe principle of MySQL master-slave synchronization:1. Turn on the Bin-log log on master to record some records of changes deleted on master.2, the master and slave each open IO
The specific query table definition contains specific rules related to the full query content.
The specified full query for the specific query table "" is invalid. Cause code = " ".
Note:The specific query table definition contains specific rules
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.