MySQL Forums
Forum List  »  Partitioning

Re: Partition Management over rolling 180 days
Posted by: Jonathan Stephens
Date: July 26, 2007 09:55AM

Hi Kate,

I'd start with
SELECT COUNT(*) 
  FROM INFORMATION_SCHEMA.PARTITIONS
  WHERE TABLE_NAME='my_table';

and work from there.

See here:

http://dev.mysql.com/doc/refman/5.1/en/partitions-table.html

for more information about the PARTITIONS table.

Jon Stephens
MySQL Documentation Team @ Oracle
Orlando, Florida, USA

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Partition Management over rolling 180 days
3468
July 26, 2007 09:55AM


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.