Enumeration of common MyCAT sharding rules
MyCAT supports multiple sharding rules. In the following example, partition enumeration is used. In applicable scenarios, the number of column values is fixed, such as province and month.
Here, three values
Oracle: RETURNING clause
RETURNING is usually used in combination with DML statements. (Insert update delete)
Usage:
UPDATE table_name SET expr1RETURNING column_nameINTO xxx
INSERT: returns the added value.UPDATE: return the updated value.
DELETE:
Principles and basic configurations of Oracle DataGuardRecently, the group is working on a disaster recovery solution for the high availability of Oracle. We chose the "maximum performance" mode of DG without affecting the performance of the master
MySQL Master/Slave Database Configuration Guide and error handling
MySQL master-slave replication Configuration
1. Requirements
1.1 System Platform consistency
1.2 consistent database versions
2. Modify the my. cnf file. The master server and slave
Subtotal on MySQL Master/Slave latency
I have encountered several MySQL master-slave latency issues recently, and some of my colleagues complained about this. Sort it out a little bit.
------------------------------------ Body ---------------------
Oracle Database Import and export practices
There is an Oracle server that needs to be exported and imported. I have been familiar with Oracle before, but I have never studied Oracle Export and Import. Now I am in a hurry, so I have to make up the
Oracle Database rman backup plan and recovery
1. Prerequisites for completely restoring rman: Historical backup of datafile, controlfile, and spfile, plus full archivelog and complete redolog.
2. rman backup script:
A. RMAN level 0 BACKUP
MySQL dual-master Configuration
MySQL dual-master Configuration
Prepare the environment: the server operating system is RHEL6.4 x86_64, to minimize installation. Both host A and host B disable the firewall and SELINUX. The IP addresses are 192.168.13
Oracle multi-Table query optimization
Oracle has a high-speed buffer concept. This high-speed buffer is used to store the executed SQL statements. Therefore, oracle has to do a lot of work when executing SQL statements, such as parsing SQL
Install Oracle 11gR2 in CentOS 6.6
Install Oracle 11gR2 in CentOS 6.6
I. Hardware requirements
1) The minimum memory size is 1 GB, preferably 2 GB or more. The memory here is 10 GB.
2) The official suggestions for swap partition size are as follows.
Use undo in Oracle to restore Data
[Note] when I accidentally saw a colleague's QQ message saying "really tired", I got a call from this colleague in less than 30 minutes, as shown below: When I was just doing data deletion, I found that the
What happens to MySQL when the disk space is full?
Guide
What happens to MySQL when the disk space is full? What should I do?
What will happen
When the disk space is full, MySQL cannot write any data, including writing data to the table and
Oracle RMAN repairs logical Bad blocks
RMAN implements block recoveryThe trial of Rman can achieve block-level data recovery. In the traditional restoration method, that is, a data block of a data file is damaged, the entire data file cannot be used
In-depth explanation of batch row-column conversion in SQL, sqlbench
Rotate rotate the table value expression by converting the unique value in a column of the expression to multiple columns in the output, and aggregate the values of any other
PL/SQL Developer configuration instructions, pldeveloper
PL/SQL Developer is an integrated development environment dedicated to the development of Oracle database storage program units. Nowadays, more and more business logic and application logic
MySQL trigger, mysql trigger instance
Trigger: monitors a situation and triggers an operation.
Four elements of trigger creation Syntax: 1. monitoring location (table) 2. monitoring event (insert/update/delete) 3. trigger time (after/before) 4.
Linux personal operation habits, linux personal habitsEdit ~ /. Add the following content to the bashrc file and define the alias #. bashrc # User specific aliases and functionsalias rm = 'rm-I 'alias cp = 'cp-I' alias mv = 'mv-I 'alias cls = 'clear'
JPQL and jpql statements5. JPQL
JPQL (JavaPersistence Query Language) is an object-based Query. The queried content is an object or an object attribute.5.1. query objects
SELECT c FROM Customer c
JPQL statements are similar to SQL statements, but
SQL syntax, SQL
SQL refers to the structured query language.The following is a table named "Persons": id auto-increment, no need to worry Basic SQL statements include addition, deletion, modification, and query.Add: The insert into statement is
Innodb change buffer passive merge, innodbbuffermergePassive merge scenario 1: insufficient secondary index page space: ibuf0ibuf. cc: ibuf_insert_low
1. When a cache insert operation is attempted, if the estimated space of the secondary index page
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