MySQL Forums
Forum List  »  Backup

Re: Backup and trimming data idea
Posted by: Rick James
Date: July 03, 2012 01:32PM

PARTITION only the tables that can take advantage of PARTITIONing. "Big DELETEs" is a good use case for PARTITION.

If you would like to provide the following, I will make a stab at the "optimal indexes":
SHOW CREATE TABLE -- for each table
SHOW TABLE STATUS -- for each table
SELECT -- including JOIN cases

In the process of designing _your_ indexes, I can probably explain 'why' I am picking the indexes. There is a pretty good chance that my set of INDEXes will be optimal for the set of SELECTs you provide. By "optimal, I mean:
* Makes all the SELECTs efficient. (They may not be the most efficient, but they should be close.)
* Minimizes the number of indexes. (Extra indexes have a small cost to INSERTs, so one does not want to create more indexes than necessary.)

Options: ReplyQuote


Subject
Views
Written By
Posted
3526
June 22, 2012 07:34PM
1691
June 23, 2012 05:23PM
1750
June 23, 2012 05:36PM
1767
June 24, 2012 01:51PM
1804
June 25, 2012 10:16AM
1653
June 26, 2012 08:14AM
1752
June 26, 2012 08:46AM
1638
June 27, 2012 08:36AM
1735
June 27, 2012 09:03AM
1597
June 28, 2012 11:19PM
1550
June 29, 2012 07:12AM
1556
June 30, 2012 11:50AM
1630
July 02, 2012 09:47AM
Re: Backup and trimming data idea
1573
July 03, 2012 01:32PM
1617
July 05, 2012 11:13AM
1788
July 06, 2012 09:57AM
1581
July 07, 2012 10:50AM
1599
July 08, 2012 09:33AM
1591
July 16, 2012 08:08PM
1569
July 21, 2012 10:57PM


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.