I have a huge table that stores many tracked events, such as a user click.
The table is already at 10 million, and it is growing every day. Queries begin to slow down when I try to extract events from a large timeframe, and after reading a little on this subject, I understand that splitting a table can improve performance.
What I want to do is split the table by month.
I just found manuals that show how to split manually each month, is there a way to just tell MySQL about split by month and it will do it automatically?
If not, then what is the manual command for this, given that my column-partitioned datetime number?
mysql partition
shaharmor
source share