[MySQL] Partition Table

Unlike Oracle, MySQL does not have a global index and only has a partition index. Therefore, MySQL has more restrictions than Oracle: 1. The partition key must be part of the primary key. 2. The data type of the partition key must be INTEGER

Mysql query optimization skills

Use the EXPLAIN statement to check optimizer operations + ---- + ------------- + ---------- + ------- + ------------- + ------ + --------- + ------ + ----------------- | id | select_type | table | type | possible_keys | key | key_len | ref | rows |

Learn a little about mysql dual-host hot backup-quickly understand the principles and practices of mysql master-slave and master-master backup

Thank you for learning Git in the previous article-Quick Start With git in 20 minutes. Here we will share the dry goods and briefly introduce the simple practices of mysql dual-host and multi-host remote hot standby. The concept of Dual-machine Hot

Mysql viewing statement execution efficiency

EXPLAIN I. Purpose: 1. When must I add an index to the table to obtain a faster select statement that can be remembered using the index? 2. Check whether the optimizer joins the table in an optimal order. The official documentation on explain in

Java + mysql Chinese garbled Problem

There are multiple causes of garbled characters, one of which is because MySQL uses the ISO-8859-1 (Latin1) Character Set by default, while JAVA uses Unicode encoding internally, so when inserting data into the MYSQL database in JAVA, or when

How does mysql start?

Installing mysql using yum saves many steps for installing the source code package, but sometimes the problem that mysql cannot be started when mysql service is started after yum is packaged with mysql is reported as follows: can't connect to local

How MySQL optimizes ORDER

I have been studying mysql database optimization over the past few days. I checked the information on the Internet and stayed here. I will continue my new research experience later. Below are some online materials In some cases, MySQL can directly

Differences between Mysql sub-tables and partitions

What is table sharding? On the surface, it means dividing a table into N small tables. For details, see the three methods of mysql table sharding.What is a partition? partition refers to dividing data in a table into N blocks, which can be on the

How to change the root password without restarting Mysql

I. Generally, You need to restart Mysql if you forget the password.1. skip-grant-tablesThe common method is to use the skip-grant-tables option. After mysqld server is started, it does not use the permission system (privilege system ). The user does

Mysql multi-subquery creation of multiple LEFTJOIN views

Create view 'v _ noprovide 'as select * FROMtb_sectionWHEREprovide = '0' create view 'v _ thismonth' AS SELECTts. userId AS id, CONCAT ('thismonth: ', SUM (ts. amount), 'yuanyuan ') AS 'thismonth' FROMtb _ section AS tsWHEREts. yearMonth =

Mysql string segmentation and concatenation Functions

How can I implement a MySQL string that separates the content of a field and writes it to other fields? Use SUBSTRING_INDEX and CONCAT to implement this function. SUBSTRING_INDEX and CONCAT can be used to split and splice MYSQL strings. The

Mysqlmysqlslap stress test

Introduction to mysqlslap Mysql stress testing tool Option Option Shorthand Description -- Auto-generate-SQL - Automatically generate MySQL test statements -- Auto-generate-SQL-add-autoincrement   Add

Introduction to mysql Foreign Key and method of creating Foreign Key

In MySQL, tables of the InnoDB Engine type support foreign key constraints.Usage conditions of foreign keys:1. The two tables must be InnoDB tables, and MyISAM tables do not currently support foreign keys (it is said that foreign keys may be

Summary of mysql database backup and Restoration

Database operations are usually performed on data tables and tables. database backup and restoration are rarely used. This is a process of self-learning. 1. Database Backup Use the mysqldump command. cause: the tool is used on multiple storage

Mysql regularly deletes data using stored procedures and Event Events

The entire process is divided into three steps: 1. Write the Stored Procedure 2. Write Event Events 3. Set the Event to Enable and open the Event task. 1. Stored Procedure First define a stored procedure, del_data. Input an int parameter is the

MySQL database becomes an open source database vendor

According to foreign media reports, at the end of, Sun's MySQL database development team headed by Karen Tegan Padir when Oracle completed its acquisition of Sun) instead of joining Oracle, I joined another open-source database company, EnterpriseDB.

Create MySQL for PHP applications

Overview This article provides a basic tutorial on how to install and configure MySQL in a Windows operating system. For more information about installing and configuring MySQL on Windows, see the MySQL official documentation. Download and install

NPMserv v0.3.1 released (win nginx + php + mysql)

NPMserv is a green software for building nginx 0.7.61, PHP 5.3.0, MySQL 5.1.35, phpMyAdmin 3.2.1 and website server platform on a GUI. No installation required, flexible mobility, the root directory under the disk (such as D:/npmserv1_open

The simplest MySql database backup method

Using MYSQL for database backup is also a regular database backup method. It has the same concept as other database servers, but have you ever thought about it, mySQL will have a simpler backup method using the file directory, and it will be faster

PHP and MySQL programming (version 3rd) -- 19.3 install Smarty

19.3 install Smarty Installing Smarty is very simple. First, download the latest stable version at http://smarty.php.net. Run the following command to install Smarty. (1) decompress the package to a location outside the root directory of the Web

Total Pages: 3233 1 .... 2383 2384 2385 2386 2387 .... 3233 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.