Re: Insert problems on very large DB
ALTER TABLE tablename DISABLE KEYS;
LOAD DATA ...
ALTER TABLE tablename ENABLE KEYS;
It is usually faster to build the index information all at once rather than one row at a time.
Mike Hillyer, Technical Writer
MySQL AB, www.mysql.com
Office: +1 403-380-6535
Blog:
http://www.openwin.org/mike
"The Open Source movement has become a major force across the software industry, and MySQL is the world's most popular open source database."
--Fortune Magazine
Subject
Views
Written By
Posted
4118
November 25, 2004 07:32AM
Re: Insert problems on very large DB
2504
November 25, 2004 09:47AM
2384
November 25, 2004 01:21PM
2474
November 25, 2004 01:48PM
2487
November 25, 2004 02:32PM
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.