This article is a detailed summary of DB2 Common operation commands, to share with you. For the use of DB2 friends can refer to the following.
The DB2 database management client does not have a control center since the v9.7 version, but instead
Today, the customer visited (Japanese) and asked me the difference between DB2 and Oracle. Because it's not a DBA, I haven't really summed it up. But my first feeling: One is instance, one is database. Building Ora libraries and DB2 libraries is not
The command-line processor is the DB2 interface, which best embodies the power of DB2, as well as the simplicity and versatility of DB2. The author makes a detailed exposition of it through examples.0 Reviews:Blair Adamache, DB2 technology
with definition and usage-------Part of the content is reproduced and processed by finishing---------------------1.with Understanding and basic usage the WITH statement, in addition to those who first heard of the WITH statement, most people think
The following articles mainly describe the commands of the DB2 database in the linux operating system, if you are interested in the commands of the DB2 database in the linux operating system, you can click the following article to view the
Common DB2 commands
Common DB2 commandsI. Basics1. db2 connect to -- connect to the local database nameDb2 connect to user using -- connect to the remote database2. db2 force application all -- force all applications to disconnect the database3.
1. Disable DB2Db2stop or db2stop force.In the script, write both of them to avoid using the db2stop force command, for example:Db2stopDb2stop force2. Start DB2Db2start3. view the local node directoryDB2 list node directory4. cataloguing a TCP/IP
DB2 Common CommandsFirst, the basic article1. DB2 Connect to --Connect to local database nameDB2 Connect to user Using --connect to the remote database2. DB2 force application All--forcing all applications to disconnect from the database3. DB2
DB2 database commands
1. Start the database
Db2start
2. Stop the database
Db2stop
3. Connect to the database
Db2 connect to o_yd user db2 using pwd
4. Read Database Management Program Configuration
Db2 get dbm cfg
5. Write Database Management
DB2 supports the following two types of tablespaces:1. System Management Memory table space (Sms-system MANAGED STORAGE)2. Database Management Memory table space (Dms-database MANAGED STORAGE)Comparison of characteristics of SMS and DMS user table
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.