Files
doc-exports/docs/dws/dev/dws_04_0111.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

18 lines
1.9 KiB
HTML

<a name="EN-US_TOPIC_0000002136185105"></a><a name="EN-US_TOPIC_0000002136185105"></a>
<h1 class="topictitle1">TABLESPACE Object Design</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000002136185105__en-us_topic_0000002100047734_section17496104317416"><h4 class="sectiontitle">Rule 2.8 Avoiding Tablespace Customization</h4><div class="note" id="EN-US_TOPIC_0000002136185105__en-us_topic_0000002100047734_note35841540479"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000002136185105__en-us_topic_0000002100047734_p42334441334"><strong id="EN-US_TOPIC_0000002136185105__en-us_topic_0000002100047734_b1625401156112455">Impact of rule violation:</strong></p>
<ul id="EN-US_TOPIC_0000002136185105__en-us_topic_0000002100047734_ul823384423314"><li id="EN-US_TOPIC_0000002136185105__en-us_topic_0000002100047734_li152338441336"><p id="EN-US_TOPIC_0000002136185105__en-us_topic_0000002100047734_p99121244144817"><a name="EN-US_TOPIC_0000002136185105__en-us_topic_0000002100047734_li152338441336"></a><a name="en-us_topic_0000002100047734_li152338441336"></a>In a distributed scenario, using a custom tablespace to create a table can result in the table data not being stored in a distributed manner by DN, leading to storage skew.</p>
</li></ul>
<p id="EN-US_TOPIC_0000002136185105__en-us_topic_0000002100047734_p1323344463316"><strong id="EN-US_TOPIC_0000002136185105__en-us_topic_0000002100047734_b1132974702112624">Solution:</strong></p>
<ul id="EN-US_TOPIC_0000002136185105__en-us_topic_0000002100047734_ul11891537194013"><li id="EN-US_TOPIC_0000002136185105__en-us_topic_0000002100047734_li49083714015">Use the built-in default tablespace when creating a table object.</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>