Files
doc-exports/docs/dws/dev/dws_04_0082.html
luhuayi 177cd61a57 DWS DEVG 910.211 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: luhuayi <luhuayi@huawei.com>
Co-committed-by: luhuayi <luhuayi@huawei.com>
2025-05-05 07:44:03 +00:00

15 lines
1.4 KiB
HTML

<a name="EN-US_TOPIC_0000001811609569"></a><a name="EN-US_TOPIC_0000001811609569"></a>
<h1 class="topictitle1">Design Rules for GaussDB(DWS) Views and Associated Tables</h1>
<div id="body1528162486098"><div class="section" id="EN-US_TOPIC_0000001811609569__section4431103710524"><h4 class="sectiontitle">View Design</h4><ul id="EN-US_TOPIC_0000001811609569__ul15374258175816"><li id="EN-US_TOPIC_0000001811609569__li18374258155814">[Proposal] Do not nest views unless they have strong dependency on each other.</li><li id="EN-US_TOPIC_0000001811609569__li95301035916">[Proposal] Try to avoid sort operations in a view definition.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001811609569__section6265550010713"><h4 class="sectiontitle">Joined Table Design</h4><ul id="EN-US_TOPIC_0000001811609569__ul1798817211596"><li id="EN-US_TOPIC_0000001811609569__li15988523595">[Proposal] Minimize joined columns across tables.</li><li id="EN-US_TOPIC_0000001811609569__li82861353592">[Proposal] Joined columns should use the same data type.</li><li id="EN-US_TOPIC_0000001811609569__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">GaussDB(DWS) Database Object Design Rules</a></div>
</div>
</div>