After several days, I have completed HADR. Next, let's share it with you.
System Environment:
OS: SUSE 11sp1-64bit
DB: db29.7.0.5
DB2server1: 192.168.5.151 db2inst1
DB2server2: 192.168.5.152 db2inst2
Steps:
Operations on DB2server1:
Db2inst1 @
Comparison of concurrency control (LOCK) between DB2 and Oracle
Comparison of concurrency control (LOCK) between DB2 and Oracle
1 Introduction
The minimal recovery and transaction units in relational databases (DB2, Oracle, Sybase, Informix, and
1 Introduction
The minimal recovery and transaction units in relational databases (DB2, Oracle, Sybase, Informix, and SQL Server) are a transaction (Transactions). Transactions are ACID (atomicity, consistency, isolation, and durability) feature. In
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 Introduction
In relational databases (Db2,oracle,sybase,informix and SQL Server) the smallest recovery and transaction units are one transaction (transactions), and transactions have acid (atomicity, consistency, isolation, and permanence)
I feel that the answers to many basic questions can be obtained through the help of DB2, because DB2 itself has very detailed help information after installation, so I think it is necessary to summarize how to get help from the DB2 command syntax!
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 default need to switch to db2inst1 this default user to perform the action[Email protected] instance]# Su-db2inst1[Email protected] ~]$ Db2start[Email protected] ~]$ DB2 force application All[Email protected] ~]$ Db2stop[Email protected] db2]$
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.