tencent cloud

TencentDB for MySQL

Tutorial do usuário
Introdução do produto
Visão geral
Vantagens
Casos de uso
Política de isolamento de recursos
Instância de banco de dados
Guia de aquisição
Visão geral do faturamento
Métodos de aquisição
Pagamento em atraso
Reembolso
Taxa de ajuste de instância
Faturamento do espaço de backup
Guia de operação
Limites de uso
Visão geral da operação
Gerenciamento e manutenção de instâncias
Upgrade da versão
Expansão de instância
Proxy de banco de dados
Gerenciamento de conta
Configuração dos parâmetros
Backup e reversão
Migrasi data
Rede e segurança
Monitoramento e alarmes
Centro de logs
Tag
White paper
White paper sobre a segurança
Service Agreement
Service Level Agreement
Terms of Service
DocumentaçãoTencentDB for MySQL

SLOW_LOG

Modo Foco
Tamanho da Fonte
Última atualização: 2025-05-09 11:51:24

Feature

SLOW_LOG is a system table that records slow SQL queries. In the read-only analysis engine, any SQL statement with an execution time exceeding 300ms will be logged in this table. By default, slow query records are retained for 7 days.

Query Example

select * from libra_system.slow_log;

Field Description

Field Name
Type
Nullable
Description
start_time
text
NO
The time when the SQL execution started.
tso
bigint(20) unsigned
NO
The unique identifier of the SQL statement.
sql
text
NO
The SQL text information.
duration
bigint(20) unsigned
NO
The execution time of the SQL statement.
details
text
NO
Detailed information about the SQL execution.
conn_id
bigint(20) unsigned
NO
The session ID of the client connection.
user
text
NO
The username used for execution.
db
text
NO
The database involved.
digest
text
NO
Reserved column name (currently unused).
succ
tinyint(3) unsigned
NO
Whether the SQL statement was executed successfully.
host
text
NO
Information about the node that executed the SQL statement.

Ajuda e Suporte

Esta página foi útil?

comentários