How to distribute the records over mnesia fragments?
<p>I have two erlang MNESIA nodes running in the cluster.</p>

<p>I have created table by the below properties.</p>

<pre><code>mnesia:create_table(vmq_offline_store,[
                {frag_properties,[
                    {node_pool,[node()|nodes()]},
                    {hash_module,verneDB_frag_hash},
                    {n_fragments,8},
                    {n_disc_only_copies,length([node()|nodes()])}]
                },
                {index,[]},{type, bag},
                {attributes,record_info(fields,vmq_offline_store)}]).
</code></pre>

<p>I could see all the 8 fragments created on the two erlang nodes.</p>

<p>After this,I inserted 50000 records into the table using RPC call from external node.These 50000 records inserted into only vmq_offline_store. Not distributed over all the fragments.</p>

<pre><code>vmq_offline_store: with 50000    records occupying 2096701142 bytes on disc
vmq_offline_store_frag2: with 0        records occupying 5464     bytes on disc
vmq_offline_store_frag3: with 0        records occupying 5464     bytes on disc
vmq_offline_store_frag4: with 0        records occupying 5464     bytes on disc
vmq_offline_store_frag5: with 0        records occupying 5464     bytes on disc
vmq_offline_store_frag6: with 0        records occupying 5464     bytes on disc
vmq_offline_store_frag7: with 0        records occupying 5464     bytes on disc
vmq_offline_store_frag8: with 0        records occupying 5464     bytes on disc
</code></pre>

<p>Could you please help me how to distribute the records over the fragments?</p>