mysql database automatic partitioning

后端 未结 3 1431
借酒劲吻你
借酒劲吻你 2020-12-29 06:51

I have a mysql database table that I want to partition by date, particularly by month & year. However, when new data is added for a new month, I don\'t want to need to m

3条回答
  •  我在风中等你
    2020-12-29 07:29

    I will do what the other done (post a link) Quick Introdunction to MySQL Partitioning

    (look at page 50 for what you need - partition by date) Edit: I reread your post more carefully - if you want to change partitions by month why don't you create a Mysql event that does that

提交回复
热议问题