forked from docs/doc-exports
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
248 lines
19 KiB
HTML
248 lines
19 KiB
HTML
<a name="ListSlowLogs"></a><a name="ListSlowLogs"></a>
|
|
|
|
<h1 class="topictitle1">Querying Database Slow Logs</h1>
|
|
<div id="body939919141847"><div class="section" id="ListSlowLogs__section540014141047"><h4 class="sectiontitle">Function</h4><p id="ListSlowLogs__p8402414646">This API is used to query the latest 2,000 slow query logs of an instance. Searching by keyword is not supported.</p>
|
|
</div>
|
|
<div class="section" id="ListSlowLogs__section2563029124413"><h4 class="sectiontitle">Constraints</h4><ul id="ListSlowLogs__ul1212104116497"><li id="ListSlowLogs__li1012174174916">This API supports <span id="ListSlowLogs__text157761531103515">GeminiDB Cassandra</span> instances.</li><li id="ListSlowLogs__li19379646185817">This API can be used to query only the latest 2000 slow query logs in a specified time range.</li></ul>
|
|
</div>
|
|
<div class="section" id="ListSlowLogs__section14167141741"><h4 class="sectiontitle">URI</h4><p id="ListSlowLogs__p941711149420">GET https://{Endpoint}/v3/{project_id}/instances/{instance_id}/slowlog</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListSlowLogs__table16421514342" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="ListSlowLogs__row54191714449"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="ListSlowLogs__p19423714946">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="ListSlowLogs__p1424141417416">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="ListSlowLogs__p134261714545">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="ListSlowLogs__p44280148412">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListSlowLogs__row14419214947"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ListSlowLogs__p442941410418">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ListSlowLogs__p18431141414410">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ListSlowLogs__p194333145414">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ListSlowLogs__p11434111413420">Project ID of a tenant in a region. To obtain this value, see <a href="nosql_projectid.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSlowLogs__row441920141948"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ListSlowLogs__p1743671420417">instance_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ListSlowLogs__p343881415415">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ListSlowLogs__p1444031420417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ListSlowLogs__p1644211141341">Instance ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListSlowLogs__table1444631416415" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query parameters</caption><thead align="left"><tr id="ListSlowLogs__row14439144419"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="ListSlowLogs__p14464141047">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="ListSlowLogs__p1144812146415">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="ListSlowLogs__p2045011144413">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="ListSlowLogs__p845119149414">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListSlowLogs__row7443201415412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListSlowLogs__p9453514842">start_date</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListSlowLogs__p6455814744">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListSlowLogs__p74572142047">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListSlowLogs__p345971417418">Start time in the yyyy-mm-ddThh:mm:ssZ format.</p>
|
|
<p id="ListSlowLogs__p104616145416"><strong id="ListSlowLogs__b9755171573">T</strong> is the separator between calendar and hourly notation of time. <strong id="ListSlowLogs__b9761417975">Z</strong> indicates the time zone offset.</p>
|
|
<p id="ListSlowLogs__p15716172744213">The start time is at most 30 days earlier than the current time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSlowLogs__row144431914245"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListSlowLogs__p346371411416">end_date</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListSlowLogs__p9465151419419">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListSlowLogs__p24661214647">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListSlowLogs__p124681614146">End time in the yyyy-mm-ddThh:mm:ssZ format.</p>
|
|
<p id="ListSlowLogs__p847151414414"><strong id="ListSlowLogs__b11131138989">T</strong> is the separator between calendar and hourly notation of time. <strong id="ListSlowLogs__b12132785812">Z</strong> indicates the time zone offset. You can only query slow query logs generated in the last one month.</p>
|
|
<p id="ListSlowLogs__p39671721194314">The end time cannot be later than the current time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSlowLogs__row0444171418417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListSlowLogs__p8473614146">offset</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListSlowLogs__p1047571414412">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListSlowLogs__p1347613141345">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListSlowLogs__p0478714149">Index offset. Its value ranges from <strong id="ListSlowLogs__b13816719695">0</strong> to <strong id="ListSlowLogs__b44708211697">1999</strong>.</p>
|
|
<p id="ListSlowLogs__p947917141548">If <strong id="ListSlowLogs__b1911743215814">offset</strong> is set to <em id="ListSlowLogs__i61182329811">N</em>, the resource query starts from the <em id="ListSlowLogs__i1811983215813">N</em>+1 piece of data. The value is <strong id="ListSlowLogs__b131191632488">0</strong> by default, indicating that the query starts from the first piece of data. The value cannot be a negative number.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSlowLogs__row34440145417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListSlowLogs__p104811214945">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListSlowLogs__p8482314643">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListSlowLogs__p54842146414">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListSlowLogs__p1948721412414">Number of records to be queried. The value ranges from <strong id="ListSlowLogs__b32211842882">1</strong> to <strong id="ListSlowLogs__b09461541081">100</strong>.</p>
|
|
<p id="ListSlowLogs__p114891414541">The sum of values of <strong id="ListSlowLogs__b14647563916">limit</strong> and <strong id="ListSlowLogs__b064815617914">offset</strong> must be 2000 or lower.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSlowLogs__row194441814849"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListSlowLogs__p1049041415420">node_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListSlowLogs__p0492141418412">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListSlowLogs__p16494614241">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListSlowLogs__p17495814240">Node ID. If this parameter is not specified, all nodes of the instance are queried.</p>
|
|
<p id="ListSlowLogs__p349711415413">For details about the value, see <strong id="ListSlowLogs__b015614616142">id</strong> in table <a href="nosql_05_0016.html#nosql_05_0016__response_ListInstancesNodeResult">Table 10</a> in <a href="nosql_05_0016.html">Querying Instances and Details</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSlowLogs__row134441144417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListSlowLogs__p14999146411">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListSlowLogs__p850131418411">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListSlowLogs__p12502814343">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListSlowLogs__p1750414141141">SQL statement type. If this parameter is not specified, all types of SQL statements are queried. You can also specify the following log type:</p>
|
|
<ul id="ListSlowLogs__ul250710145413"><li id="ListSlowLogs__li1650714141246">SELECT</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListSlowLogs__section7509101414414"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListSlowLogs__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="ListSlowLogs__row551114141446"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="ListSlowLogs__p651418147413">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="ListSlowLogs__p751719141646">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="ListSlowLogs__p9520314848">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="ListSlowLogs__p752241412410">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListSlowLogs__row1651120141642"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="ListSlowLogs__p12524114448">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="ListSlowLogs__p1852571412411">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="ListSlowLogs__p1252719141642">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="ListSlowLogs__p1528814542">User token.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListSlowLogs__section1053116144413"><h4 class="sectiontitle">Response Parameters</h4><p id="ListSlowLogs__p1053311416418"><strong id="ListSlowLogs__b155910413103">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListSlowLogs__response_ListSlowlogsResponseBody" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="ListSlowLogs__row105345148412"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="ListSlowLogs__p95372014549">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.5.3.2.4.1.2"><p id="ListSlowLogs__p155413141142">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.3.2.4.1.3"><p id="ListSlowLogs__p6543101415415">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListSlowLogs__row19535171415411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="ListSlowLogs__p1054415144415">slow_log_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="ListSlowLogs__p1554614141440">Array of <a href="#ListSlowLogs__response_SlowlogResult">SlowlogResult</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="ListSlowLogs__p95490145418">Information about slow query logs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSlowLogs__row1953515141843"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="ListSlowLogs__p1955019141241">total_record</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="ListSlowLogs__p855211147419">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="ListSlowLogs__p17554131414415">Total number of records.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="ListSlowLogs__response_SlowlogResult"></a><a name="response_SlowlogResult"></a><table cellpadding="4" cellspacing="0" summary="" id="ListSlowLogs__response_SlowlogResult" frame="border" border="1" rules="all"><caption><b>Table 5 </b>SlowlogResult</caption><thead align="left"><tr id="ListSlowLogs__row555561412420"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.1"><p id="ListSlowLogs__p1755820142411">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.5.4.2.4.1.2"><p id="ListSlowLogs__p1456011141742">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.4.2.4.1.3"><p id="ListSlowLogs__p45616148418">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListSlowLogs__row755581411410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListSlowLogs__p15631514344">time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListSlowLogs__p1256551411411">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListSlowLogs__p1856711141947">Execution time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSlowLogs__row655516141643"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListSlowLogs__p357011415417">database</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListSlowLogs__p165721414745">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListSlowLogs__p8573161415415">Database which slow query logs belong to.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSlowLogs__row1555515149414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListSlowLogs__p1757514141240">query_sample</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListSlowLogs__p19577414640">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListSlowLogs__p1258017141149">Execution syntax.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSlowLogs__row555511414412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListSlowLogs__p15582014446">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListSlowLogs__p205842141547">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListSlowLogs__p115851514544">SQL statement type.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSlowLogs__row65558141443"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListSlowLogs__p1158731416412">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListSlowLogs__p18588614547">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListSlowLogs__p12590191419413">UTC time when logs are generated.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListSlowLogs__section145912149420"><h4 class="sectiontitle">Example Requests</h4><ul id="ListSlowLogs__ul859414140419"><li id="ListSlowLogs__li1594214243">URI example<p id="ListSlowLogs__p859621418417"><a name="ListSlowLogs__li1594214243"></a><a name="li1594214243"></a>Querying slow query logs:</p>
|
|
<pre class="screen" id="ListSlowLogs__screen1459816144416">GET https://{Endpoint}/v3/0483b6b16e954cb88930a360d2c4e663/instances/6ade8143870047b8999aba8f1891b48ein06/slowlog?start_date=2018-08-06T10:41:14+0800&end_date=2018-08-07T10:41:14+0800</pre>
|
|
</li><li id="ListSlowLogs__li116011614741">URI example<p id="ListSlowLogs__p18603414549"><a name="ListSlowLogs__li116011614741"></a><a name="li116011614741"></a>Querying slow query logs based on specified conditions:</p>
|
|
<pre class="screen" id="ListSlowLogs__screen15605111411418">GET https://{Endpoint}/v3/0549b4a43100d4f32f51c01c2fe4acdb/instances/6ade8143870047b8999aba8f1891b48ein06/slowlog?type=SELECT&offset=1&limit=20&node_id=a7c84462483642798cf159237343135fno06&start_date=2018-08-06T10:41:14+0800&end_date=2018-08-07T10:41:14+0800</pre>
|
|
</li></ul>
|
|
</div>
|
|
|
|
<div class="section" id="ListSlowLogs__section156341714946"><h4 class="sectiontitle">Example Responses</h4><p id="ListSlowLogs__p18635181412416"><strong id="ListSlowLogs__b035425181213">Status code: 200</strong></p>
|
|
<p id="ListSlowLogs__p96371714343">Success</p>
|
|
<pre class="screen" id="ListSlowLogs__screen186401714643">{
|
|
"total_record" : 1,
|
|
"slow_log_list" : [ {
|
|
"time" : "513 ms",
|
|
"database" : "cassandra",
|
|
"query_sample" : "SELECT * FROM cassandra.sz_user_hw LIMIT 100;",
|
|
"type" : "SELECT",
|
|
"start_time" : "2020-11-15T22:49:38.643000Z"
|
|
} ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="ListSlowLogs__section19107202213585"><h4 class="sectiontitle">Status Codes</h4><p id="ListSlowLogs__listapiversion_p201216122353">For details, see <a href="nosql_status_code.html">Status Codes</a>.</p>
|
|
</div>
|
|
<div class="section" id="ListSlowLogs__section21121922155813"><h4 class="sectiontitle">Error Codes</h4><p id="ListSlowLogs__listapiversion_p1265915205719">For details, see <a href="nosql_error_code.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000006.html">Logs</a></div>
|
|
</div>
|
|
</div>
|
|
|