Files
doc-exports/docs/dataartsstudio/umn/dataartsstudio_01_0070.html
chenxiaoxiong f9e2808b7c DataArts UMN 20250810 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
2025-09-02 10:44:13 +00:00

75 lines
8.0 KiB
HTML

<a name="dataartsstudio_01_0070"></a><a name="dataartsstudio_01_0070"></a>
<h1 class="topictitle1">To Redis</h1>
<div id="body8662426"><div class="p" id="dataartsstudio_01_0070__en-us_topic_0108275365_p32842430161426"><a href="#dataartsstudio_01_0070__en-us_topic_0108275365_table42991210161426">Table 1</a> lists the destination job parameters when the destination link is a Redis link.
<div class="tablenoborder"><a name="dataartsstudio_01_0070__en-us_topic_0108275365_table42991210161426"></a><a name="en-us_topic_0108275365_table42991210161426"></a><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_01_0070__en-us_topic_0108275365_table42991210161426" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="dataartsstudio_01_0070__en-us_topic_0108275365_row39332395161426"><th align="left" class="cellrowborder" valign="top" width="17.28%" id="mcps1.3.1.2.2.4.1.1"><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p31807393161426">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="63.88%" id="mcps1.3.1.2.2.4.1.2"><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p26262040161426">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.84%" id="mcps1.3.1.2.2.4.1.3"><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p46850487161426">Example Value</p>
</th>
</tr>
</thead>
<tbody><tr id="dataartsstudio_01_0070__en-us_topic_0108275365_row36793127161426"><td class="cellrowborder" valign="top" width="17.28%" headers="mcps1.3.1.2.2.4.1.1 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p1651645021725">Redis Key Prefix</p>
</td>
<td class="cellrowborder" valign="top" width="63.88%" headers="mcps1.3.1.2.2.4.1.2 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p67100182153822">Key prefix, which is similar to the table name of a relational database</p>
</td>
<td class="cellrowborder" valign="top" width="18.84%" headers="mcps1.3.1.2.2.4.1.3 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p9075837153820">TABLE</p>
</td>
</tr>
<tr id="dataartsstudio_01_0070__en-us_topic_0108275365_row9852861161426"><td class="cellrowborder" valign="top" width="17.28%" headers="mcps1.3.1.2.2.4.1.1 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p97388921725">Value Storage Type</p>
</td>
<td class="cellrowborder" valign="top" width="63.88%" headers="mcps1.3.1.2.2.4.1.2 "><div class="p" id="dataartsstudio_01_0070__en-us_topic_0108275365_p1177617121725">The options are as follows:<ul id="dataartsstudio_01_0070__en-us_topic_0108275365_en-us_topic_0108275313_ul2053492417310"><li id="dataartsstudio_01_0070__en-us_topic_0108275365_en-us_topic_0108275313_li3240979417312"><strong id="dataartsstudio_01_0070__en-us_topic_0108275365_en-us_topic_0108275313_b842352706165229">String</strong>: without column name, such as <span class="uicontrol" id="dataartsstudio_01_0070__en-us_topic_0108275365_en-us_topic_0108275313_uicontrol1537531006165254"><b>value1,value2</b></span></li><li id="dataartsstudio_01_0070__en-us_topic_0108275365_en-us_topic_0108275313_li322087817310"><strong id="dataartsstudio_01_0070__en-us_topic_0108275365_en-us_topic_0108275313_b84235270616534">Hash</strong>: with column name, such as <span class="uicontrol" id="dataartsstudio_01_0070__en-us_topic_0108275365_en-us_topic_0108275313_uicontrol695539828165321"><b>column1=value1,column2=value2</b></span></li></ul>
</div>
</td>
<td class="cellrowborder" valign="top" width="18.84%" headers="mcps1.3.1.2.2.4.1.3 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p1434581421725">String</p>
</td>
</tr>
<tr id="dataartsstudio_01_0070__en-us_topic_0108275365_row898464201912"><td class="cellrowborder" valign="top" width="17.28%" headers="mcps1.3.1.2.2.4.1.1 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p998434281912">Use Column Value as Field</p>
</td>
<td class="cellrowborder" valign="top" width="63.88%" headers="mcps1.3.1.2.2.4.1.2 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p11984124241915">This parameter is displayed when <strong id="dataartsstudio_01_0070__en-us_topic_0108275365_b11938134011334">Value Storage Type</strong> is set to <strong id="dataartsstudio_01_0070__en-us_topic_0108275365_b5938104013338">HASH</strong>. Only <strong id="dataartsstudio_01_0070__en-us_topic_0108275365_b2238237518">Hash</strong> is supported. If this function is enabled, values are alternately used as fields and values in sequence except the primary key column.</p>
</td>
<td class="cellrowborder" valign="top" width="18.84%" headers="mcps1.3.1.2.2.4.1.3 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p1098454281920">Yes</p>
</td>
</tr>
<tr id="dataartsstudio_01_0070__en-us_topic_0108275365_row386417261277"><td class="cellrowborder" valign="top" width="17.28%" headers="mcps1.3.1.2.2.4.1.1 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p787272713717">Delete Same Key Before Writing</p>
</td>
<td class="cellrowborder" valign="top" width="63.88%" headers="mcps1.3.1.2.2.4.1.2 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p82611179422">Whether to delete the same key before writing.</p>
<ul id="dataartsstudio_01_0070__en-us_topic_0108275365_ul9306532167"><li id="dataartsstudio_01_0070__en-us_topic_0108275365_li103061638162"><strong id="dataartsstudio_01_0070__en-us_topic_0108275365_b17690574">No</strong>: If a key with the same name but of a different type already exists in Redis, the migration job skips the key.</li><li id="dataartsstudio_01_0070__en-us_topic_0108275365_li530620391611"><strong id="dataartsstudio_01_0070__en-us_topic_0108275365_b74395572718">Yes</strong>: Redis deletes the existing key with the same name and then performs the migration.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="18.84%" headers="mcps1.3.1.2.2.4.1.3 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p486452610714">No</p>
</td>
</tr>
<tr id="dataartsstudio_01_0070__en-us_topic_0108275365_row7944229161426"><td class="cellrowborder" valign="top" width="17.28%" headers="mcps1.3.1.2.2.4.1.1 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p5622495421725">Key Delimiter</p>
</td>
<td class="cellrowborder" valign="top" width="63.88%" headers="mcps1.3.1.2.2.4.1.2 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p5792742121725">Character used to separate table names and column names of a relational database</p>
</td>
<td class="cellrowborder" valign="top" width="18.84%" headers="mcps1.3.1.2.2.4.1.3 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p6160953321725">_</p>
</td>
</tr>
<tr id="dataartsstudio_01_0070__en-us_topic_0108275365_row29581508161426"><td class="cellrowborder" valign="top" width="17.28%" headers="mcps1.3.1.2.2.4.1.1 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p1751972421725">Value Delimiter</p>
</td>
<td class="cellrowborder" valign="top" width="63.88%" headers="mcps1.3.1.2.2.4.1.2 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p981155421725">Character used to separate columns when the storage type is string</p>
</td>
<td class="cellrowborder" valign="top" width="18.84%" headers="mcps1.3.1.2.2.4.1.3 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p5653841621725">;</p>
</td>
</tr>
<tr id="dataartsstudio_01_0070__en-us_topic_0108275365_row74581707714"><td class="cellrowborder" valign="top" width="17.28%" headers="mcps1.3.1.2.2.4.1.1 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p1882712614714">Validity period of the key value</p>
</td>
<td class="cellrowborder" valign="top" width="63.88%" headers="mcps1.3.1.2.2.4.1.2 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p11459140573">Unified time to live (TTL) of a key, in seconds</p>
</td>
<td class="cellrowborder" valign="top" width="18.84%" headers="mcps1.3.1.2.2.4.1.3 "><p id="dataartsstudio_01_0070__en-us_topic_0108275365_p1345916012717">300</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_01_0061.html">Configuring CDM Destination Job Parameters</a></div>
</div>
</div>