0

我正在使用 Percona 5.1.66-14.2。我们的慢日志配置为记录超过 500 毫秒(0.5 秒)的 SQL。

我只在慢日志中看到设置时间戳语句。慢日志中的 SET 时间戳后的分号 (;) 是否意味着什么?

# Time: 130612  2:01:55
# User@Host: root[root] @ localhost []
# Thread_id: 8  Schema: db_cache  Last_errno: 0  Killed: 0
# Query_time: 0.667233  Lock_time: 0.000000  Rows_sent: 0  Rows_examined: 0  Rows_affected: 0  Rows_read: 0
# Bytes_sent: 1462  Tmp_tables: 0  Tmp_disk_tables: 0  Tmp_table_sizes: 0
SET timestamp=1371027715;
;
# Time: 130612  2:01:57
# User@Host: root[root] @ localhost []
# Thread_id: 8  Schema: db_cache  Last_errno: 0  Killed: 0
# Query_time: 0.524655  Lock_time: 0.000000  Rows_sent: 0  Rows_examined: 0  Rows_affected: 0  Rows_read: 0
# Bytes_sent: 1339  Tmp_tables: 1  Tmp_disk_tables: 0  Tmp_table_sizes: 0
SET timestamp=1371027717;
;
# Time: 130612  2:01:58
# User@Host: root[root] @ localhost []
# Thread_id: 8  Schema: db_cache  Last_errno: 0  Killed: 0
# Query_time: 0.775974  Lock_time: 0.000000  Rows_sent: 0  Rows_examined: 0  Rows_affected: 0  Rows_read: 0
# Bytes_sent: 1374  Tmp_tables: 0  Tmp_disk_tables: 0  Tmp_table_sizes: 0
SET timestamp=1371027718;
;
# Time: 130612  2:02:00
# User@Host: root[root] @ localhost []
# Thread_id: 8  Schema: db_cache  Last_errno: 0  Killed: 0
# Query_time: 0.986338  Lock_time: 0.000000  Rows_sent: 0  Rows_examined: 0  Rows_affected: 0  Rows_read: 0
# Bytes_sent: 1987  Tmp_tables: 1  Tmp_disk_tables: 0  Tmp_table_sizes: 0
SET timestamp=1371027720;
;**
4

0 回答 0