forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
17 lines
1.8 KiB
HTML
17 lines
1.8 KiB
HTML
<a name="EN-US_TOPIC_0000002100586266"></a><a name="EN-US_TOPIC_0000002100586266"></a>
|
|
|
|
<h1 class="topictitle1">VIEW Object Design</h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000002100586266__en-us_topic_0000002135806933_section0606333194410"><h4 class="sectiontitle">Suggestion 2.16: Limiting View Nesting to Three Layers</h4><div class="note" id="EN-US_TOPIC_0000002100586266__en-us_topic_0000002135806933_note4102113972211"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000002100586266__en-us_topic_0000002135806933_p3291449204611"><strong id="EN-US_TOPIC_0000002100586266__en-us_topic_0000002135806933_b98597421810739">Impact of rule violation:</strong></p>
|
|
<ul id="EN-US_TOPIC_0000002100586266__en-us_topic_0000002135806933_ul13291154984618"><li id="EN-US_TOPIC_0000002100586266__en-us_topic_0000002135806933_li117521552066">Too many nested views can lead to unstable execution plans and unpredictable time consumption.</li><li id="EN-US_TOPIC_0000002100586266__en-us_topic_0000002135806933_li204072141712">The risk of rebuilding objects on which views depend is high and the probability of lock conflicts increases.</li></ul>
|
|
<p id="EN-US_TOPIC_0000002100586266__en-us_topic_0000002135806933_p1929111496465"><strong id="EN-US_TOPIC_0000002100586266__en-us_topic_0000002135806933_b565001303112626">Solution:</strong></p>
|
|
<ul id="EN-US_TOPIC_0000002100586266__en-us_topic_0000002135806933_ul45271052172"><li id="EN-US_TOPIC_0000002100586266__en-us_topic_0000002135806933_li352714521971">Create views based on physical tables.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0104.html">GaussDB(DWS) Object Design Specifications</a></div>
|
|
</div>
|
|
</div>
|
|
|