Partition pointValues table
-
The pointValues table has grown huge on mysql. How can i partition it to improve overall performance ?
-
here is one simple example:
one day one PARTITIONalert table pointvalues
PARTITION BY RANGE (ts) (
PARTITION b140601 VALUES LESS THAN (1401552000000),
PARTITION b140701 VALUES LESS THAN (1404144000000),
PARTITION b140801 VALUES LESS THAN (1406822400000)
PARTITION b140801 VALUES LESS MAXVALUE
)