"titlepage">
        <div>
          <div>
            <h2 class="title" style="clear: both"><a id="dbset_partition"></a>DB-&gt;set_partition()</h2>
          </div>
        </div>
      </div>
      <pre class="programlisting">#include &lt;db.h&gt;

int
DB-&gt;set_partition(DB * db, u_int32_t parts,  DBT *keys,
	u_int32_t (*db_partition_fcn) (DB *db, DBT *key));  </pre>
      <p>
		Set up partitioning for a database.  Partitioning may be used on either BTREE or HASH databases.
		Partitions may be specified