MySQL Forums
Forum List  »  Performance

Re: mysqlimport get very slow for large files
Posted by: Rick James
Date: August 05, 2012 08:58AM

What SELECTs need those indexes? I'm fishing for removing some indexes and/or changing to "compound" indexes.

Do your INTs values need to get to 4 billion? Perhaps MEDIUMINT UNSIGNED (up to 16M) or SMALLINT UNSIGNED (up to 65K) would work? Smaller --> faster.

This smells like a "Fact" table in a Data Warehouse application; is it? My Rule of Thumb on DW is to have nothing but a PRIMARY KEY on the Fact table, then have Summary tables with useful indexes.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: mysqlimport get very slow for large files
1570
August 05, 2012 08:58AM


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.