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.
Subject
Views
Written By
Posted
6305
August 03, 2012 09:44AM
4239
August 03, 2012 11:04AM
2308
August 03, 2012 03:06PM
1979
August 04, 2012 04:35AM
1989
August 07, 2012 08:12AM
1632
August 07, 2012 08:39AM
2081
August 07, 2012 10:21AM
Re: mysqlimport get very slow for large files
1570
August 05, 2012 08:58AM
1449
August 07, 2012 11:07AM
1864
August 08, 2012 08:34AM
1329
August 08, 2012 04:19PM
2978
August 09, 2012 04:15AM
1649
August 09, 2012 07:37PM
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.