doc-exports/docs/drs/api-ref/drs_03_0141.html
Wang , Deng Ke 231618c804 DRS API 2.0.38SP23 version
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com>
Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
2022-11-24 16:49:13 +00:00

469 lines
27 KiB
HTML

<a name="drs_03_0141"></a><a name="drs_03_0141"></a>
<h1 class="topictitle1">Obtaining Database Parameters in Batches</h1>
<div id="body875384474512"><div class="section" id="drs_03_0141__section975304410458"><h4 class="sectiontitle">Function</h4><p id="drs_03_0141__p4754204404517">To ensure that service applications are not affected after the migration, DRS provides parameter comparison to help you compare parameters between the source and destination databases. This API is used to obtain database parameters of the source and destination databases.</p>
</div>
<div class="section" id="drs_03_0141__section18754104416456"><h4 class="sectiontitle">Constraints</h4><ul id="drs_03_0141__ul375414412453"><li id="drs_03_0141__li147541544104516">Only MySQL migration and MySQL DR support parameter comparison. This API can be invoked only when <strong id="drs_03_0141__b2022415271677">job_direction</strong> is set to <strong id="drs_03_0141__b9157030874">up</strong> and the task status is <strong id="drs_03_0141__b6418203414719">CONFIGURATION</strong>. The parent task cannot call this API in the dual-active DR scenario.</li><li id="drs_03_0141__li12170102914594">The value of <strong id="drs_03_0141__b1810916816513">innodb_buffer_pool_size</strong> is set to not exceed 70% of the total memory of the destination database. If you set a larger value for this parameter, the destination database startup may fail. To adjust the value to suit your services, view <a href="https://docs.otc.t-systems.com/usermanual/drs/drs_08_0001.html" target="_blank" rel="noopener noreferrer">Parameters for Comparison</a>.</li></ul>
</div>
<div class="section" id="drs_03_0141__section12755444134514"><h4 class="sectiontitle">URI</h4><p id="drs_03_0141__p075584424513">POST /v3/{project_id}/jobs/batch-get-params</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0141__table1475744414512" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="drs_03_0141__row2757174419456"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="drs_03_0141__p187581944164517">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="drs_03_0141__p117581544174519">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="drs_03_0141__p1275884413456">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="drs_03_0141__p177591644194520">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0141__row1375734454518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_03_0141__p12759844134518">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_03_0141__p7759844154515">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_03_0141__p17601244134517">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_03_0141__p3760154416456">Project ID of a tenant in a region</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="drs_03_0141__section14760164418451"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0141__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="drs_03_0141__row77611844174514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="drs_03_0141__p1276113444454">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="drs_03_0141__p276244474512">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="drs_03_0141__p1076214416452">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="drs_03_0141__p1776214412455">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0141__row1376114410456"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="drs_03_0141__p1876374411450">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="drs_03_0141__p14763134454512">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="drs_03_0141__p1763944124520">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="drs_03_0141__p56613364013">The content type.</p>
<p id="drs_03_0141__p123256415450">The default value is <strong id="drs_03_0141__b196988516407">application/json</strong>.</p>
</td>
</tr>
<tr id="drs_03_0141__row12761644164514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="drs_03_0141__p77641644184514">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="drs_03_0141__p576414448457">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="drs_03_0141__p9764164416457">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="drs_03_0141__p07650446452">User token obtained from IAM.</p>
</td>
</tr>
<tr id="drs_03_0141__row20761134417459"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="drs_03_0141__p137659449454">X-Language</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="drs_03_0141__p1876514474510">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="drs_03_0141__p176504418455">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="drs_03_0141__p12766644194516">Request language type</p>
<p id="drs_03_0141__p68691956125917">Default value: <strong id="drs_03_0141__b1786912566599">en-us</strong></p>
<p id="drs_03_0141__p1386915625912">Values:</p>
<ul id="drs_03_0141__ul1586965613591"><li id="drs_03_0141__li1886915655910"><strong id="drs_03_0141__b158691656145912">en-us</strong></li><li id="drs_03_0141__li17869125685916"><strong id="drs_03_0141__b12869175615914">zh-cn</strong></li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0141__requestParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="drs_03_0141__row1776614417453"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="drs_03_0141__p15767134416454">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.2"><p id="drs_03_0141__p127672044134511">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.3"><p id="drs_03_0141__p1476714413457">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.3.2.5.1.4"><p id="drs_03_0141__p18768204415456">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0141__row20766144417459"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="drs_03_0141__p4768104410458">jobs</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="drs_03_0141__p19768144419451">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="drs_03_0141__p107683444459">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="drs_03_0141__p176984434515">Request body for querying tasks in batches.</p>
</td>
</tr>
<tr id="drs_03_0141__row1917613454369"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="drs_03_0141__p16180245163616">refresh</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="drs_03_0141__p191801145203618">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="drs_03_0141__p3181164583614">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="drs_03_0141__p1318117458367">Whether to obtain database parameters again. <strong id="drs_03_0141__b9735194341214">1</strong> indicates yes, and <strong id="drs_03_0141__b2050219527120">0</strong> indicates no (obtaining parameters from the cache). Set this parameter to <strong id="drs_03_0141__b137221046134">1</strong> when this API is called for the first time.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="drs_03_0141__section1376914494512"><h4 class="sectiontitle">Response Parameters</h4><p id="drs_03_0141__p6769844104513"><strong id="drs_03_0141__b197696445453">Status code: 202</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0141__responseParameter" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="drs_03_0141__row1277044474512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="drs_03_0141__p877084411457">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="drs_03_0141__p87711144134518">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="drs_03_0141__p277144494516">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0141__row19770104416458"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="drs_03_0141__p19771104414520">params_list</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="drs_03_0141__p12771114414515">Array of <a href="#drs_03_0141__response_QueryDbParamsResp">QueryDbParamsResp</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="drs_03_0141__p137721644164515">Response body for querying database parameters.</p>
</td>
</tr>
<tr id="drs_03_0141__row147701448458"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="drs_03_0141__p1877294484513">count</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="drs_03_0141__p377294474510">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="drs_03_0141__p47731844144518">Total number.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="drs_03_0141__response_QueryDbParamsResp"></a><a name="response_QueryDbParamsResp"></a><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0141__response_QueryDbParamsResp" frame="border" border="1" rules="all"><caption><b>Table 5 </b>QueryDbParamsResp</caption><thead align="left"><tr id="drs_03_0141__row377394420459"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.1"><p id="drs_03_0141__p11774134414456">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.2"><p id="drs_03_0141__p1777434464518">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.4.2.4.1.3"><p id="drs_03_0141__p1577454474514">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0141__row177731944104512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="drs_03_0141__p197752044174518">params</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="drs_03_0141__p107750444451">Array of <a href="#drs_03_0141__response_params">params</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="drs_03_0141__p1775744104512">Data parameter information body.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="drs_03_0141__response_params"></a><a name="response_params"></a><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0141__response_params" frame="border" border="1" rules="all"><caption><b>Table 6 </b>params</caption><thead align="left"><tr id="drs_03_0141__row0776194444517"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.1"><p id="drs_03_0141__p27771944164513">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.2"><p id="drs_03_0141__p97772442457">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.5.2.4.1.3"><p id="drs_03_0141__p12777154411459">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0141__row177764443458"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="drs_03_0141__p147781844194512">compare_result</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="drs_03_0141__p1377812443453">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="drs_03_0141__p197782044164511">Parameter comparison result. Values:</p>
<ul id="drs_03_0141__ul197791442458"><li id="drs_03_0141__li677915446459"><strong id="drs_03_0141__b127791744134517">true</strong></li><li id="drs_03_0141__li477924464519"><strong id="drs_03_0141__b137792443455">false</strong></li></ul>
</td>
</tr>
<tr id="drs_03_0141__row77761344184517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="drs_03_0141__p277914418457">data_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="drs_03_0141__p5780124404510">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="drs_03_0141__p87805443450">Type</p>
</td>
</tr>
<tr id="drs_03_0141__row1677684412457"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="drs_03_0141__p1878034412457">group</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="drs_03_0141__p278064424515">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="drs_03_0141__p978112444455">Metric Type Values:</p>
<ul id="drs_03_0141__ul8781344114519"><li id="drs_03_0141__li1978184484519"><strong id="drs_03_0141__b235614131313">common</strong>: common parameter.</li><li id="drs_03_0141__li11781144174512"><strong id="drs_03_0141__b575714371315">performance</strong>: performance parameter.</li></ul>
</td>
</tr>
<tr id="drs_03_0141__row17761244144512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="drs_03_0141__p17829441456">key</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="drs_03_0141__p1782174424512">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="drs_03_0141__p67821844134516">Parameter name</p>
</td>
</tr>
<tr id="drs_03_0141__row6776134411456"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="drs_03_0141__p157832449452">need_restart</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="drs_03_0141__p478304454511">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="drs_03_0141__p97831044154511">Whether the instance needs to be restarted. Values:</p>
<ul id="drs_03_0141__ul178412449453"><li id="drs_03_0141__li10784044124515"><strong id="drs_03_0141__b1578484464519">true</strong></li><li id="drs_03_0141__li378417444452"><strong id="drs_03_0141__b167841744134517">false</strong></li></ul>
</td>
</tr>
<tr id="drs_03_0141__row477619447450"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="drs_03_0141__p97841644194510">source_value</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="drs_03_0141__p8785444144510">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="drs_03_0141__p7785144413458">Source database parameter value.</p>
</td>
</tr>
<tr id="drs_03_0141__row137760445455"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="drs_03_0141__p178594411453">target_value</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="drs_03_0141__p878554413454">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="drs_03_0141__p1278654474516">Parameter value of the destination database.</p>
</td>
</tr>
<tr id="drs_03_0141__row1577612442453"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="drs_03_0141__p678614412455">value_range</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="drs_03_0141__p1178794412451">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="drs_03_0141__p1788944134517">Value Range</p>
</td>
</tr>
<tr id="drs_03_0141__row1977615448452"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="drs_03_0141__p0788134484510">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="drs_03_0141__p27881444124514">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="drs_03_0141__p9789144417456">Error code, which is optional and indicates the returned information about the failure status.</p>
</td>
</tr>
<tr id="drs_03_0141__row18776194444519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="drs_03_0141__p278914446450">error_message</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="drs_03_0141__p107891244164513">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="drs_03_0141__p6789144417454">Error message, which is optional and indicates the returned information about the failure status.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="drs_03_0141__section1879004424514"><h4 class="sectiontitle">Example Request</h4><p id="drs_03_0141__p2790114404517">Example of the request body for obtaining database parameters in batches:</p>
<pre class="screen" id="drs_03_0141__screen154113171127">https://{EndPoint}/drs/v3/054ba152d480d55b2f5dc0069e7ddef0/jobs/batch-get-params</pre>
<pre class="screen" id="drs_03_0141__screen188514241218">{
"jobs" : [ "140b5236-88ad-43c8-811c-1268453jb101" ],
"refresh": 1
}</pre>
</div>
<div class="section" id="drs_03_0141__section11792844184516"><h4 class="sectiontitle">Example Response</h4><p id="drs_03_0141__p17927448452"><strong id="drs_03_0141__b1579244413453">Status code: 202</strong></p>
<p id="drs_03_0141__p167928442452">Accepted</p>
<pre class="screen" id="drs_03_0141__screen13797134419454">{
"count" : 1,
"params_list" : [ {
"params" : [ {
"group" : "performance",
"key" : "binlog_cache_size",
"source_value" : "16384",
"target_value" : "32768",
"compare_result" : "false",
"data_type" : "figure",
"value_range" : "4096-16777216",
"need_restart" : "false"
}, {
"group" : "performance",
"key" : "binlog_stmt_cache_size",
"source_value" : "32768",
"target_value" : "32768",
"compare_result" : "true",
"data_type" : "figure",
"value_range" : "4096-16777216",
"need_restart" : "false"
}, {
"group" : "performance",
"key" : "bulk_insert_buffer_size",
"source_value" : "8388608",
"target_value" : "8388608",
"compare_result" : "true",
"data_type" : "figure",
"value_range" : "0-18446744073709551615",
"need_restart" : "false"
}, {
"group" : "common",
"key" : "character_set_server",
"source_value" : "utf8",
"target_value" : "utf8",
"compare_result" : "true",
"data_type" : null,
"value_range" : "utf8|latin1|gbk|utf8mb4",
"need_restart" : "true"
}, {
"group" : "common",
"key" : "collation_server",
"source_value" : "utf8_general_ci",
"target_value" : "utf8_general_ci",
"compare_result" : "true",
"data_type" : null,
"value_range" : "latin1_german1_ci|latin1_swedish_ci|latin1_danish_ci|latin1_german2_ci|latin1_bin|latin1_general_ci|latin1_general_cs|latin1_spanish_ci|gbk_chinese_ci|gbk_bin|utf8_general_ci|utf8_bin|utf8_unicode_ci|utf8_icelandic_ci|utf8_latvian_ci|utf8_romanian_ci|utf8_slovenian_ci|utf8_polish_ci|utf8_estonian_ci|utf8_spanish_ci|utf8_swedish_ci|utf8_turkish_ci|utf8_czech_ci|utf8_danish_ci|utf8_lithuanian_ci|utf8_slovak_ci|utf8_spanish2_ci|utf8_roman_ci|utf8_persian_ci|utf8_esperanto_ci|utf8_hungarian_ci|utf8_sinhala_ci|utf8mb4_general_ci|utf8mb4_bin|utf8mb4_unicode_ci|utf8mb4_icelandic_ci|utf8mb4_latvian_ci|utf8mb4_romanian_ci|utf8mb4_slovenian_ci|utf8mb4_polish_ci|utf8mb4_estonian_ci|utf8mb4_spanish_ci|utf8mb4_swedish_ci|utf8mb4_turkish_ci|utf8mb4_czech_ci|utf8mb4_danish_ci|utf8mb4_lithuanian_ci|utf8mb4_slovak_ci|utf8mb4_spanish2_ci|utf8mb4_roman_ci|utf8mb4_persian_ci|utf8mb4_esperanto_ci|utf8mb4_hungarian_ci|utf8mb4_sinhala_ci",
"need_restart" : "true"
}, {
"group" : "common",
"key" : "connect_timeout",
"source_value" : "10",
"target_value" : "10",
"compare_result" : "true",
"data_type" : null,
"value_range" : "2-31536000",
"need_restart" : "false"
}, {
"group" : "common",
"key" : "explicit_defaults_for_timestamp",
"source_value" : "OFF",
"target_value" : "OFF",
"compare_result" : "true",
"data_type" : null,
"value_range" : "ON|OFF",
"need_restart" : "true"
}, {
"group" : "performance",
"key" : "innodb_buffer_pool_size",
"source_value" : "536870912",
"target_value" : "536870912",
"compare_result" : "true",
"data_type" : "figure",
"value_range" : "5242880-2147483648",
"need_restart" : "true"
}, {
"group" : "common",
"key" : "innodb_flush_log_at_trx_commit",
"source_value" : "1",
"target_value" : "1",
"compare_result" : "true",
"data_type" : null,
"value_range" : "0|1|2",
"need_restart" : "false"
}, {
"group" : "common",
"key" : "innodb_lock_wait_timeout",
"source_value" : "50",
"target_value" : "50",
"compare_result" : "true",
"data_type" : null,
"value_range" : "1-1073741824",
"need_restart" : "false"
}, {
"group" : "performance",
"key" : "key_buffer_size",
"source_value" : "16777216",
"target_value" : "16777216",
"compare_result" : "true",
"data_type" : "figure",
"value_range" : "8-9223372036854771712",
"need_restart" : "false"
}, {
"group" : "performance",
"key" : "long_query_time",
"source_value" : "1.000000",
"target_value" : "1.000000",
"compare_result" : "true",
"data_type" : "figure",
"value_range" : "0.03-3600",
"need_restart" : "false"
}, {
"group" : "common",
"key" : "max_connections",
"source_value" : "800",
"target_value" : "800",
"compare_result" : "true",
"data_type" : null,
"value_range" : "1-100000",
"need_restart" : "false"
}, {
"group" : "common",
"key" : "net_read_timeout",
"source_value" : "30",
"target_value" : "30",
"compare_result" : "true",
"data_type" : null,
"value_range" : "1-31536000",
"need_restart" : "false"
}, {
"group" : "common",
"key" : "net_write_timeout",
"source_value" : "60",
"target_value" : "60",
"compare_result" : "true",
"data_type" : null,
"value_range" : "1-31536000",
"need_restart" : "false"
}, {
"group" : "performance",
"key" : "read_buffer_size",
"source_value" : "262144",
"target_value" : "262144",
"compare_result" : "true",
"data_type" : "figure",
"value_range" : "8192-2147479552",
"need_restart" : "false"
}, {
"group" : "performance",
"key" : "read_rnd_buffer_size",
"source_value" : "524288",
"target_value" : "524288",
"compare_result" : "true",
"data_type" : "figure",
"value_range" : "1-2147483647",
"need_restart" : "false"
}, {
"group" : "performance",
"key" : "sort_buffer_size",
"source_value" : "262144",
"target_value" : "262144",
"compare_result" : "true",
"data_type" : "figure",
"value_range" : "32768-18446744073709551615",
"need_restart" : "false"
}, {
"group" : "performance",
"key" : "sync_binlog",
"source_value" : "1",
"target_value" : "1",
"compare_result" : "true",
"data_type" : "figure",
"value_range" : "0-4294967295",
"need_restart" : "false"
}, {
"group" : "common",
"key" : "tx_isolation",
"source_value" : "REPEATABLE-READ",
"target_value" : "REPEATABLE-READ",
"compare_result" : "true",
"data_type" : null,
"value_range" : "READ-UNCOMMITTED|READ-COMMITTED|REPEATABLE-READ|SERIALIZABLE",
"need_restart" : "false"
} ]
} ]
}</pre>
</div>
<div class="section" id="drs_03_0141__section43814456453"><h4 class="sectiontitle">Status Code</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0141__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="drs_03_0141__row4827124413457"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="drs_03_0141__p1139104574517">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="drs_03_0141__p11398450457">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0141__row1382794413451"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="drs_03_0141__p1139184510458">202</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="drs_03_0141__p1228955718143">Accepted</p>
</td>
</tr>
<tr id="drs_03_0141__row58271744104515"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="drs_03_0141__p23984520454">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="drs_03_0141__p139124544514">Bad Request</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="drs_03_0141__section73974524519"><h4 class="sectiontitle">Error Code</h4><p id="drs_03_0141__p1139134510456">For details, see <a href="drs_05_0004.html">Error Code</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_03_0101.html">Public API Management</a></div>
</div>
</div>