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