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, 11:31 AM
Sid Lane
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
1B row/50GB myisam w/5 indexes - build after or during load?

hey,

as the sub says I have a dump of a 50GB (MYD/60GB MYI) table I need to load
on another server.

I guess the bigger question is how can I optimize this, particularly the
index builds? I had always thought is was best in these cases to create the
table w/o any indexes, load the rows then create the keys but watching
what's happening on the filesystem makes me suspect MySQL's rebuilding the
entire table and previously created indexes with each incremental index
added - is this the case? I see that mysqldump puts all the keys in the
create table statement (vs. exp which creates them post-rows) which
would seem to imply it's better to extended insert with existing indexes vs
creating them afterward

bottom line: how do I optimize this load (my.cnf settings, deferred index
build [or not], etc)? I have the box completely to myself so nothing's off
the table

thanks!

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists MYSQL > 1B row/50GB myisam w/5 indexes - build after or during load?


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-2009 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT