I. Transaction Concept
Concept: transactions in databases are logical units of work. A transaction is composed of one or more SQL statements that complete a group of related behaviors, the transaction mechanism is used to ensure that the operations
1. Transaction concept:
Concept: transactions in databases are logical units of work. A transaction is composed of one or more SQL statements that complete a group of related behaviors, the transaction mechanism is used to ensure that the operations
Recently, a field-based query function is provided for each table in our system. The foreground sends json data to the backend, And the backend performs Fuzzy Matching by %, query by field. the result is rejected. another colleague used Hibernate
**************************************** *******
Oracle database instance startup and Shutdown Process
**************************************** *******
The Oracle database instance should be started strictly. The database is only loaded after the
1. user_source Process Code of the current user2. user_objects contains all database objects owned by the user3. user_segments4. user_tables tablespace and tablespace Information5. user_tab_partitions partition information6. user_views7.
Restore with RMAN
1. Use the restore command
Read the data blocks in the backup file, and store the data blocks in the corresponding data files according to the data files to which the data blocks belong, so as to restore the data.
2. Use the
1. Prepare the system environment before installing Oracle 11g R2 database
1. view the system version, kernel version, number of operating system digits, memory and swap partition size, file system space, host name, IP address, and so on.
[Root @
Replace variables (only used for SQL * Plus or development tools with the same principle as SQL * Plus ):Temporary storage valueIt can be used to create a general script.It can be used to interact with users, so it is also called interactive
If you have not installed or used sqlite, you can use SQLite3 for installation and basic operations.
1. Create a database test. db
Cd ~ /
Sqlite3 test. db
In this way ~ /A database file test. db is generated under the directory.
2. Create a table
Function:
The purpose of using a function is to operate data.
Process the input variable and return a result.
There can be many variables.
The input variables can be column values or expressions.
Functions can be nested.
The result of the inner
State online can be started only after the dual-node RAC is successfully installed on the VM. you can always have several UNKNOWN machines after each restart, if you can start them manually. crs_start ora. xxxxx, or crs_start-f xxxxx
If no error is
1. Command installation: yum install mysql-server
2. built-in startup: CentOS6.2 comes with mysql5.1 installed, and the root identity (mysql-u root-p) has no password;
System-> Management-> service, select mysqld, and set auto start and start the
MongoDB is a scalable and high-performance open-source NoSQL document database. It is mainly developed using C ++. For document storage, full index support, replicable and high availability, automatic sharding, and other features. Among
First, let's look at the table we want to query:
SQL>SELECT*FROMEMP;
EMPNO ENAME JOB MGR HIREDATE SAL DEPTNO
------------------------------------------------------------
7369 smith clerk 7902 800.00 20
7499 allen salesman 7698 1600.00 30
-- Log on to Oracle
Sqlplus/as sysdba
-- Query lock Information
Select t2.username, t2.sid, t2.serial # from v $ locked_object t1, v $ session t2 where t1.session _ id = t2.sid and rownum
Result:
Username sid serial #---------------------------
MHA is divided into management nodes and database nodes. database nodes are composed of mysql master-slave or master-slave nodes. When the master database fails, the management node will automatically upgrade from the master node to the master node;
When I was reading CU today, I found someone asking about optimize's table optimization problem. It was a long time because of this problem. Today I am free to ask this question, we can use the actual data to show it, so that you can see with your
The database initialization parameters used for Oracle Database startup are usually obtained using the show parameter command in sqlplus. However, only some public parameters and modified hidden parameters are shown here. Oracle also has a number of
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