MySQL Forums
Forum List  »  Partitioning

Re: Pruning by month
Posted by: John Powell
Date: February 12, 2009 08:42AM

There are several posts that explain how to use the to_days function on a datetime field, for example.
http://dev.mysql.com/tech-resources/articles/testing-partitions-large-db.htm
http://dev.mysql.com/tech-resources/articles/mysql_5.1_partitioning_with_dates.html

There is also a handy perl script which will generate the partiion values for you at http://forge.mysql.com/wiki/Partition_Helper

Options: ReplyQuote


Subject
Views
Written By
Posted
10190
October 23, 2008 04:56AM
4394
October 23, 2008 06:12PM
4645
October 23, 2008 06:17PM
4329
October 23, 2008 06:46PM
4264
October 23, 2008 07:21PM
4058
October 25, 2008 06:42PM
Re: Pruning by month
3922
February 12, 2009 08:42AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.