Brief introductionMySQL is a DBMS, which is a kind of database software. DBMS can be divided into two categories: a DBMS based on a shared file system, and a DBMS based on the client-server. The former is used for desktop purposes and is typically
MySQL study using the--mysql tool (MySQL Query Browser)System Environment:Operating System: Windows 7 (+)Official Introduction:1. Installation and ConfigurationDownload:Http://sqlbrowser.www2.pl/?act=download:
How does MySQL avoid using swap Original article: www.taobaodba.comhtml552_mysql_avoid_swap.html? Linux has many good memory and IO Scheduling Mechanisms, but they are not suitable for all scenarios. One of the headaches for DBA Linux is that it
{Code ...} the above is the image cutting process. suppose I can operate the database directly through $ db-& amp; gt; select | update | insert. how can I improve the above code, after cutting the image to be uploaded, convert it to a binary format
MySQL benchmark tool TPCC-MySQL notes TPCC is a specification specifically designed for online transaction processing systems (OLTP systems). In general, such systems are also called business processing systems. TPCC-mysql is a benchmark testing
This article describes the use of inner join to query/delete/modify, the specific implementation of the following, learning MySQL friends can also learn, I hope to help you
copy the code is as follows:
--Query
SELECT tp.tp_id, TP.TPMC, Tp.leveid,
Benefits of MySQL using partitioned tables:
1, you can put some of the data in the collation of a partition, you can reduce the number of server check data to speed up the query.2, easy maintenance, delete the old data by deleting the partition.3,
Do MySQL master and slave will certainly encounter a lot of synchronization problems, most of them are due to machine downtime, restart, or the primary key conflict caused by the server to stop work, here specifically to collect similar problems and
The Statement object statement contains two main methods: the Executeupdate () method performs an update operation on the data (adding records, deleting records, updating records), and ExecuteQuery () methods used to perform query operations on the
Convert IP addresses and numbers with MySQL built-in functions
Take advantage of two built-in functions
Inet_aton: Converts an IP address to a digital type
Inet_ntoa: Converts a numeric type to an IP address
Take full advantage of MySQL's
Basic Configuration
Primary database
configuration files, modifying server_id=1
Create an account for slave to use synchronously
GRANT REPLICATION SLAVE on *.* to ' repl ' @ ' 192.168.56.3 ' identified by ' repl ';
Mysql> Show master status;
+-
This article mainly organized the MySQL two commonly used storage engine MYISAM,INNODB six major common differences:
The difference in composition
MyISAM
Each myisam is stored on disk as three files. The first file begins with the name of the
1. Insert several fields from table T2 into table T1:INSERT INTO T1 (t1.c1,..., t1.c5) Select T2.c1,..., t2.c5 from T2;The time function in 2.MySQL:Curdate () 2017-04-13Now () 2017-04-13 09:09:093. Replace:UpdateName of the tableSetthe name of the
Today, database operations are increasingly becoming a performance bottleneck for the entire application, which is especially noticeable for web applications. It's not just about the performance of the database that DBAs need to worry about, it's
1. Installation of MySQL under Mac: http://my.oschina.net/joanfen/blog/171109 2. Before using MySQL, make sure that the MySQL service in "System number Setup" is turned on 3. Open "Terminal", enter "Mysql-uroot-p" and enter the password you
by Francis_hao Dec 17,2016This article was authored by Liu Yinghao and licensed under the Creative Commons Attribution-NonCommercial use-Share 3.0 Chinese mainland license agreement in the same way. Welcome reprint, please specify the
MySQL study use of the--mysql tool (MySQL Administrator)System Environment:Operating System: Windows 7 (+): http://www.softpedia.com/get/Internet/Servers/Database-Utils/MySQL-Administrator-for-Windows.shtmlOfficial Introduction: MySQL Administrator
Sometimes the read/write speed of the OS reduces the performance of the MySQL server, especially when the OS and MySQL use the same disk. Therefore, it is better to make MySQL use a separate disk and use SSD. To achieve
Sometimes the read/write
Usually accustomed to phpmyadmin and other tools of the friend some simply will not command, if you want to have a written exam to interview I see how you do, so, learn to be very useful, you can also know what you have done through the GUI tool
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.