共用方式為


MySqlSlowLogs

適用於 MySQL 的 Azure 資料庫彈性伺服器的慢查詢日誌。

數據表屬性

Attribute Value
資源類型 microsoft.dbformysql/flexibleservers
Categories 稽核、Azure 資源
Solutions LogManagement
基本記錄 Yes
資料引入時進行的轉換 Yes
範例查詢 Yes

Columns

Column 類型 Description
_BilledSize real 以位元組為單位的記錄大小
Category 字串 記錄的類別。
Db 字串 存取的資料庫名稱。
EventClass 字串 記錄事件的類別。
Host 字串 線上到 MySQL 的用戶端主機名。
InsertId int 插入識別碼。
_IsBillable 字串 指定輸入數據是否會產生費用。 當 _IsBillable 為 false 時,此操作不會向您的 Azure 帳戶收費
LastInsertId int 由於最近執行的 INSERT 語句,第一個自動生成的值已成功插入到 AUTO_INCREMENT 欄位。
LockDurationMs long 查詢遭到鎖定的總時間 (以毫秒為單位)
QueryDurationMs long 查詢執行所花費的總時間以毫秒為單位。
ReplicationSetRole 字串 MySQL 彈性伺服器的複寫集角色。
_ResourceId 字串 與該記錄相關聯的資源唯一識別碼
RowsExamined int 檢查的行數目。
RowsSent int 傳送的行數目。
ServerId int MySQL 彈性伺服器的標識碼。
SourceSystem 字串 事件被收集時所使用的代理程式類型。 例如,OpsManager 適用於 Windows 代理程式,可以直接連線或使用 Operations Manager;Linux 適用於所有 Linux 代理程式;Azure 則適用於 Azure 診斷。
SqlText 字串 完整查詢文字。
StartTime 日期時間 查詢開始時間以 UTC 時間戳表示。
_SubscriptionId 字串 與記錄相關的訂用帳戶唯一識別碼
TenantId 字串 Log Analytics 工作區識別碼
ThreadId int 執行查詢的線程標識碼。
TimeGenerated 日期時間 產生記錄時的時間戳記 (UTC)。
類型 字串 資料表的名稱