Problems with MySQL partition table path setting

Source: Internet
Author: User

See an article on the web about the partition table
CREATE TABLE Users (
UID INT UNSIGNED not NULL PRIMARY KEY,
Name VARCHAR not NULL DEFAULT ',
Email VARCHAR not NULL DEFAULT '
)
PARTITION by RANGE (UID) (
PARTITION p0 VALUES less THAN (3000000)
DATA DIRECTORY = '/data0/data '
INDEX DIRECTORY = '/data1/idx ',

PARTITION p1 VALUES less THAN (6000000)
DATA DIRECTORY = '/data2/data '
INDEX DIRECTORY = '/data3/idx ',

PARTITION P2 VALUES less THAN (9000000)
DATA DIRECTORY = '/data4/data '
INDEX DIRECTORY = '/data5/idx ',

PARTITION P3 VALUES less THAN MAXVALUE
DATA DIRECTORY = '/data6/data '
INDEX DIRECTORY = '/data7/idx '
);
said: "Each partition has its own independent data, index file storage directory, at the same time, the physical disk partitions of these directories may also be completely independent, how much increase the disk IO throughput." ”

Would you please tell me how to set up the database storage engine used in My.ini for the directory of the two properties under Data directory and INDEX directory? MyISAM or InnoDB

Related Article

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.