Re: Pruning by month
Totally thinking out loud here, but would this work?
CREATE TABLE `test3` (
`id` int(11) NOT NULL,
`dtime` datetime NOT NULL,
`value` bigint(20) NOT NULL,
KEY `test3_id_dtime_idx` (`id`,`dtime`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 DELAY_KEY_WRITE=1 /*!50100
PARTITION BY HASH(month(dtime))
PARTITIONS 12;
Run a test and let me know. I am curious about this myself as I have data that would work really well if I could partition by month.
Subject
Views
Written By
Posted
10191
October 23, 2008 04:56AM
Re: Pruning by month
4395
October 23, 2008 06:12PM
4645
October 23, 2008 06:17PM
4329
October 23, 2008 06:46PM
4265
October 23, 2008 07:21PM
4058
October 25, 2008 06:42PM
3926
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.