/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Mariadb.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class SlowLogData : AbstractModel
{
///
/// 语句校验和,用于查询详情
///
[JsonProperty("CheckSum")]
public string CheckSum{ get; set; }
///
/// 数据库名称
///
[JsonProperty("Db")]
public string Db{ get; set; }
///
/// 抽象的SQL语句
///
[JsonProperty("FingerPrint")]
public string FingerPrint{ get; set; }
///
/// 平均的锁时间
///
[JsonProperty("LockTimeAvg")]
public string LockTimeAvg{ get; set; }
///
/// 最大锁时间
///
[JsonProperty("LockTimeMax")]
public string LockTimeMax{ get; set; }
///
/// 最小锁时间
///
[JsonProperty("LockTimeMin")]
public string LockTimeMin{ get; set; }
///
/// 锁时间总和
///
[JsonProperty("LockTimeSum")]
public string LockTimeSum{ get; set; }
///
/// 查询次数
///
[JsonProperty("QueryCount")]
public string QueryCount{ get; set; }
///
/// 平均查询时间
///
[JsonProperty("QueryTimeAvg")]
public string QueryTimeAvg{ get; set; }
///
/// 最大查询时间
///
[JsonProperty("QueryTimeMax")]
public string QueryTimeMax{ get; set; }
///
/// 最小查询时间
///
[JsonProperty("QueryTimeMin")]
public string QueryTimeMin{ get; set; }
///
/// 查询时间总和
///
[JsonProperty("QueryTimeSum")]
public string QueryTimeSum{ get; set; }
///
/// 扫描行数
///
[JsonProperty("RowsExaminedSum")]
public string RowsExaminedSum{ get; set; }
///
/// 发送行数
///
[JsonProperty("RowsSentSum")]
public string RowsSentSum{ get; set; }
///
/// 最后执行时间
///
[JsonProperty("TsMax")]
public string TsMax{ get; set; }
///
/// 首次执行时间
///
[JsonProperty("TsMin")]
public string TsMin{ get; set; }
///
/// 帐号
///
[JsonProperty("User")]
public string User{ get; set; }
///
/// 样例Sql
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("ExampleSql")]
public string ExampleSql{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "CheckSum", this.CheckSum);
this.SetParamSimple(map, prefix + "Db", this.Db);
this.SetParamSimple(map, prefix + "FingerPrint", this.FingerPrint);
this.SetParamSimple(map, prefix + "LockTimeAvg", this.LockTimeAvg);
this.SetParamSimple(map, prefix + "LockTimeMax", this.LockTimeMax);
this.SetParamSimple(map, prefix + "LockTimeMin", this.LockTimeMin);
this.SetParamSimple(map, prefix + "LockTimeSum", this.LockTimeSum);
this.SetParamSimple(map, prefix + "QueryCount", this.QueryCount);
this.SetParamSimple(map, prefix + "QueryTimeAvg", this.QueryTimeAvg);
this.SetParamSimple(map, prefix + "QueryTimeMax", this.QueryTimeMax);
this.SetParamSimple(map, prefix + "QueryTimeMin", this.QueryTimeMin);
this.SetParamSimple(map, prefix + "QueryTimeSum", this.QueryTimeSum);
this.SetParamSimple(map, prefix + "RowsExaminedSum", this.RowsExaminedSum);
this.SetParamSimple(map, prefix + "RowsSentSum", this.RowsSentSum);
this.SetParamSimple(map, prefix + "TsMax", this.TsMax);
this.SetParamSimple(map, prefix + "TsMin", this.TsMin);
this.SetParamSimple(map, prefix + "User", this.User);
this.SetParamSimple(map, prefix + "ExampleSql", this.ExampleSql);
}
}
}