查询事务列表
更新时间:2022-11-17
接口说明
使用此接口可以查询实例的会话列表
请求URI
GET /v1/instance/{instanceId}/performance/transaction
请求体参数
无
响应体参数
无
请求示例
无
GET
<公共请求头>
响应示例
HTTP/1.1 200 OK
<公共响应头>
{
"datetime" : "2022-01-17 11:52:39",
"innodbTrxList" : [ {
"trxRequestedLockId" : "trxRequestedLockId",
"trxStarted" : "2022-01-17 10:56:41",
"trxMysqlThreadId" : 147933,
"trxRowsLocked" : 11,
"trxWaitStarted" : "trxWaitStarted",
"trxState" : "RUNNING",
"trxTablesInUse" : 0,
"trxId" : "3452",
"trxQuery" : "trxQuery",
"trxTablesLocked" : 1
}, {
"trxRequestedLockId" : "trxRequestedLockId",
"trxStarted" : "2022-01-17 10:56:41",
"trxMysqlThreadId" : 147933,
"trxRowsLocked" : 11,
"trxWaitStarted" : "trxWaitStarted",
"trxState" : "RUNNING",
"trxTablesInUse" : 0,
"trxId" : "3452",
"trxQuery" : "trxQuery",
"trxTablesLocked" : 1
} ]
}
错误码
请参考通用错误码