Todos os produtos
Search
Central de documentação

Database Autonomy Service:DescribeSlowLogStatistic

Última atualização: Jun 28, 2026

Obtém estatísticas de log de consultas lentas.

Descrição da operação

Antes de chamar esta operação, certifique-se de compreender os métodos de cobrança e preços do Database Autonomy Service (DAS).

Antes de chamar esta operação, certifique-se de que os seguintes requisitos sejam atendidos:

  • O Alibaba Cloud Managed Services está ativado para a instância.

  • Use a versão mais recente do SDK do Alibaba Cloud ou do SDK do DAS.

  • Ao usar um SDK para chamar o serviço DAS, defina a região como cn-shanghai.

Esta operação é assíncrona e não retorna o resultado completo imediatamente. Se o parâmetro isFinish na resposta for false, aguarde 1 segundo e envie a solicitação novamente. Repita a solicitação até que o parâmetro isFinish seja true para obter o resultado completo.

Experimente agora

Experimente esta API no OpenAPI Explorer, sem necessidade de assinatura manual. Chamadas bem-sucedidas geram automaticamente código SDK correspondente aos seus parâmetros. Faça o download com segurança de credenciais integrada para uso local.

Testar

Autorização RAM

A tabela abaixo descreve a autorização necessária para chamar esta API. Você pode defini-la em uma política do Resource Access Management (RAM). As colunas da tabela estão detalhadas abaixo:

  • Ação: As ações que podem ser usadas no elemento Action das instruções de política de permissão do RAM para conceder permissões para executar a operação.

  • API: A API que você pode chamar para executar a ação.

  • Nível de acesso: O nível de acesso predefinido concedido para cada API. Valores válidos: create, list, get, update e delete.

  • Tipo de recurso: O tipo de recurso que suporta autorização para executar a ação. Indica se a ação suporta permissão em nível de recurso. O recurso especificado deve ser compatível com a ação. Caso contrário, a política será ineficaz.

    • Para APIs com permissões em nível de recurso, os tipos de recursos obrigatórios são marcados com um asterisco (*). Especifique o Nome de Recurso Alibaba Cloud (ARN) correspondente no elemento Resource da política.

    • Para APIs sem permissões em nível de recurso, é exibido como Todos os Recursos. Use um asterisco (*) no elemento Resource da política.

  • Chave de condição: As chaves de condição definidas pelo serviço. A chave permite controle granular, aplicando-se somente a ações ou a ações associadas a recursos específicos. Além das chaves de condição específicas do serviço, o Alibaba Cloud fornece um conjunto de chaves de condição comuns aplicáveis a todos os serviços compatíveis com RAM.

  • Ação dependente: As ações dependentes necessárias para executar a ação. Para concluir a ação, o usuário RAM ou a função RAM deve ter permissões para executar todas as ações dependentes.

Ação

Nível de acesso

Tipo de recurso

Chave de condição

Ação dependente

hdm:DescribeSlowLogStatistic

get

*All Resource

*

Nenhuma Nenhuma

Parâmetros da solicitação

Parâmetro

Tipo

Obrigatório

Descrição

Exemplo

InstanceId

string

Sim

O ID da instância.

rm-2ze1jdv45i7l6****

NodeId

string

Não

O ID do nó.

  • Para RDS for MySQL e PolarDB for MySQL, este parâmetro se aplica apenas a instâncias de cluster. Se você não especificar este parâmetro, os logs de consultas lentas do nó primário serão consultados por padrão.

  • Para PolarDB-X 2.0, especifique polarx_cn para nós de computação ou polarx_dn para nós de dados.

r-x****-db-0

Type

string

Não

O tipo de tarefa.

Para mecanismos SQL:

SlowLogRequestOrigin: Agrega logs por endereço IP de origem.

SlowLogRequestUser: Agrega logs por usuário de origem.

SQL: Agrega logs por ID de SQL.

Para mecanismos ApsaraDB for MongoDB:

SlowLogRequestOrigin: Agrega logs por endereço IP de origem.

SlowLogRequestUser: Agrega logs por usuário de origem.

SQL: Agrega logs por ID de consulta.

SlowLogRequestOpType: Agrega logs por tipo de operação.

SlowLogRequestNamespace: Agrega logs por namespace.

Para mecanismos Redis:

SlowLogRequestNodeId: Agrega logs por ID de nó.

SlowLogRequestHostInsId: Agrega logs por ID de instância do host.

Valores válidos:

  • SlowLogRequestOrigin :

    SlowLogRequestOrigin.

  • OriginHost :

    OriginHost.

  • SlowLogRequestUser :

    SlowLogRequestUser.

  • SQL :

    SQL.

SQL

TemplateId

string

Não

O ID do modelo.

04ea3310df40c3fa8a6b4854db49f79a

StartTime

integer

Sim

A hora de início da consulta. Este valor é um carimbo de data/hora UNIX em UTC. Unidade: milissegundos.

1568269711000

EndTime

integer

Sim

A hora de término da consulta. Este valor é um carimbo de data/hora UNIX em UTC. Unidade: milissegundos.

1608888296000

OrderBy

string

Não

O método de classificação. Valores válidos:

Count

QueryTime

LockTime

RowsExamined

RowsSent

count

Asc

boolean

Não

Especifica se os resultados devem ser classificados em ordem crescente. O valor padrão é false.

true

PageNumber

integer

Não

O número da página. O valor deve ser um número inteiro positivo. O valor padrão é 1.

1

PageSize

integer

Não

O número de entradas a serem retornadas em cada página. O valor padrão é 10.

20

Filters

array<object>

Não

As condições de filtro.

object

Não

As chaves suportadas e seus formatos de valor são os seguintes:

hostAddress: O endereço IP de origem. Separe vários endereços IP com vírgulas (,).

sqlId: O ID do SQL. Separe vários IDs de SQL com vírgulas (,).

user: O usuário. Separe vários usuários com vírgulas (,).

dbName: O nome do banco de dados. Separe vários nomes de banco de dados com vírgulas (,).

keyWord: A palavra-chave. Separe várias palavras-chave com espaços.

tags: A tag. Separe várias tags com vírgulas (,).

Key

string

Não

O parâmetro de filtro.

KeyWords

Value

string

Não

O valor do parâmetro de filtro.

select

Elementos de resposta

Elemento

Tipo

Descrição

Exemplo

object

Code

string

O código de status HTTP retornado.

200

Message

string

A mensagem retornada.

Nota

Se a solicitação for bem-sucedida, Successful será retornado. Se a solicitação falhar, uma mensagem de erro, como um código de erro, será retornada.

Successful

RequestId

string

O ID da solicitação.

52D540CF-C517-1F57-BB42-9035F96******

Success

string

Indica se a solicitação foi bem-sucedida. Valores válidos:

  • true

  • false

true

Data

object

AsyncResult<DBLogRecords<SlowLogStat>>

RequestKey

string

A chave do parâmetro de solicitação.

123456789

ResultId

string

O ID do resultado.

async__665ee69612f1627c7fd9f3c85075****

State

string

O status da solicitação assíncrona. Valores válidos:

-RUNNING: A solicitação está em andamento.

-SUCCESS: A solicitação foi bem-sucedida.

-FAIL: A solicitação falhou.

SUCCESS

IsFinish

boolean

Indica se a solicitação assíncrona foi concluída.

true

Data

object

Os dados.

DbInstanceName

string

The instance ID.

0

NodeId

string

The node ID.

For MongoDB instances, use this parameter to specify a node for storage analysis. Call the DescribeRoleZoneInfo operation to query the details of the nodes in a MongoDB instance.

  • If you specify the InsName (node ID) of the destination node, such as d-bp1872fa24d5****, the system analyzes the corresponding hidden node.

  • If you specify InsName#RoleId of the destination node, such as d-bp1872fa24d5****#299****5, the system analyzes the specified node.

Importante

For a MongoDB replica set instance, if you do not specify this parameter, the system analyzes the only hidden node by default. For a MongoDB sharded cluster instance, specify this parameter to select a destination node.

pi-wz99g5rn7w1x8h0sf

ItemsNumbers

integer

The number of items in the slow query log list on the current page.

10

StartTime

string

The start time. This value is a UNIX timestamp. Unit: milliseconds.

2024-10-08T02:01:00Z

EndTime

string

The end time of the query. This value is a UNIX timestamp. Unit: milliseconds.

Nota

The end time must be later than the start time.

2024-08-08T02:15:00Z

DbInstanceId

integer

The numeric ID of the instance.

rm-k2ja51w7cnusg5a1x

TotalRecords

integer

The total number of entries.

13

PageNumbers

integer

The page number of the paged query. Pages start from 1. The default value is 1.

1

MaxRecordsPerPage

integer

The maximum number of entries to return on each page. Valid values: 5 to 100.

10

Logs

array<object>

The name of the operation object.

array<object>

The log details.

Count

integer

The number of elements that correspond to the key.

12

MaxLockTime

number

This parameter is deprecated.

-

MaxQueryTime

number

This parameter is deprecated.

-

MaxRowsExamined

integer

The maximum number of scanned rows.

318613

MaxRowsSent

integer

The maximum number of returned rows.

256

AvgQueryTime

number

This parameter is deprecated.

-

QueryTimeRate

number

The ratio of the query duration.

0.1018

CountRate

number

The execution ratio.

0.2034

AvgRowsExamined

number

The average number of scanned rows.

53421.0

OriginAlias

string

The alias of the source.

order-1

User

string

The user.

user-1

SqlTag

object

The tags.

SqlId

string

The SQL ID.

a3931d8c3a9315dd5ed016d71cf*****

Tags

string

The tags. Multiple tags are separated by commas (,).

DAS_IN_PLAN

Comments

string

The remarks.

The value can be 1 to 300 characters in length.

dba 归档

Trend

array<object>

The slow log trends.

object

The slow log trends.

Timestamp

integer

The execution time. This value is a UNIX timestamp. Unit: milliseconds (ms).

1723775362

Value

any

The value of the filter parameter.

tf-testacc-oos-parameter

Database

string

The database name.

work-wechat-api

Histogram

object

The trend chart data.

Total

integer

The total number of entries returned for the query.

7

Count

array

The number of slow query logs.

integer

The number of slow query logs.

100

Ts

array

The execution timestamp.

integer

The time when the event occurred. This value is a UNIX timestamp. Unit: seconds.

1715220818

TsEnd

array

This parameter is deprecated.

integer

This parameter is deprecated.

-

Item

array<object>

The task status.

object

The error code information.

NodeId

string

The node ID.

r-bp1s1m8hwzrm77kfvz-db-0

Count

array

The number of slow query logs.

integer

The number of elements that correspond to the key.

100

Rt

array

The execution duration in seconds.

number

The execution duration in seconds.

1854

AvgRt

array

The average execution duration.

number

The average execution duration.

3709

MaxRt

array

The maximum response time (RT) in milliseconds.

number

The maximum response time (RT) in milliseconds.

2516.0

LockTime

array

The lock wait time in milliseconds.

number

The lock wait time in milliseconds.

300

AvgLockTime

array

The average lock wait time in seconds.

number

The average lock wait time in seconds.

15

MaxLockTime

array

The maximum lock wait time in seconds.

number

The maximum lock wait time in seconds.

1051

RowsExamined

array

The total number of scanned rows.

Nota

This parameter is supported by ApsaraDB RDS for MySQL, ApsaraDB RDS for PostgreSQL, and PolarDB for MySQL.

integer

The total number of scanned rows.

Nota

This parameter is supported by ApsaraDB RDS for MySQL, ApsaraDB RDS for PostgreSQL, and PolarDB for MySQL.

641057

AvgRowsExamined

array

The average number of scanned rows.

number

The average number of scanned rows.

222189

MaxRowsExamined

array

The maximum number of scanned rows.

integer

The maximum number of scanned rows.

878511

RowsSent

array

The number of returned rows.

integer

The number of returned rows.

4

AvgRowsSent

array

The average number of returned rows.

number

The average number of returned rows.

2.0

MaxRowsSent

array

The maximum number of returned rows.

integer

The maximum number of returned rows.

256

SqlId

string

The SQL ID.

2dca88762ec6b3812504ab8a4b******

Scheme

string

HTTP or HTTPS.

HTTP

SubInstanceId

string

The ID of the sub-instance.

r-8vba51c588ba3a94

DbInstanceName

string

The instance ID.

0

InsName

string

The shard name.

rm-uf6zix1z2jh1y6fe5

AccountName

string

The database account.

edu_admin

HostAddress

string

The client IP address.

172.23.142.178

QueryStartTime

string

The time when the query started. The time is in the yyyy-MM-dd hh:mm:ss format and is in UTC.

2024-12-25T03:00:00Z

SQLText

string

The details of the SQL statement.

SELECT 'Hello, World!' FROM DUAL

Psql

string

The SQL template.

SELECT b?.id,b?.t?,b?.id,b?.t? FROM testtb? b? JOIN testtb? b? ON b?.id=b?.id WHERE b?.t? LIKE ? ORDER BY b?.id DESC

DBName

string

The database name.

member_score

QueryTime

integer

The threshold for the query execution time. Unit: milliseconds (ms).

272.444

ReturnItemNumbers

string

The number of items returned.

暂无

DocsExamined

integer

The number of documents scanned during the operation on the ApsaraDB for MongoDB instance.

1

KeysExamined

integer

The number of index scans on the ApsaraDB for MongoDB instance.

20000

TableName

string

The table name.

users\nifconfig\n

LockTime

number

This parameter is deprecated.

-

RowsExamined

integer

The total number of scanned rows.

Nota

This parameter is supported by ApsaraDB RDS for MySQL, ApsaraDB RDS for PostgreSQL, and PolarDB for MySQL.

2444081

RowsSent

integer

The number of returned rows.

772

ThreadId

string

The thread ID. This parameter is returned only for PolarDB for MySQL instances.

1

Timestamp

integer

The execution time. This value is a UNIX timestamp. Unit: milliseconds (ms).

1708568930

AvgLockTime

number

This parameter is deprecated.

-

AvgRowsSent

number

The average number of returned rows.

2.0

LockTimeSeconds

number

The lock wait time in seconds.

0.0

QueryTimeSeconds

number

The query duration in seconds.

25.472

AvgLockTimeSeconds

number

The average lock wait time in seconds.

0.0

MaxLockTimeSeconds

number

The maximum lock wait time in seconds.

0.0

MaxQueryTimeSeconds

number

The maximum query duration in seconds.

14.402

AvgQueryTimeSeconds

number

The average query duration in seconds.

6.211

SqlType

string

The type of the SQL statement.

LOGIN

QueryId

string

The query ID.

Nota

This parameter is supported only by ApsaraDB for MongoDB instances.

sq-1pzcdMwRb

NodeType

string

The node type.

Nota

This parameter is supported by MongoDB and Tair (Redis-compatible).

DLNode

HostInsId

string

The ID of the host instance.

Nota

This parameter is supported only by ApsaraDB for MongoDB instances.

mongo-abc123456

InsRole

string

The instance role.

Nota

This parameter is supported only by MongoDB instances.

__system

OpType

string

The operation type.

Nota

This parameter is supported only by MongoDB instances.

Insert

Namespace

string

The namespace.

Nota

This parameter is supported only by ApsaraDB for MongoDB instances.

database.collection

AvgKeysExamined

number

The average number of index scans.

Nota

This parameter is supported only by ApsaraDB for MongoDB instances.

20000

AvgDocExamined

number

The average number of scanned documents.

Nota

This parameter is supported only by ApsaraDB for MongoDB instances.

10000

AvgReturnNum

number

The average number of returned rows.

Nota

This parameter is supported only by MongoDB instances.

1

MaxKeysExamined

integer

The maximum number of index scans.

Nota

This parameter is supported only by ApsaraDB for MongoDB instances.

2000000

MaxDocExamined

integer

The maximum number of scanned documents.

Nota

This parameter is supported only by ApsaraDB for MongoDB instances.

1000000

MaxReturnNum

integer

The maximum number of returned rows.

Nota

This parameter is supported only by ApsaraDB for MongoDB instances.

1

ReturnNum

integer

The number of returned rows.

Nota

This parameter is supported only by ApsaraDB for MongoDB instances.

1

DocExamined

integer

The number of scanned documents.

Nota

This parameter is supported only by ApsaraDB for MongoDB instances.

2000000

Command

string

The slow query statement.

Nota

This parameter is supported only by Tair (Redis OSS-compatible) instances.

SELECT b?.id,b?.t?,b?.id,b?.t? FROM testtb? b? JOIN testtb? b? ON b?.id=b?.id WHERE b?.t? LIKE ? ORDER BY b?.t? DESC

IOWrites

integer

The number of I/O writes.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

MaxIOWrites

integer

The maximum number of I/O writes.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

LastRowsCountAffected

integer

The number of rows affected by the last statement.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

MaxLastRowsCountAffected

integer

The maximum number of rows affected by the last statement.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

LogicalIOReads

integer

The number of logical reads.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

MaxLogicalIOReads

integer

The maximum number of logical reads.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

PhysicalIOReads

integer

The number of physical reads.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

MaxPhysicalIOReads

integer

The maximum number of physical reads.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

RowsCountAffected

integer

The number of affected rows.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

MaxRowsCountAffected

integer

The maximum number of affected rows.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

CPUTime

number

This parameter is deprecated.

-

AvgCPUTime

number

This parameter is deprecated.

-

MaxCPUTime

number

This parameter is deprecated.

-

AvgIOWrites

number

The average number of I/O writes.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

AvgLastRowsCountAffected

number

The average number of rows affected by the last statement.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

AvgLogicalIOReads

number

The average number of logical reads.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

AvgPhysicalIOReads

number

The average number of physical reads.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

AvgRowsCountAffected

number

The average number of affected rows.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

1000

AvgCPUTimeSeconds

number

The average CPU time for the query in seconds.

456

MaxCPUTimeSeconds

number

The longest CPU time for the query in seconds.

456

CPUTimeSeconds

number

The CPU time for the query in seconds.

Nota

This parameter is supported only by ApsaraDB RDS for SQL Server instances.

456

Rows

integer

The total number of rows updated or returned by the compute nodes of the PolarDB-X 2.0 instance.

Nota

This parameter is supported only by PolarDB-X 2.0 instances.

105

AvgRows

number

The average number of rows.

10

MaxRows

integer

The maximum number of rows.

10

Frows

integer

The number of rows pulled by the compute nodes (CNs) of the PolarDB-X 2.0 instance.

Nota

This parameter is supported only by PolarDB-X 2.0 instances.

10

AvgFrows

number

The average number of pulled rows.

10

MaxFrows

integer

The maximum number of pulled rows.

10

Scnt

integer

The number of requests sent from the compute nodes (CNs) to data nodes (DNs) in the PolarDB-X 2.0 instance.

Nota

This parameter is supported only by PolarDB-X 2.0 instances.

10

AvgScnt

number

The average number of requests.

10

MaxScnt

integer

The maximum number of requests.

10

RuleId

string

The rule ID. For more information, see Query Governance.

181**47

AvgRt

number

The average execution duration.

MaxRt

number

The maximum execution duration in seconds.

AvgRequestSize

number

The average size of the request in bytes. This parameter is valid only for Redis.

MaxRequestSize

number

The maximum size of the request in bytes. This parameter is valid only for Redis.

AvgResponseSize

number

The average size of the response in bytes. This parameter is valid only for Redis.

MaxResponseSize

number

The maximum size of the response in bytes. This parameter is valid only for Redis.

TotalCount

integer

The total number of records. This parameter is valid only for Redis engines.

0

Cmd

string

The executed command. This parameter is valid only for Redis.

systemctl restart nginx.service

ClientIp

string

The client's IP address.

10.57.84.109

DbId

string

The database ID. This parameter is valid only for Redis.

0

ErrorCode

integer

O código de erro.

10910

Message

string

A mensagem de erro.

Successful

Timestamp

integer

O carimbo de data/hora da solicitação.

1735104224250

Exemplos

Resposta de sucesso

JSON formato

{
  "Code": "200",
  "Message": "Successful",
  "RequestId": "52D540CF-C517-1F57-BB42-9035F96******",
  "Success": "true",
  "Data": {
    "RequestKey": "123456789",
    "ResultId": "async__665ee69612f1627c7fd9f3c85075****",
    "State": "SUCCESS",
    "IsFinish": true,
    "Data": {
      "DbInstanceName": "0",
      "NodeId": "pi-wz99g5rn7w1x8h0sf",
      "ItemsNumbers": 10,
      "StartTime": "2024-10-08T02:01:00Z",
      "EndTime": "2024-08-08T02:15:00Z",
      "DbInstanceId": 0,
      "TotalRecords": 13,
      "PageNumbers": 1,
      "MaxRecordsPerPage": 10,
      "Logs": [
        {
          "Count": 12,
          "MaxLockTime": 0,
          "MaxQueryTime": 0,
          "MaxRowsExamined": 318613,
          "MaxRowsSent": 256,
          "AvgQueryTime": 0,
          "QueryTimeRate": 0.1018,
          "CountRate": 0.2034,
          "AvgRowsExamined": 53421,
          "OriginAlias": "order-1",
          "User": "user-1",
          "SqlTag": {
            "SqlId": "a3931d8c3a9315dd5ed016d71cf*****",
            "Tags": "DAS_IN_PLAN",
            "Comments": "dba 归档"
          },
          "Trend": [
            {
              "Timestamp": 1723775362,
              "Value": "tf-testacc-oos-parameter"
            }
          ],
          "Database": "work-wechat-api",
          "Histogram": {
            "Total": 7,
            "Count": [
              100
            ],
            "Ts": [
              1715220818
            ],
            "TsEnd": [
              0
            ],
            "Item": [
              {
                "NodeId": "r-bp1s1m8hwzrm77kfvz-db-0",
                "Count": [
                  100
                ]
              }
            ],
            "Rt": [
              1854
            ],
            "AvgRt": [
              3709
            ],
            "MaxRt": [
              2516
            ],
            "LockTime": [
              300
            ],
            "AvgLockTime": [
              15
            ],
            "MaxLockTime": [
              1051
            ],
            "RowsExamined": [
              641057
            ],
            "AvgRowsExamined": [
              222189
            ],
            "MaxRowsExamined": [
              878511
            ],
            "RowsSent": [
              4
            ],
            "AvgRowsSent": [
              2
            ],
            "MaxRowsSent": [
              256
            ]
          },
          "SqlId": "2dca88762ec6b3812504ab8a4b******",
          "Scheme": "HTTP",
          "SubInstanceId": "r-8vba51c588ba3a94",
          "DbInstanceName": "0",
          "InsName": "rm-uf6zix1z2jh1y6fe5",
          "AccountName": "edu_admin",
          "HostAddress": "172.23.142.178",
          "QueryStartTime": "2024-12-25T03:00:00Z",
          "SQLText": "SELECT 'Hello, World!' FROM DUAL",
          "Psql": "SELECT b?.id,b?.t?,b?.id,b?.t? FROM testtb? b? JOIN testtb? b? ON b?.id=b?.id WHERE b?.t? LIKE ? ORDER BY b?.id DESC",
          "DBName": "member_score",
          "QueryTime": 272.444,
          "ReturnItemNumbers": "暂无",
          "DocsExamined": 1,
          "KeysExamined": 20000,
          "TableName": "users\\nifconfig\\n",
          "LockTime": 0,
          "RowsExamined": 2444081,
          "RowsSent": 772,
          "ThreadId": "1",
          "Timestamp": 1708568930,
          "AvgLockTime": 0,
          "AvgRowsSent": 2,
          "LockTimeSeconds": 0,
          "QueryTimeSeconds": 25.472,
          "AvgLockTimeSeconds": 0,
          "MaxLockTimeSeconds": 0,
          "MaxQueryTimeSeconds": 14.402,
          "AvgQueryTimeSeconds": 6.211,
          "SqlType": "LOGIN",
          "QueryId": "sq-1pzcdMwRb",
          "NodeType": "DLNode",
          "HostInsId": "mongo-abc123456",
          "InsRole": "__system",
          "OpType": "Insert",
          "Namespace": "database.collection",
          "AvgKeysExamined": 20000,
          "AvgDocExamined": 10000,
          "AvgReturnNum": 1,
          "MaxKeysExamined": 2000000,
          "MaxDocExamined": 1000000,
          "MaxReturnNum": 1,
          "ReturnNum": 1,
          "DocExamined": 2000000,
          "Command": "SELECT b?.id,b?.t?,b?.id,b?.t? FROM testtb? b? JOIN testtb? b? ON b?.id=b?.id WHERE b?.t? LIKE ? ORDER BY b?.t? DESC",
          "IOWrites": 1000,
          "MaxIOWrites": 1000,
          "LastRowsCountAffected": 1000,
          "MaxLastRowsCountAffected": 1000,
          "LogicalIOReads": 1000,
          "MaxLogicalIOReads": 1000,
          "PhysicalIOReads": 1000,
          "MaxPhysicalIOReads": 1000,
          "RowsCountAffected": 1000,
          "MaxRowsCountAffected": 1000,
          "CPUTime": 0,
          "AvgCPUTime": 0,
          "MaxCPUTime": 0,
          "AvgIOWrites": 1000,
          "AvgLastRowsCountAffected": 1000,
          "AvgLogicalIOReads": 1000,
          "AvgPhysicalIOReads": 1000,
          "AvgRowsCountAffected": 1000,
          "AvgCPUTimeSeconds": 456,
          "MaxCPUTimeSeconds": 456,
          "CPUTimeSeconds": 456,
          "Rows": 105,
          "AvgRows": 10,
          "MaxRows": 10,
          "Frows": 10,
          "AvgFrows": 10,
          "MaxFrows": 10,
          "Scnt": 10,
          "AvgScnt": 10,
          "MaxScnt": 10,
          "RuleId": "181**47",
          "AvgRt": 0,
          "MaxRt": 0,
          "AvgRequestSize": 0,
          "MaxRequestSize": 0,
          "AvgResponseSize": 0,
          "MaxResponseSize": 0,
          "TotalCount": 0,
          "Cmd": "systemctl restart nginx.service",
          "ClientIp": "10.57.84.109",
          "DbId": "0"
        }
      ]
    },
    "ErrorCode": 10910,
    "Message": "Successful",
    "Timestamp": 1735104224250
  }
}

Códigos de erro

Código de status HTTP

Código de erro

Mensagem de erro

Descrição

400 InvalidParams The request parameters are invalid.
403 NoPermission You are not authorized to do this action.

Consulte Códigos de Erro para uma lista completa.

Notas de versão

Consulte Notas de Versão para uma lista completa.