What MYSQLDBA needs to do: what bitsCN. comMYSQL DBA needs to do
Http://www.fastcloud.cn/zhishi/zhishi387.html
I wanted to write an article a long time ago to introduce some of the things that Internet DBAs need to do. However, I am not busy with
MySQL Update statement Set sequence problem bitsCN.com
1. Test 1Create table test (id int, tag int, num int );
Insert into test (id, tag, num) values (1, 1, 1), (2, 2), (3, 3 );
Update test set
Tag = 4, num = case when tag = 4 then 4 else 3
MySQL C ++ encapsulation bitsCN.com
Recently, the project database management system was migrated from SQL SERVER2000 to MySQL. after connecting to SQL SERVER based on ADO and using the MySQL database management system, the database creation, table
Mysql_connect (): Connectionusingold (pre-4.1.1) authenticationprotocolrefused made a mysql upgrade, mysql on the development machine to version 5.6, the result of connecting to some of the lower version of mysql server reported the following
When you delete data in MySQL, the following error occurs:
ERROR 1206 (HY000): The total number of locks exceeds the lock table size
I checked and found that the innodb_buffer_pool_size configuration in mysql is too small, which causes InnoDB to
Mysql optimization and usage highlights
ReadBetter performance than Innodb
MyISAM indexes and data are separated, and the indexes are compressed.
Innodb is closely bound to indexes and data. without compression, Innodb is much larger than
Why should I replace Mysql Mongodb with MongoDB in the project?
At the early stage of the project design, I had the idea that, at the same time, I chose the final nosql solution to meet the following conditions:
1. frequent demand changes:
Configuration instance Centos for installing multiple mysql data in CentOS
Note: This document provides two MYSQL instances, multiple instance methods, and so on.
LINUX: centOS6.3 64bit (default system development kit installed)Database 1:MYSQL
Implementing the SYS_CONNECT_BY_PATH function similar to oracle in mysql facilitates development. how does mysql implement similar functions?
DELIMITER $Create function 'getparentlist' (rootId VARCHAR (50) returns varchar (1000)
BEGIN
DECLARE
MySQLSQL optimization: Web page optimization of SQL crawlers is on the verge of a few days. I will share some of the SQL experience optimized in the past few days and summarize it to the readers. The first thing to share is to optimize the limit
I stepped on a mine of mysqldump. mysqldump
Let's first look at two cases: P 1:
[21:56:33-root @ ssdtest :~ ] # Mysqldump-S/data/mysql/test_3306/mysql. sock -- single-transaction -- force -- databases tpcc> v1. SQL
P 2:
[21:56:54-root @
Use of Mysql UNION query and UNIONALL
I. Functions and syntax of UNION and UNION ALL
UNION is used to merge the result sets of two or more SELECT statements and eliminate any duplicate rows in the table.The SELECT statement within UNION must have
Install Mysql decompress version
Install Mysql decompress version
-- @ Liang WP
1. decompress mysql to a proper location
2. right-click computer-properties-advanced system settings-advanced-environment variables. in the displayed "environment
Detailed description of external and internal database connections related to SQL statements mainly include external connections, internal connections, and full connections.
Internal connection:
INNER JOIN
The inner join must both meet the
Mysql copies the content of a field in a table to the SQL statement of a field in another table.
Requirement: copy the content of a field in one table to a field in another table.
Implement SQL Statement 1:UPDATE file_manager_folder f1Left outer
How to convert an SQL Server database to a mysql database has a website that was previously used by asp.net. the database used is SQL Server. now we plan to use the PHP + MYSQL architecture. Because the original site has a certain ranking, a direct
MySQL learning-the use of join and union I feel I have been using the framework since work, and some basic things of the database have been forgotten. I will review the old knowledge through this series of blogs, learn new knowledge.
Today we
Today, I want to compare the various performance optimization policies that can be used in a Greenfield project. In other words, the project has no constraints imposed on it by previous decisions and has not been optimized. Specifically, the two
In the following example, 'Table _ name' indicates the data table name and 'index _ name' indicates the index name, column list indicates the field list (for example, 'id', 'Order _ id ').
1. create an index
You can CREATE an INDEX in the create
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