MongoDB Pre-Splitting for Faster Data Loading and Importing

http://blog.zawodny.com/2011/03/06/mongodb-pre-splitting-for-faster-data-loading-and-importing/

용량 데이터를 삽이하는것은 어떤 DB를 가져다 써도 어려운 일이다.
쳥크를 미리 쪼개어 놓음으로, 시스템에게 키를 잘 분산할 수 있는 힌트를 주라는것이다.
http://www.mongodb.org/display/DOCS/Splitting+Chunks 
http://www.mongodb.org/display/DOCS/Moving+Chunks
 

- 밸런서를 꺼놓고 작업해라
- To turn off balancer, 
   > use config 
   > db.settings.update({_id:"balancer"},{$set : {stopped:true}}, 
true) 

  

top

Trackback Address :: http://exif.net/trackback/87 관련글 쓰기

Write a comment


◀ PREV : [1] : ... [30] : [31] : [32] : [33] : [34] : [35] : [36] : [37] : [38] : ... [79] : NEXT ▶