package das

//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.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

// QueryOptimizeDataStats is a nested struct in das response
type QueryOptimizeDataStats struct {
	InstanceId      string  `json:"InstanceId" xml:"InstanceId"`
	Dbname          string  `json:"Dbname" xml:"Dbname"`
	SqlId           string  `json:"SqlId" xml:"SqlId"`
	SqlType         string  `json:"SqlType" xml:"SqlType"`
	Psql            string  `json:"Psql" xml:"Psql"`
	SqlSample       string  `json:"SqlSample" xml:"SqlSample"`
	Count           int     `json:"Count" xml:"Count"`
	MaxQueryTime    string  `json:"MaxQueryTime" xml:"MaxQueryTime"`
	AvgQueryTime    string  `json:"AvgQueryTime" xml:"AvgQueryTime"`
	MaxLockTime     string  `json:"MaxLockTime" xml:"MaxLockTime"`
	AvgLockTime     string  `json:"AvgLockTime" xml:"AvgLockTime"`
	MaxRowsExamined int64   `json:"MaxRowsExamined" xml:"MaxRowsExamined"`
	AvgRowsExamined string  `json:"AvgRowsExamined" xml:"AvgRowsExamined"`
	MaxRowsSent     int64   `json:"MaxRowsSent" xml:"MaxRowsSent"`
	AvgRowsSent     string  `json:"AvgRowsSent" xml:"AvgRowsSent"`
	MaxRowsAffected int64   `json:"MaxRowsAffected" xml:"MaxRowsAffected"`
	AvgRowsAffected string  `json:"AvgRowsAffected" xml:"AvgRowsAffected"`
	User            string  `json:"User" xml:"User"`
	RuleList        []Rules `json:"RuleList" xml:"RuleList"`
}
