MYSQL
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists MYSQL

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old June 12th, 2008, 06:31 AM
Ananda Kumar
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
enable and disable keys

Hi All,
We are doing load data into a table using LAD DATA INFILE process. Below is
the method we are following.

1. create empty table with all the indexes.
2. disable keys
3. Load data using LAD DATA INFILE, close to 99 Million records which takes
around 3 hrs
4 . Enable keys

Table size is around 19.5 gb

There is one primary key, 2 non unique indexes and one FULLTEXT INDEX.

Enable kyes goes fine for couple of hrs with "REPAIR BY TMP", but then
switches to "REPAIR BY KEYCACHE" and writes a log in the error log
file "Warning:
Enabling keys got errno 28, retrying"

What could be the problem.

System has 8 cpu and 16GB RAM

I have set myisam_max_sort_file_size=98GB
myisam_sort_buffer_size=750MB.

/tmp folder has 16GB free space.

please let me know, this problem is causing lot of dealy for other process
to run.

regards
anandkl

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists MYSQL > enable and disable keys


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT