doc-exports/docs/dws/umn/dws_03_0075.html
Lu, Huayi 7505fe85a9 DWS UMN 8.1.3.200 VERSION
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-08-31 14:40:33 +00:00

12 lines
649 B
HTML

<a name="EN-US_TOPIC_0000001381609401"></a><a name="EN-US_TOPIC_0000001381609401"></a>
<h1 class="topictitle1">Do I Need to Set a Distribution Key After Setting a Primary Key?</h1>
<div id="body0000001381609401"><p id="EN-US_TOPIC_0000001381609401__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>