forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> 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>
200 lines
36 KiB
HTML
200 lines
36 KiB
HTML
<a name="EN-US_TOPIC_0000001772696060"></a><a name="EN-US_TOPIC_0000001772696060"></a>
|
|
|
|
<h1 class="topictitle1">MySQL Configuration</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p15432164322320">MySQL parameters are used to customize rules for MySQL script migration.</p>
|
|
<p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p974844021013">Open the <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b15619748432251">features-mysql.properties</strong> file in the <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b49892160432251">config</strong> folder and configure <a href="#EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_table1740918360500">Parameters in the features-mysql.properties file</a> as required.</p>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_table1740918360500"></a><a name="en-us_topic_0000001706105077_en-us_topic_0000001434418777_table1740918360500"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_table1740918360500" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters in the <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b111252587132251">features-mysql.properties</strong> file</caption><thead align="left"><tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row7410143619509"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.6.1.1"><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p12555135512544"><strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b1255525565410">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.6.1.2"><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p75551955155410"><strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b16555145510549">Description</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.6.1.3"><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p6555855145420"><strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b08330362455">Value Range</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.6.1.4"><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p1155511556544"><strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b8555175513549">Default Value</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.6.1.5"><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p5557255195415"><strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b13370750699">Example</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row12410136145013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul1424664115313"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li524614115318">table.databaseAsSchema</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li610251913555">table.defaultSchema</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p10222141455417">Whether to use a database name as the schema name. If a database name does not exist, the user-defined schema specified by <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b61354095632251">table.schema</strong> will be used. If <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b37993161832251">table.schema</strong> is not specified, the default schema will be used.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul1892621416561"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li8926171415566">true</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1536018406572">false</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1298213155813">public</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul17929614185911"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li3929914155919">true</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li855462017591">public</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul4655174485918"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li10655144412599">table.databaseAsSchema=true</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li775184819593">table.defaultSchema=public</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row1564112919571"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul1325514464012"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li0255104619014">table.schema</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p66510294573">Name of the user-defined schema. If this parameter is specified, it will be directly used. In this case, even if <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b155270734232251">useDatabaseAsSchema</strong> is set to <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b28705681832251">true</strong>, the name of the current schema will be used.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul1433783511118"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li83371835416">schemaName</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul0455103413215"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1945553415323">null</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul17988178324"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li3988889214">table.schema=</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row1441033655019"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul193016193218"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li193015190215">table.orientation</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p741173616504">Default data storage mode. Value <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b207735700832251">ROW</strong> means row storage, and value <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b145564275432251">COLUMN</strong> means column storage.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul279023713217"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li87901372215">ROW</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li39920437216">COLUMN</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul22544509215"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li42551450626">ROW</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul113801772318"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li538110792314">table.orientation=ROW</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row15411163685011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul740915818316"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li15409381633">table.type</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p144113368505">Default table type, which can be partitioned table, replication table, round-robin table, and hash table.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul1547919301932"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li10479130232">HASH</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li164826371433">REPLICATION</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li12835142174719">ROUND-ROBIN</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul77881121048"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li27881220419">HASH</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul17631117236"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li8761911122313">table.type=HASH</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row1845125105915"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul63011061150"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1230156141520">table.tablespace</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p1215511391515">Tablespace options</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul2237132221619"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li192371422161617">COMMENT</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li139398294161">RESERVE</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul8870539131613"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li887183931610">RESERVE</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul8123135121713"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li71239510176">table.tablespace=RESERVE</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row19411103655011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul13873115753"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1187365953">table.partition-key.choose.strategy</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p0411736175018">Policy for selecting the partition key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul156611645356"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li5662345055">partitionKeyChooserStrategy</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul490916503510"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1090916501259">partitionKeyChooserStrategy</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul17269101422311"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li14269141412319">table.partition-key.choose.strategy=partitionKeyChooserStrategy</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row9411123605018"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul1822444914117"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li14224749201115">table.partition-key.name</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p16411236165011">Partition key. If this parameter is not specified, the default selection policy will be used. If there are multiple columns, separate them with commas (,). The column names are case insensitive.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul7143153018120"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li115825217132">Reserved parameter</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul11510151753213"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li2510617193214">null</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul109291617192317"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1292971782311">table.partition-key.name=</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row7411193618506"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul362125512211"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li186211955102212">table.compress.mode</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p1541110360509">Compression mode. If keyword <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b20977117232251">COMPRESS</strong> is specified in <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b90039814532251">CREATE TABLE</strong>, the compression feature will be triggered in the case of bulk <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b6078524132251">INSERT</strong> operations. If this feature is enabled, a scan will be performed on all tuple data within the page to generate a dictionary and then the tuple data will be compressed and stored. If <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b22677648532251">NOCOMPRESS</strong> is used, tables will not be compressed.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul1041113371614"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li3411833111612">COMPRESS</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li636144213161">NOCOMPRESS</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul117001550131613"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li11700750121616">NOCOMPRESS</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul196741322182319"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li66741122172315">table.compress.mode=NOCOMPRESS</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row1932683533416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul1363814603417"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li7638164673410">table.compress.row<p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p10486644361"><a name="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li7638164673410"></a><a name="en-us_topic_0000001706105077_en-us_topic_0000001434418777_li7638164673410"></a></p>
|
|
</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li06731353153514">table.compress.column</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p132633593417">Compression level of table data. It determines the compression ratio and duration.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul874542512361"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li57451125113617">YES</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li538732853616">NO<p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p336714379361"><a name="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li538732853616"></a><a name="en-us_topic_0000001706105077_en-us_topic_0000001434418777_li538732853616"></a></p>
|
|
</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li945614811363">YES</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li109425919374">NO</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li329921793718">LOW</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li32731522173711">MIDDLE</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li623192714377">HIGH</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul77354146384"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li11736171412382">NO<p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p12707173615383"><a name="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li11736171412382"></a><a name="en-us_topic_0000001706105077_en-us_topic_0000001434418777_li11736171412382"></a></p>
|
|
<p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p8315183713810"></p>
|
|
</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1697111454388">LOW</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul43516595384"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li8351859133818">table.compress.row=NO<p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p51151513915"><a name="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li8351859133818"></a><a name="en-us_topic_0000001706105077_en-us_topic_0000001434418777_li8351859133818"></a></p>
|
|
<p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p1490814516393"></p>
|
|
</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li4568596391">table.compress.column=LOW</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row12411163611501"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul358512583223"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li8585858112211">table.compress.level</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p74111136205010">Table data compression ratio and duration at the same compression level. This divides a compression level into sublevels, providing more choices for the compression ratio and duration. As the value becomes larger, the compression ratio becomes higher and duration longer at the same compression level.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul1119817612220"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1619836192215">0</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1921429142217">1</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li7233213132210">2</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li38072017102219">3</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul01691031171917"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li17169153121919">0</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul199772642318"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li169792616239">table.compress.level=0</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row1619335142210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul2433754409"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li84331853408">table.database.template</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p61941451122213">Database template</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul1279162916405"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li779142920406">Reserved parameter</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul157242317404"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li272403116404">template0</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p919415152211">table.database.template=template0</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row1067317109141"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul0453195141"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1945819191418">table.database.encoding</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p245171931415">A database code.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul4456193149"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1345181911410">UTF8</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1045319121414">SQL_ASCII</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li145101914146">GBK</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li94541913144">Latin1 codes</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul64541920143"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li11451419171418">UTF8</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p1345181921414">table.database.encoding=UTF8</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row51380295558"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul1869894645513"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1269944610559">table.index.rename</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p91396293556">Whether to rename an index when creating the index.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul1584765013563"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1884835013564">true</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li184810509566">false</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p21391290551">false</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p8139162965518">table.index.rename=false</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row16614191114577"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul15475181725715"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1047520172570">table.database.onlyFullGroupBy</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p146153117579">Whether all non-aggregation columns after SELECT are displayed in GROUP BY.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul796512645813"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li1965136145810">true</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li59659665815">false</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p18615111185711">true</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p9615181110575">table.database.onlyFullGroupBy=true</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_row9589185443114"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.1 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul3369193310326"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li153695337326">table.database.realAsFloat</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.2 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p65901854113119">Used for converting the data type. The default value is <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b36181047135418">false</strong>, indicating that the data type is converted to <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b1466455185411">DOUBLE PRECISION</strong>. When the value is changed to <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b1844133558">true</strong>, the data type is converted to <strong id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_b164731173555">REAL</strong>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.3 "><ul id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_ul1930511573328"><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li430510573323">true</li><li id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li113051357133214">false</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.4 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p859015413112">false</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.6.1.5 "><p id="EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_p859045415319">table.database.realAsFloat=false</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_16_0012.html">Configuring DSC</a></div>
|
|
</div>
|
|
</div>
|
|
|