doc-exports/docs/css/umn/css_01_0114.html
Wuwan, Qi 050b395397 CSS UMN 23.2.1 20230926
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com>
Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
2024-01-10 14:23:15 +00:00

522 lines
33 KiB
HTML

<a name="css_01_0114"></a><a name="css_01_0114"></a>
<h1 class="topictitle1">Freezing an Index</h1>
<div id="body0000001081766445"><div class="section" id="css_01_0114__en-us_topic_0000001223594408_section18138115718351"><h4 class="sectiontitle">Precautions</h4><ul id="css_01_0114__en-us_topic_0000001223594408_ul1922072711424"><li id="css_01_0114__en-us_topic_0000001223594408_li622018272422">Before freezing an index, ensure no data is being written to it. The index will be set to read only before being frozen, and data write will fail.</li><li id="css_01_0114__en-us_topic_0000001223594408_li57431248134219">After an index is frozen,<ul id="css_01_0114__en-us_topic_0000001223594408_ul416109144310"><li id="css_01_0114__en-us_topic_0000001223594408_li1962141164316">It becomes read-only.</li><li id="css_01_0114__en-us_topic_0000001223594408_li931241624313">The index data will be dumped to OBS. This process occupies network bandwidth.</li><li id="css_01_0114__en-us_topic_0000001223594408_li621062754315">The query latency of a dumped index will increase. During aggregation, the latency of processing complex queries and reading a large volume of data is long.</li><li id="css_01_0114__en-us_topic_0000001223594408_li118571732134312">It cannot be unfrozen. That is, a read-only index cannot be changed to writable.</li><li id="css_01_0114__en-us_topic_0000001223594408_li1546863818433">After the freezing is complete, the index data in your local disks will be deleted.</li></ul>
</li></ul>
</div>
<div class="section" id="css_01_0114__en-us_topic_0000001223594408_section1793092453618"><h4 class="sectiontitle">Procedure</h4><ol id="css_01_0114__en-us_topic_0000001223594408_ol1380612341384"><li id="css_01_0114__en-us_topic_0000001223594408_li1274916552817">Log in to the CSS management console.</li><li id="css_01_0114__en-us_topic_0000001223594408_li1274935516811">Choose <strong id="css_01_0114__en-us_topic_0000001223594408_b1755962315185">Clusters</strong> in the navigation pane. On the <strong id="css_01_0114__en-us_topic_0000001223594408_b2018511917365">Clusters</strong> page, locate the target cluster and click <strong id="css_01_0114__en-us_topic_0000001223594408_b09774172199">Access Kibana</strong> in the <strong id="css_01_0114__en-us_topic_0000001223594408_b556011208192">Operation</strong> column.</li><li id="css_01_0114__en-us_topic_0000001223594408_li927171291011">Click <strong id="css_01_0114__en-us_topic_0000001223594408_b13435132261916">Dev Tools</strong> in the navigation tree on the left.</li><li id="css_01_0114__en-us_topic_0000001223594408_li79781447687"><a name="css_01_0114__en-us_topic_0000001223594408_li79781447687"></a><a name="en-us_topic_0000001223594408_li79781447687"></a>Run the following command to freeze a specified index and dump it to OBS:<pre class="screen" id="css_01_0114__en-us_topic_0000001223594408_screen1911145510210">POST ${index_name}/_freeze_low_cost</pre>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_01_0114__en-us_topic_0000001223594408_table984014152137" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="css_01_0114__en-us_topic_0000001223594408_row28415157136"><th align="left" class="cellrowborder" valign="top" width="27.6%" id="mcps1.3.2.2.4.2.2.3.1.1"><p id="css_01_0114__en-us_topic_0000001223594408_p1184113155139">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="72.39999999999999%" id="mcps1.3.2.2.4.2.2.3.1.2"><p id="css_01_0114__en-us_topic_0000001223594408_p17841315131319">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0114__en-us_topic_0000001223594408_row10841115171317"><td class="cellrowborder" valign="top" width="27.6%" headers="mcps1.3.2.2.4.2.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p138411015161310">index_name</p>
</td>
<td class="cellrowborder" valign="top" width="72.39999999999999%" headers="mcps1.3.2.2.4.2.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p5841161571312">Name of the index to be frozen.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="css_01_0114__en-us_topic_0000001223594408_p1499919920218">Information similar to the following is displayed:</p>
<pre class="screen" id="css_01_0114__en-us_topic_0000001223594408_screen1714151681511">{
"freeze_uuid": "pdsRgUtSTymVDWR_HoTGFw"
}</pre>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_01_0114__en-us_topic_0000001223594408_table19357183012175" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response parameter</caption><thead align="left"><tr id="css_01_0114__en-us_topic_0000001223594408_row135820307176"><th align="left" class="cellrowborder" valign="top" width="31.180000000000003%" id="mcps1.3.2.2.4.5.2.3.1.1"><p id="css_01_0114__en-us_topic_0000001223594408_p1629441171717">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="68.82000000000001%" id="mcps1.3.2.2.4.5.2.3.1.2"><p id="css_01_0114__en-us_topic_0000001223594408_p1262954119179">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0114__en-us_topic_0000001223594408_row113588303174"><td class="cellrowborder" valign="top" width="31.180000000000003%" headers="mcps1.3.2.2.4.5.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p19358153013173">freeze_uuid</p>
</td>
<td class="cellrowborder" valign="top" width="68.82000000000001%" headers="mcps1.3.2.2.4.5.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p835813021718">After an index freezing request is submitted, an asynchronous job will be started. The request returns the asynchronous job ID, which can be used to query the progress of the asynchronous job.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note" id="css_01_0114__en-us_topic_0000001223594408_note1519795314383"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="css_01_0114__en-us_topic_0000001223594408_p1719775314384">After an index freezing request is submitted, data cannot be written to the index. During the index freezing, query requests are not affected. After the freezing is complete, the index is closed and then opened. During this period, the index cannot be queried, and the cluster may be in the <strong id="css_01_0114__b48771622563">red</strong> status for a short time. The index is restored after being opened.</p>
</div></div>
</li><li id="css_01_0114__en-us_topic_0000001223594408_li1280653411813">Run the following command to check the freezing task progress:<pre class="screen" id="css_01_0114__en-us_topic_0000001223594408_screen04355311249">GET _freeze_low_cost_progress/${freeze_uuid}</pre>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_01_0114__en-us_topic_0000001223594408_table815581572510" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameter description</caption><thead align="left"><tr id="css_01_0114__en-us_topic_0000001223594408_row191551815152516"><th align="left" class="cellrowborder" valign="top" width="27.6%" id="mcps1.3.2.2.5.2.2.3.1.1"><p id="css_01_0114__en-us_topic_0000001223594408_p19155415102511">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="72.39999999999999%" id="mcps1.3.2.2.5.2.2.3.1.2"><p id="css_01_0114__en-us_topic_0000001223594408_p315531513258">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0114__en-us_topic_0000001223594408_row1115561517251"><td class="cellrowborder" valign="top" width="27.6%" headers="mcps1.3.2.2.5.2.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p81551715182520">freeze_uuid</p>
</td>
<td class="cellrowborder" valign="top" width="72.39999999999999%" headers="mcps1.3.2.2.5.2.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p315651572518">Asynchronous task ID, which is obtained in <a href="#css_01_0114__en-us_topic_0000001223594408_li79781447687">4</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="css_01_0114__en-us_topic_0000001223594408_p1831717182714">Information similar to the following is displayed:</p>
<pre class="screen" id="css_01_0114__en-us_topic_0000001223594408_screen11317815278">{
"stage" : "STARTED",
"shards_stats" : {
"INIT" : 0,
"FAILURE" : 0,
"DONE" : 0,
"STARTED" : 3,
"ABORTED" : 0
},
"indices" : {
"data1" : [
{
"uuid" : "7OS-G1-tRke2jHZPlckexg",
"index" : {
"name" : "data1",
"index_id" : "4b5PHXJITLaS6AurImfQ9A",
"shard" : 2
},
"start_ms" : 1611972010852,
"end_ms" : -1,
"total_time" : "10.5s",
"total_time_in_millis" : 10505,
"stage" : "STARTED",
"failure" : null,
"size" : {
"total_bytes" : 3211446689,
"finished_bytes" : 222491269,
"percent" : "6.0%"
},
"file" : {
"total_files" : 271,
"finished_files" : 12,
"percent" : "4.0%"
},
"rate_limit" : {
"paused_times" : 1,
"paused_nanos" : 946460970
}
},
{
"uuid" : "7OS-G1-tRke2jHZPlckexg",
"index" : {
"name" : "data1",
"index_id" : "4b5PHXJITLaS6AurImfQ9A",
"shard" : 0
},
"start_ms" : 1611972010998,
"end_ms" : -1,
"total_time" : "10.3s",
"total_time_in_millis" : 10359,
"stage" : "STARTED",
"failure" : null,
"size" : {
"total_bytes" : 3221418186,
"finished_bytes" : 272347118,
"percent" : "8.0%"
},
"file" : {
"total_files" : 372,
"finished_files" : 16,
"percent" : "4.0%"
},
"rate_limit" : {
"paused_times" : 5,
"paused_nanos" : 8269016764
}
},
{
"uuid" : "7OS-G1-tRke2jHZPlckexg",
"index" : {
"name" : "data1",
"index_id" : "4b5PHXJITLaS6AurImfQ9A",
"shard" : 1
},
"start_ms" : 1611972011021,
"end_ms" : -1,
"total_time" : "10.3s",
"total_time_in_millis" : 10336,
"stage" : "STARTED",
"failure" : null,
"size" : {
"total_bytes" : 3220787498,
"finished_bytes" : 305789614,
"percent" : "9.0%"
},
"file" : {
"total_files" : 323,
"finished_files" : 14,
"percent" : "4.0%"
},
"rate_limit" : {
"paused_times" : 3,
"paused_nanos" : 6057933087
}
}
]
}
}</pre>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_01_0114__en-us_topic_0000001223594408_table123173132712" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response parameters</caption><thead align="left"><tr id="css_01_0114__en-us_topic_0000001223594408_row1931718117276"><th align="left" class="cellrowborder" valign="top" width="20.919999999999998%" id="mcps1.3.2.2.5.5.2.3.1.1"><p id="css_01_0114__en-us_topic_0000001223594408_p43176122711">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="79.08%" id="mcps1.3.2.2.5.5.2.3.1.2"><p id="css_01_0114__en-us_topic_0000001223594408_p03181515273">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0114__en-us_topic_0000001223594408_row1931813112279"><td class="cellrowborder" valign="top" width="20.919999999999998%" headers="mcps1.3.2.2.5.5.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p19183717193312">stage</p>
</td>
<td class="cellrowborder" valign="top" width="79.08%" headers="mcps1.3.2.2.5.5.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p17182111713330">Status. Its value can be:</p>
<ul id="css_01_0114__en-us_topic_0000001223594408_ul1936411531014"><li id="css_01_0114__en-us_topic_0000001223594408_li5365553918"><strong id="css_01_0114__en-us_topic_0000001223594408_b861994715215">INIT</strong>: The instance has just started or is being initialized.</li><li id="css_01_0114__en-us_topic_0000001223594408_li10461355515"><strong id="css_01_0114__en-us_topic_0000001223594408_b110206276910390">FAILURE</strong>: failed</li><li id="css_01_0114__en-us_topic_0000001223594408_li156307587112"><strong id="css_01_0114__en-us_topic_0000001223594408_b1971832810227">DONE</strong>: complete</li><li id="css_01_0114__en-us_topic_0000001223594408_li4900191723"><strong id="css_01_0114__en-us_topic_0000001223594408_b1212123119227">STARTED</strong>: started</li><li id="css_01_0114__en-us_topic_0000001223594408_li192761956214"><strong id="css_01_0114__en-us_topic_0000001223594408_b65501132132215">ABORTED</strong>: Canceled. This field is reserved.</li></ul>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row13605194920218"><td class="cellrowborder" valign="top" width="20.919999999999998%" headers="mcps1.3.2.2.5.5.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p76063495212">shards_stats</p>
</td>
<td class="cellrowborder" valign="top" width="79.08%" headers="mcps1.3.2.2.5.5.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p1260618496217">Numbers of shards in each state.</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row114106538217"><td class="cellrowborder" valign="top" width="20.919999999999998%" headers="mcps1.3.2.2.5.5.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p13411753221">indices</p>
</td>
<td class="cellrowborder" valign="top" width="79.08%" headers="mcps1.3.2.2.5.5.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p114119534214">Index status details.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_01_0114__en-us_topic_0000001223594408_table8976322045" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Return values of <strong id="css_01_0114__en-us_topic_0000001223594408_b187441223202313">indices</strong></caption><thead align="left"><tr id="css_01_0114__en-us_topic_0000001223594408_row6976922742"><th align="left" class="cellrowborder" valign="top" width="28.63%" id="mcps1.3.2.2.5.6.2.3.1.1"><p id="css_01_0114__en-us_topic_0000001223594408_p7976162213415">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="71.37%" id="mcps1.3.2.2.5.6.2.3.1.2"><p id="css_01_0114__en-us_topic_0000001223594408_p17976922949">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0114__en-us_topic_0000001223594408_row169761322344"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p113672515415">uuid</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p936510511246">UUID of the freezing operation</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row7995042642"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p179951742344">index</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p59951242040">Index and shard information</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row466317472044"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p1366410475412">start_ms</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p136642479412">Start time</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row166642471948"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p9664114719411">end_ms</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p126648479418">End time. If no end time is specified, the value <strong id="css_01_0114__en-us_topic_0000001223594408_b1561171517249">-1</strong> is displayed.</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row5239171416613"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p132402014763">total_time</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p1224014141961">Time spent</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row224017141669"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p122403141566">total_time_in_millis</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p132409141669">Time spent, in milliseconds</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row16240171410611"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p132404141065">stage</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p724010141869">Status of the current shard.</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row746911174617"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p1746910171467">failure</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p184691017862">Failure cause. If no failure occurs, <strong id="css_01_0114__en-us_topic_0000001223594408_b1295712473243">null</strong> is displayed.</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row104691417564"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p346931718610">size.total_bytes</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p94698171962">Size of files to be frozen, in bytes</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row546919178617"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p1946901713610">size.finished_bytes</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p546921710617">Frozen bytes</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row123010401883"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p8301124019813">size.percent</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p1630116408815">Percentage of frozen bytes</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row630119401184"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p19859163599">file.total_bytes</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p58594313913">Number of files to be frozen</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row10302440489"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p128591237917">file.finished_bytes</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p168591731596">Number of frozen files</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row430274016813"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p78599312913">file.percent</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p14859153499">Percentage of frozen files</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row67821332892"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p1534019411299">rate_limit.paused_times</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p168651733490">Number of times that freezing is suspended due to rate limit</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row137823323910"><td class="cellrowborder" valign="top" width="28.63%" headers="mcps1.3.2.2.5.6.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p168661433791">rate_limit.paused_nanos</p>
</td>
<td class="cellrowborder" valign="top" width="71.37%" headers="mcps1.3.2.2.5.6.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p3866113314912">Duration of freezing task suspension due to rate limit, in nanoseconds</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="css_01_0114__en-us_topic_0000001223594408_p1758184111346">The following parameters are added to a frozen index. For details, see <a href="#css_01_0114__en-us_topic_0000001223594408_table1196310214353">Table 6</a>.</p>
<div class="tablenoborder"><a name="css_01_0114__en-us_topic_0000001223594408_table1196310214353"></a><a name="en-us_topic_0000001223594408_table1196310214353"></a><table cellpadding="4" cellspacing="0" summary="" id="css_01_0114__en-us_topic_0000001223594408_table1196310214353" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Frozen index parameters</caption><thead align="left"><tr id="css_01_0114__en-us_topic_0000001223594408_row189632213354"><th align="left" class="cellrowborder" valign="top" width="37.940000000000005%" id="mcps1.3.2.2.5.8.2.3.1.1"><p id="css_01_0114__en-us_topic_0000001223594408_p19963420354">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="62.06%" id="mcps1.3.2.2.5.8.2.3.1.2"><p id="css_01_0114__en-us_topic_0000001223594408_p16864914153520">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0114__en-us_topic_0000001223594408_row1963229359"><td class="cellrowborder" valign="top" width="37.940000000000005%" headers="mcps1.3.2.2.5.8.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p49631428356">index.frozen_low_cost</p>
</td>
<td class="cellrowborder" valign="top" width="62.06%" headers="mcps1.3.2.2.5.8.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p18642146353">Whether an index is frozen. The value is <strong id="css_01_0114__en-us_topic_0000001223594408_b118544659610390">true</strong>.</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row169632210353"><td class="cellrowborder" valign="top" width="37.940000000000005%" headers="mcps1.3.2.2.5.8.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p296319273519">index.blocks.write</p>
</td>
<td class="cellrowborder" valign="top" width="62.06%" headers="mcps1.3.2.2.5.8.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p20864114143517">Whether data writing is denied in a frozen index. The value is <strong id="css_01_0114__en-us_topic_0000001223594408_b193330456710390">true</strong>.</p>
</td>
</tr>
<tr id="css_01_0114__en-us_topic_0000001223594408_row16964921359"><td class="cellrowborder" valign="top" width="37.940000000000005%" headers="mcps1.3.2.2.5.8.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p1796412220350">index.store.type</p>
</td>
<td class="cellrowborder" valign="top" width="62.06%" headers="mcps1.3.2.2.5.8.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p7864181419352">Storage type of an index. The value is <strong id="css_01_0114__en-us_topic_0000001223594408_b128609376290">obs</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="css_01_0114__en-us_topic_0000001223594408_li1780623419814">After an index is frozen, its data will be cached. Run the following command to check the current cache status: For details about the cache, see <a href="css_01_0116.html">Configuring Cache</a>.<pre class="screen" id="css_01_0114__en-us_topic_0000001223594408_screen3226103316442">GET _frozen_stats
GET _frozen_stats/${node_id}</pre>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_01_0114__en-us_topic_0000001223594408_table188139184612" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Parameter description</caption><thead align="left"><tr id="css_01_0114__en-us_topic_0000001223594408_row16823919464"><th align="left" class="cellrowborder" valign="top" width="30.94%" id="mcps1.3.2.2.6.3.2.3.1.1"><p id="css_01_0114__en-us_topic_0000001223594408_p1853944615">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="69.06%" id="mcps1.3.2.2.6.3.2.3.1.2"><p id="css_01_0114__en-us_topic_0000001223594408_p138113934612">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0114__en-us_topic_0000001223594408_row148143918469"><td class="cellrowborder" valign="top" width="30.94%" headers="mcps1.3.2.2.6.3.2.3.1.1 "><p id="css_01_0114__en-us_topic_0000001223594408_p482039174614">node_id</p>
</td>
<td class="cellrowborder" valign="top" width="69.06%" headers="mcps1.3.2.2.6.3.2.3.1.2 "><p id="css_01_0114__en-us_topic_0000001223594408_p198539114610">Node ID, which can be used to obtain the cache status of a node.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="css_01_0114__en-us_topic_0000001223594408_p107861228114412">Information similar to the following is displayed:</p>
<pre class="screen" id="css_01_0114__en-us_topic_0000001223594408_screen1820145934412">{
"_nodes" : {
"total" : 3,
"successful" : 3,
"failed" : 0
},
"cluster_name" : "css-zzz1",
"nodes" : {
"7uwKO38RRoaON37YsXhCYw" : {
"name" : "css-zzz1-ess-esn-2-1",
"transport_address" : "10.0.0.247:9300",
"host" : "10.0.0.247",
"ip" : "10.0.0.247",
"block_cache" : {
"default" : {
"type" : "memory",
"block_cache_capacity" : 8192,
"block_cache_blocksize" : 8192,
"block_cache_size" : 12,
"block_cache_hit" : 14,
"block_cache_miss" : 0,
"block_cache_eviction" : 0,
"block_cache_store_fail" : 0
}
},
"obs_stats" : {
"list" : {
"obs_list_count" : 17,
"obs_list_ms" : 265,
"obs_list_avg_ms" : 15
},
"get_meta" : {
"obs_get_meta_count" : 79,
"obs_get_meta_ms" : 183,
"obs_get_meta_avg_ms" : 2
},
"get_obj" : {
"obs_get_obj_count" : 12,
"obs_get_obj_ms" : 123,
"obs_get_obj_avg_ms" : 10
},
"put_obj" : {
"obs_put_obj_count" : 12,
"obs_put_obj_ms" : 2451,
"obs_put_obj_avg_ms" : 204
},
"obs_op_total" : {
"obs_op_total_ms" : 3022,
"obs_op_total_count" : 120,
"obs_op_avg_ms" : 25
}
},
"reader_cache" : {
"hit_count" : 0,
"miss_count" : 1,
"load_success_count" : 1,
"load_exception_count" : 0,
"total_load_time" : 291194714,
"eviction_count" : 0
}
},
"73EDpEqoQES749umJqxOzQ" : {
"name" : "css-zzz1-ess-esn-3-1",
"transport_address" : "10.0.0.201:9300",
"host" : "10.0.0.201",
"ip" : "10.0.0.201",
"block_cache" : {
"default" : {
"type" : "memory",
"block_cache_capacity" : 8192,
"block_cache_blocksize" : 8192,
"block_cache_size" : 12,
"block_cache_hit" : 14,
"block_cache_miss" : 0,
"block_cache_eviction" : 0,
"block_cache_store_fail" : 0
}
},
"obs_stats" : {
"list" : {
"obs_list_count" : 17,
"obs_list_ms" : 309,
"obs_list_avg_ms" : 18
},
"get_meta" : {
"obs_get_meta_count" : 79,
"obs_get_meta_ms" : 216,
"obs_get_meta_avg_ms" : 2
},
"get_obj" : {
"obs_get_obj_count" : 12,
"obs_get_obj_ms" : 140,
"obs_get_obj_avg_ms" : 11
},
"put_obj" : {
"obs_put_obj_count" : 12,
"obs_put_obj_ms" : 1081,
"obs_put_obj_avg_ms" : 90
},
"obs_op_total" : {
"obs_op_total_ms" : 1746,
"obs_op_total_count" : 120,
"obs_op_avg_ms" : 14
}
},
"reader_cache" : {
"hit_count" : 0,
"miss_count" : 1,
"load_success_count" : 1,
"load_exception_count" : 0,
"total_load_time" : 367179751,
"eviction_count" : 0
}
},
"EF8WoLCUQbqJl1Pkqo9-OA" : {
"name" : "css-zzz1-ess-esn-1-1",
"transport_address" : "10.0.0.18:9300",
"host" : "10.0.0.18",
"ip" : "10.0.0.18",
"block_cache" : {
"default" : {
"type" : "memory",
"block_cache_capacity" : 8192,
"block_cache_blocksize" : 8192,
"block_cache_size" : 12,
"block_cache_hit" : 14,
"block_cache_miss" : 0,
"block_cache_eviction" : 0,
"block_cache_store_fail" : 0
}
},
"obs_stats" : {
"list" : {
"obs_list_count" : 17,
"obs_list_ms" : 220,
"obs_list_avg_ms" : 12
},
"get_meta" : {
"obs_get_meta_count" : 79,
"obs_get_meta_ms" : 139,
"obs_get_meta_avg_ms" : 1
},
"get_obj" : {
"obs_get_obj_count" : 12,
"obs_get_obj_ms" : 82,
"obs_get_obj_avg_ms" : 6
},
"put_obj" : {
"obs_put_obj_count" : 12,
"obs_put_obj_ms" : 879,
"obs_put_obj_avg_ms" : 73
},
"obs_op_total" : {
"obs_op_total_ms" : 1320,
"obs_op_total_count" : 120,
"obs_op_avg_ms" : 11
}
},
"reader_cache" : {
"hit_count" : 0,
"miss_count" : 1,
"load_success_count" : 1,
"load_exception_count" : 0,
"total_load_time" : 235706838,
"eviction_count" : 0
}
}
}
}
</pre>
</li><li id="css_01_0114__en-us_topic_0000001223594408_li680614341286">Run the following command to reset the cache status:<pre class="screen" id="css_01_0114__en-us_topic_0000001223594408_screen17747182004910">POST _frozen_stats/reset</pre>
<p id="css_01_0114__en-us_topic_0000001223594408_p134231015144912">Information similar to the following is displayed:</p>
<pre class="screen" id="css_01_0114__en-us_topic_0000001223594408_screen39961919135116">{
"_nodes" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"cluster_name" : "Es-0325-007_01",
"nodes" : {
"mqTdk2YRSPyOSXfesREFSg" : {
"result" : "ok"
}
}
}</pre>
<div class="note" id="css_01_0114__en-us_topic_0000001223594408_note86441935185112"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="css_01_0114__en-us_topic_0000001223594408_p1964463519518">This command is used to debug performance issues. If you reset the cache status and run this command, you can check the cache command status. You do not need to run this command during service running.</p>
</div></div>
</li><li id="css_01_0114__en-us_topic_0000001223594408_li1380717341085">Run the following command to check all the frozen indexes:<pre class="screen" id="css_01_0114__en-us_topic_0000001223594408_screen111712156459">GET _cat/freeze_indices</pre>
<p id="css_01_0114__en-us_topic_0000001223594408_p16515114484418">Information similar to the following is displayed:</p>
<pre class="screen" id="css_01_0114__en-us_topic_0000001223594408_screen1056385184511">green open data2 0bNtxWDtRbOSkS4JYaUgMQ 3 0 5 0 7.9kb 7.9kb
green open data3 oYMLvw31QnyasqUNuyP6RA 3 0 51 0 23.5kb 23.5kb</pre>
<div class="note" id="css_01_0114__en-us_topic_0000001223594408_note1058331715368"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="css_01_0114__p3121118104117">The parameters and return values of this command are the same as those of <strong id="css_01_0114__en-us_topic_0000001223594408_b1756983293419">_cat/indices</strong> of Elasticsearch.</p>
</div></div>
</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0112.html">Storage-Compute Decoupling</a></div>
</div>
</div>