doc-exports/docs/dws/dev/dws_04_0082.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:24:04 +00:00

15 lines
1.3 KiB
HTML

<a name="EN-US_TOPIC_0000001233681661"></a><a name="EN-US_TOPIC_0000001233681661"></a>
<h1 class="topictitle1">View and Joined Table Design</h1>
<div id="body1528162486098"><div class="section" id="EN-US_TOPIC_0000001233681661__section4431103710524"><h4 class="sectiontitle">View Design</h4><ul id="EN-US_TOPIC_0000001233681661__ul15374258175816"><li id="EN-US_TOPIC_0000001233681661__li18374258155814">[Proposal] Do not nest views unless they have strong dependency on each other.</li><li id="EN-US_TOPIC_0000001233681661__li95301035916">[Proposal] Try to avoid sort operations in a view definition.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001233681661__section6265550010713"><h4 class="sectiontitle">Joined Table Design</h4><ul id="EN-US_TOPIC_0000001233681661__ul1798817211596"><li id="EN-US_TOPIC_0000001233681661__li15988523595">[Proposal] Minimize joined columns across tables.</li><li id="EN-US_TOPIC_0000001233681661__li82861353592">[Proposal] Joined columns should use the same data type.</li><li id="EN-US_TOPIC_0000001233681661__li96527718596">[Proposal] The names of associated fields should show the associations. 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>