doc-exports/docs/dws/dev/dws_04_0082.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
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>
2023-01-19 13:37:49 +00:00

15 lines
1.3 KiB
HTML

<a name="EN-US_TOPIC_0000001145894807"></a><a name="EN-US_TOPIC_0000001145894807"></a>
<h1 class="topictitle1">View and Joined Table Design</h1>
<div id="body1528162486098"><div class="section" id="EN-US_TOPIC_0000001145894807__section4431103710524"><h4 class="sectiontitle">View Design</h4><ul id="EN-US_TOPIC_0000001145894807__ul15374258175816"><li id="EN-US_TOPIC_0000001145894807__li18374258155814">[Proposal] Do not nest views unless they have strong dependency on each other.</li><li id="EN-US_TOPIC_0000001145894807__li95301035916">[Proposal] Try to avoid sort operations in a view definition.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001145894807__section6265550010713"><h4 class="sectiontitle">Joined Table Design</h4><ul id="EN-US_TOPIC_0000001145894807__ul1798817211596"><li id="EN-US_TOPIC_0000001145894807__li15988523595">[Proposal] Minimize joined columns across tables.</li><li id="EN-US_TOPIC_0000001145894807__li82861353592">[Proposal] Joined columns should use the same data type.</li><li id="EN-US_TOPIC_0000001145894807__li96527718596">[Proposal] The names of joined columns should indicate their relationship. For example, they can use the same name.</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0077.html">Database Object Design</a></div>
</div>
</div>