云数据库 GEMINIDB-查询GeminiDB Mongo数据库慢日志:响应参数

时间:2023-11-24 09:57:02

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

slow_logs

Array of objects

慢日志具体信息。详情请参考表5

表5 MongodbSlowLogDetail

参数

参数类型

描述

node_name

String

节点名称。

node_id

String

节点ID。

whole_message

String

执行语句。

operate_type

String

语句类型。

cost_time

Integer

执行时间。单位:ms。

lock_time

Integer

等待锁时间。单位:us。

docs_returned

Integer

慢查询返回的文档数。

docs_scanned

Integer

慢查询扫描的文档数。

database

String

数据库库名。

collection

String

数据库集合名称。

log_time

String

日志产生时间,UTC时间。格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。

line_num

String

日志单行序列号。

support.huaweicloud.com/api-nosql/nosql_10_0004.html