The use of bitsCN. comprofiling for parsing MysqlProfiling is a very useful mysql performance analysis tool. we will test the profiling function today. Thanks to the blog post "love Rose:
The SQL performance analyzer of mysql is mainly used to
MySQL Query optimization-detailed explanation of adjusting internal variables bitsCN.com
MySQL is so open that you can easily adjust its default settings to achieve better performance and stability. Key variables to be optimized are as
How to use the wordvb macro to generate SQL bitsCN.com
Yesterday, BOSS issued a command to allow me to quickly generate SQL statements using word macros, so that we do not need to input a piece of metadata when creating a table. To improve
Usage of mysql_fetch_row () and mysql_fetch_array () bitsCN.com
Mysql_fetch_array-- Get a row from the result set as an associated array or number array, or both
Description: array mysql_fetch_array (resource result [, int result_type])
Returns the
How to release disk space by batch clearing the expired binlogs on the 128 group of node databases bitsCN.com. if there are 10 or less databases, you can manually enter the database through ssh. clean is enough, but there are hundreds of databases,
In-depth explanation of basic mysql knowledge bitsCN.com
1. each client connection is divided into a thread belonging to the server process. The corresponding queries of the connection are all processed by this thread.
2. the server caches the
Mysql common monitoring script command sorting bitsCN.com
#/Bin/sh
# Check whether mysql server provides services normally
Mysqladmin-u sky-ppwd-h localhost ping
# Obtain the current status values of mysql
Mysqladmin-u sky-ppwd-h localhost status
Usage instructions and summary analysis of SQLite time functions
This article mainly describes the analysis and summary of time functions in SQLite and provides use cases. The examples given in this article are all tested.SQLite time/date function
Based on some methods optimized in MYSQL, bitsCN.com
Mysql storage engine myisam, innodb, and memoryMemory will be introduced later
Innodb supports transactions, foreign keys, and row locks. mysql does not.
Innodb does not support fulltext index
In-depth analysis of some SQL data connection problems bitsCN.com has not been very familiar with the differences between the keywords in connectionstring, so it is too cumbersome
Let's explain some of the insights ......
****************************
Mysql converts a column value to a column method bitsCN.com
-- Create a databaseCreate table 'rate '('Uname' VARCHAR (300 ),'Object' VARCHAR (300 ),'Score 'varchar (300));
-- Insert dataInsert into test. rate (uname, object, score)VALUES ('AAA',
MySQL note data type description bitsCN.com
Balanced data
The fixed-length or variable-length string can be used for string type data. The difference is that a string of the fixed length is filled with spaces to the right to ensure the same number
Use bitsCN.com for index of MySQL notes
An index is a structure created on a table that sorts values of one or more columns in a database table.
The main function is to increase the query speed and reduce the performance overhead of the database
How to modify data in MySQL notes: bitsCN.com
The database inserts, updates, and deletes records in the table.
InsertStatement to insert data
UpdateStatement to update data
DeleteStatement to delete dataReference Table
Insert data without specifying
Mysql uses the source Command garbled problem solution bitsCN.com to export an SQL execution file from windows today, and then pour it into unbutn. The result is garbled and may take 7 to 8 minutes,
Solution
When exporting the mysql SQL execution
Mysql Chinese garbled characters and how to export SQL statements and Excel problems [graphic] bitsCN.com
1. export data.
First, describe your environment: Mac OS X 10.8.3, MySQL Community Server 5.6.10, and MySQL Workbench 5.2.47.
I want to
LinuxXtrabackup installation and usage: bitsCN. comXtrabackup has two main tools: xtrabackup, innobackupex
(1) xtrabackup can only back up InnoDB and XtraDB data tables, but cannot back up MyISAM data tables.
(2) innobackupex-1.5.1 encapsulates
MySQL security issues starting from the installation of bitsCN.com
After installing MySQL, you will receive the following prompt:
[Root @ localhost Desktop] # rpm-ivh MySQL-server-5.5.28-1.rhel5.i386.rpm
Preparing... ################################
Mysql obtains data by time period in the format of bitsCN.com 2013-03-12
Query the data of the current day:
SELECT * FROM 'table' WHERE date (time field) = curdate ();
Query the current month field:
SELECT *
FROM 'table'
WHERE month
C # How to query Rownum in Mysql bitsCN.com
SQL:
SELECT@ Rownum: = @ rownum + 1 AS rownum,A. order_id,Case when a. Ordered = 1 then 'split into tickets 'end as Ordered,A. printed,A. order_sn,A. user_id,B. user_name,A. consignee,A. tel,A. mobile,A.
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