forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
12 lines
640 B
HTML
12 lines
640 B
HTML
<a name="EN-US_TOPIC_0000001192706417"></a><a name="EN-US_TOPIC_0000001192706417"></a>
|
|
|
|
<h1 class="topictitle1">Do I Need to Set a Distribution Key After Setting a Primary Key?</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001192706417__en-us_topic_0000001145696605_p8060118">No, you only need to set the primary key. By default, the first column of the primary key is selected as the distribution key. If both are set, the primary key must contain the distribution key.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_03_0065.html">Database Usage</a></div>
|
|
</div>
|
|
</div>
|
|
|