Finally, it's time to start putting MySQL 5.1.12-beta through the
wringer. First order of business, convert the existing table
schema to one that supports partitioning...
I made some minor changes to the configuration for partitioning,
namely innodb_file_per_table and
innodb_open_files. I set
innodb_open_files to 1000 based on the tables and
partitions I plan on supporting.
This is what the new table schema looks like with
partitioning:
[Read more]
CREATE TABLE `network_daily` (
`entity_id` int(11) NOT NULL default '0',
`buyer_entity_id` int(11) NOT NULL default '0',
`buyer_line_item_id` int(11) NOT NULL default '0',
`seller_entity_id` int(11) NOT NULL default '0',
`seller_line_item_id` int(11) NOT NULL default '0',
`size_id` int(11) NOT NULL default '0',
`pop_type_id` int(11) NOT NULL default '0',
`country_group_id` int(11) NOT …