Simple remote backup solution for Linux server databases (MySQL and ORACLE) bitsCN.com
Simple remote backup solution for Linux server databases (MySQL and ORACLE)
Simple remote backup solution for MySQL databases on Linux servers
First, let's
MYSQL: use the G parameter to change the display mode of the output result set bitsCN.com
MYSQL: use the/G parameter to change the display mode of the output result set.
Use the/G parameter in the MYSQL command line to display the output by column.
Delete bitsCN.com from another table
Delete another table based on the table
DELETE: how can I DELETE data from multiple associated tables at the same time? Here is an in-depth explanation:
1. delete from t1 where condition
2. delete t1 from t1
Implementation of functions similar to nextval in oracle in mysql
BitsCN.com
Implement nextval functions in mysql similar to those in oracle
We know that sequence is not supported in mysql. Generally, this field is auto-incrementing by the time
Differences between MySQL5.5 and 5.6 default parameter values of sweet potato bitsCN.com
As part of the performance comparison between MySQL 5.5 and 5.6, I have studied the differences between the default parameters of the next two versions. to
Mysqlhotcopy usage and installation method bitsCN.com
How to use and install mysqlhotcopy
Before using mysqlhotcopy, install perl-DBI and DBD-mysql:
1: install perl-DBI
Yum-y install perl-DBI
# (If not, run yum-y install perl-DBI)
2:
Deletetruncatedrop difference bitsCN.com
Differences between Delete/truncate/drop
1. delete/truncate: only delete data. The index structure is not deleted. Drop will delete the table structure and the index/constrain/trigger that depends on the
Use the mysql-utilities tool to experience bitsCN.com
Mysql-utilities tool experience
I mainly tried several REPLICATION tools.
Let's talk about my environment:
MASTER: 192.168.1.131
SLAVE: 192.168.1.132, 192.168.1.133
ALL three databases have ALL
Think twice about partitions: 1. although partitions can bring many benefits, they also increase management fees and complexity for implementing objects. Therefore, before partitioning, you need to carefully consider whether to partition the object.
The default master-slave (masterslave) engine is inconsistent, causing replication failure to solve bitsCN.com
Master-slave (master/slave) default engine inconsistency causes replication failure solution
My colleague told me that the replication
[MySQL] InnoDB row format analysis bitsCN.com
[MySQL] InnoDB row format analysisLike most row-based databases, InnoDB stores records in the row format. It provides two formats: Compact and Redundant.CompactThe Compact format is introduced only when
MySQL data file description bitsCN.com
MySQL data file description
1. MySQL data file description
First look at the file under MySQL DataDirectory:
Here dave and mysql are our database names. we can view them in the mysql database:
In
A simple script for detecting whether the mysql master/slave is normal or not bitsCN.com
Script for simple mysql master/slave check
I want to use a simple script to test whether the master and slave databases are normal.
01 #!
Mysql slow query log (slow_query_log_file) switch bitsCN.com
Mysql slow query log (slow_query_log_file) switch
The slow_query_log_file log becomes very large and it is inconvenient to analyze its input items. we want to generate a
MySQL big data warehouse receiving (single table) bitsCN.com
MySQL big data warehouse receiving (single table)
Recently, I have been studying data warehouse receiving. for the INSERT command, a small amount of data can be satisfied, while for a
MySql installation (rpm) and startup configuration bitsCN.com
MySql installation (rpm) and startup configuration
Installation steps:
1. unzip the MySql installation package
[Root @ bakdbserver mysql] # tar-xf MySQL-5.5.24-1.rhel5.x86_64.tar [root
MySQL _ data paging query (limit usage) bitsCN.com
MySQL _ data paging query (limit usage)
Take the first five data records [SQL] select * from table_name limit 11th, or [SQL] select * from table_name limit 5, and obtain 15th to data records,
MySQL does not support INTERSECT, MINUS, and bitsCN.com.
MySQL does not support INTERSECT and MINUS and their alternative methods.
Doing INTERSECT and MINUS in MySQL Doing an INTERSECTAn INTERSECT is simply an inner join where we compare the
MySQL method to export data to excel bitsCN.com
It is very easy for MySQL to export data to an excel file. execute a command like this: select * from a table into outfile 'd:/file name .xls; the preceding command is executed on the server, it is
MySQL -- binlog log recovery data bitsCN.com
MySQL -- binlog important command for restoring data recovery data mysql> flush logs; the default log is the mysql-bin.000001, and now refresh the re-enable one with an additional mysql-bin.000002.
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