doc-exports/docs/dws/dev/dws_04_0082.html
Lu, Huayi ef0ada5a59 DWS DEV 20240716 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-11-02 09:07:47 +00:00

15 lines
1.4 KiB
HTML

<a name="EN-US_TOPIC_0000001510162533"></a><a name="EN-US_TOPIC_0000001510162533"></a>
<h1 class="topictitle1">Design Rules for GaussDB(DWS) Views and Associated Tables</h1>
<div id="body1528162486098"><div class="section" id="EN-US_TOPIC_0000001510162533__section4431103710524"><h4 class="sectiontitle">View Design</h4><ul id="EN-US_TOPIC_0000001510162533__ul15374258175816"><li id="EN-US_TOPIC_0000001510162533__li18374258155814">[Proposal] Do not nest views unless they have strong dependency on each other.</li><li id="EN-US_TOPIC_0000001510162533__li95301035916">[Proposal] Try to avoid sort operations in a view definition.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001510162533__section6265550010713"><h4 class="sectiontitle">Joined Table Design</h4><ul id="EN-US_TOPIC_0000001510162533__ul1798817211596"><li id="EN-US_TOPIC_0000001510162533__li15988523595">[Proposal] Minimize joined columns across tables.</li><li id="EN-US_TOPIC_0000001510162533__li82861353592">[Proposal] Joined columns should use the same data type.</li><li id="EN-US_TOPIC_0000001510162533__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</a></div>
</div>
</div>