I. Overview
MySQL has three levels of locks: Page, table, and row.
The MyISAM and MEMORY storage engines use table-level locking. The BDB storage engine uses page-level locking, but also supports table-level locking; the InnoDB Storage engine
Dict is mainly composed of the struct dictht's Ha tables. The reason why dict is defined as an array of 2 (dictht ht [2]) Ha tables is that redis uses progressive rehash, that is, when rehash is required, execute N steps rehash before each operation
-- ======================================
-- Oracle instance recovery
-- ======================================
I. Oracle instance failure
Oracle instance failures are mostly caused by instance non-consistent shutdown, which is usually called a
[Oracle @ localhost ~] $ Asmcmd help = y
Commands:
--------
Cd
Du
Find
Help
Ls
Lsct
Lsdg
Mkalias
Mkdir
Pwd
Rm
Rmalias
① List Directory Information
ASMCMD> ls
DATA/
ASMCMD> ls-al
State Type Rebal Unbal Name
Mounted normal n data/
② Alias
ASMCMD>
10 is the primary node, and 6 is the slave node.
Use a script to back up the database of the host.
[root@qianzhidb01 shell]# cat exprot_3306.sh#!/bin/shset -xdata=`date +%Y%m%d%H%M`mkdir
I. Session-based temporary tables
-- To create a session-based temporary table, remember the global temporary keyword and on commit preserve rows (Session-based)
Create global temporary table TEMP_SESSION (COL1 TYPE1) on commit preserve rows;
SQL>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/2026294J6-0.jpg "title =" QQ20130926180734.jpg "alt =" 171749773.jpg"/>
The customer has a set of 10 Gbit/s RAC running on Windows and plans to add a dedicated uard. The
If you use INFOBRIGHT, you will not be familiar with this word.There are currently four formats. 1. binary.2. txt_variable3. mysql4. infobright
What does it mean? Let me explain it in detail.BINARY represents BINARY data. That is to say, raw data
I use Java to connect to the MySQL database and write data through JDBC. The Chinese character string directly generated in Java is written into the database and becomes the question mark "?". Below are my records for solving this problem.First, I
When checking the system today, I found that the system reported an error message about the ORA-00376. In general, the data file:/database/data1/orcldata/d_datafile7.dbf is wrong?
How can we solve this problem,
The following describes how to solve
My. cnf configuration file binlog_format = MIXED, and use the default isolation level REPEATABLE-READ, there is a major problem, resulting in master-slave data inconsistency.
The following is an example:
Both the master and slave databases are MySQL5
Someone asked why SQL Server data has changed, but why is the best modification date of database files and log files not changed. In fact, this is a normal behavior.
The modification date of the SQL Server File is when the SQL Server closes the
We all know that the database files of the advanced version cannot be restored or appended to the lower version, because the format of the files of the higher version and the lower version is different. If you try to append or restore a database of
At three o'clock P.M., the server was shut down and recovered several minutes later. remote connection to the Windows virtual machine showed abnormal shutdown.
The website is abnormal, and the database is damaged due to abnormal shutdown and data
By default, MySQL processes "data out of bounds" and other abnormal data according to the following rules.1. For numeric data or time data columns, values beyond the valid range will be stage to the nearest value range boundary;2. If the string data
Recently, ORACLE databases in the unit are unstable. by querying the oracle alert Log, the following error message is displayed:
Thread 1 cannot allocate new log, sequence 108922Checkpoint not completeCurrent log #1 seq #108921 mem #0: + DATADG/apts/
650) this. width = 650; "title =" mysql-ms1.png "src =" http://www.bkjia.com/uploads/allimg/131228/224554OO-0.png "/>
Purpose:
The robustness of the Master/Slave server settings is improved. If the master server fails, the slave server that was
SCANIP is a new feature of the ORACLE11G database. It can simplify the vip configuration of the client. during last year's ORACLE11 RAC environment, the company did not test SCANIP due to the hasty setup. This year, due to business needs, when you
Fault description: master-slave architecture. After the master node is down, it switches to the slave node. As a result, the data consistency is not verified before the master node is down, the database cannot be verified. As a result, a large
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