View Single Post
  #2  
Old 05-23-2007, 06:28 AM
Terrell Terrell is offline
Senior Member
 
Join Date: Aug 2006
Posts: 108
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 16
Terrell is on a distinguished road
Default Re: managing table size?

Try to partition the data by making the value of "time" part of the table name and dropping the tables as they become old. InnoDB is slow at deleting records if there are many secondary indexes. For inserting to secondary indexes, the insert buffer makes access more sequential. There is no such buffering for deletes. However, DROP TABLE is a very fast operation. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - managing table size?
View Single Post
  #2  
Old 05-23-2007, 06:28 AM
Terrell Terrell is offline
Senior Member
 
Join Date: Aug 2006
Posts: 108
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 16
Terrell is on a distinguished road
Default Re: managing table size?

Try to partition the data by making the value of "time" part of the table name and dropping the tables as they become old. InnoDB is slow at deleting records if there are many secondary indexes. For inserting to secondary indexes, the insert buffer makes access more sequential. There is no such buffering for deletes. However, DROP TABLE is a very fast operation. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote