BitsCN.com
Permission issues after rsync synchronizes mysql files
When you use rsync to synchronize mysql database files, a File permission problem occurs, causing the mysql table to be unavailable.
After reading the original rsync, I made
MYSQL specifies the number of rows in all tables in the database query bitsCN.com
MYSQL specifies the number of rows in all tables in the database.
[SQL] SELECT CONCAT ('Union all select ''', TABLE_SCHEMA, ''' as db, ''', TABLE_NAME, ''' as
Mysql master-slave synchronization principle bitsCN.com
Replication thread
Mysql Replication is an asynchronous Replication process, from one Mysql instace (we call it the Master) to another Mysql instance (we call it the Slave ). The entire
[MySQL] Centos startup and shutdown
BitsCN.com
[MySQL] enable and disable Centos
There are two mainstream Unix systems: System V and BSD. Their differences are as follows:
Linux, as a Unix-like System, also has these two styles. Centos
Mysqlrand random query record efficiency bitsCN.com
I always thought that mysql would randomly query several pieces of data.SELECT * FROM 'table' order by rand () LIMIT 5You can.However, the test results show that the efficiency is very low. It
Mysql is a table-level lock by default. some uncommon commands such as bitsCN.com
Mysql uses table-level lock commands by default.
1. mysql uses table-level locks by default. If InnoDB storage engine is enabled, the database supports row-level
The stored procedure bitsCN.com optimized for each table in the database in mysql
Mysql optimizes the storage process for each table in the database.
Optimize the storage process for each table in the database
Create procedure 'inventory '.
MYISAM table batch compression bitsCN.com
Batch compression of MYISAM tables
These two operations need to be used with caution. before compression, you need to confirm that mysqld is disabled or that the table to be compressed does not have any
About the mysql database data types numeric and decimal bitsCN.com
Mysql database data types numeric and decimal
Decimal (numeric) is synonymous and used to precisely store values.
A decimal data type can store up to 38 numbers. all numbers can be
Pay attention to the master-slave synchronization delay bitsCN.com for development under multiple mysql instances
Pay attention to the master-slave synchronization delay for development under multiple mysql instances
This evening, the server
[MySQL production environment] Innodb storage engine memory alarm problem handling process bitsCN.com
[MySQL production environment] Innodb storage engine memory alarm handling process
1. keep receiving email alerts, and the memory value exceeds
Data transfer between mysql tables bitsCN.com
Data transfer between mysql tables
MySQL data structure
Java code // record related fields in the User table into the insert tbl_user_additional_info (user_id, country, address, postal_code,
The architecture binding (SCHEMABINGDING) and View batch update bitsCN.com in MSSQL
View schema binding (SCHEMABINGDING) and View batch update in MSSQL
The create view syntax is as follows:
Create view [schema_name.] view_name [(column [,... n])]
HenriqueLoboWeissmann is a software developer from Brazil and co-founder of itexto, a consulting company. Recently, Henrique wrote an article on MongoDB on his blog about some of the content, some of which are worthy of our views, especially with
Some simple optimizations for database design and query: bitsCN.com
I collected some information on the network and made some simple optimizations on database design and query as follows:
Design
1. design association between tables to reduce
When hibernate is mapped to a database, @ ManyToOne and @ onetoworkflow Hibernate
BitsCN.com
The first time I used hibernate to automatically generate a table that involves foreign keys for multiple tables, I encountered several errors using the @
[MySQL error] ERROR1118 (42000): Rowsizetoolarge. Themaximumrowsizefortheusedtabletype, not describe bitsCN.com
[MySQL ERROR] ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not solved
A friend sent an SQL
Introduction to the syntax for creating a Mysql trigger bitsCN.com
Syntax for creating a Mysql trigger
[Html]
Mysql triggers are an important part of the Mysql database. The following describes how to create and delete Mysql triggers in detail.
1
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