title: Split MongoDB data into several files
body: <p>I've been reading about split Mongo databases and escalate through <a href="http://blog.zawodny.com/2011/03/06/mongodb-pre-splitting-for-faster-data-loading-and-importing/" rel="nofollow">shards</a>, but I'm thinking if possible to split a mongo database in the same server by chunks and store that in different files, the range of shard keys will be calculated using a formula considering the number of week and the current year something like (year)x54 + current week number of the year</p>
  
  <p>let's say 2010x54 + 11 = 108551</p>
  
  <p>Ideally what I have in mind is to split the files by month like the following:</p>
  
  <pre><code>chunk01 (shardKeyID 108551 -&gt; 108555) ----&gt; Server1---&gt; physical file 01
  chunk02 (shardKeyID 108556 -&gt; 108560) ----&gt; Server1---&gt; physical file 02
  chunk03 (shardKeyID 108561 -&gt; 108565) ----&gt; Server1---&gt; physical file 03
  </code></pre>
  
  <p>I've tried to do it in a single server, but if I it set up for shards I just get a subset of the documents in the DB, something that make sense because the other part will be stores in the other shard in a different server.</p>
  
  <p>Any Ideas?</p>