struct_sql_slow_log.go 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package rds
  2. //Licensed under the Apache License, Version 2.0 (the "License");
  3. //you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software
  9. //distributed under the License is distributed on an "AS IS" BASIS,
  10. //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. //See the License for the specific language governing permissions and
  12. //limitations under the License.
  13. //
  14. // Code generated by Alibaba Cloud SDK Code Generator.
  15. // Changes may cause incorrect behavior and will be lost if the code is regenerated.
  16. // SQLSlowLog is a nested struct in rds response
  17. type SQLSlowLog struct {
  18. SlowLogId int `json:"SlowLogId" xml:"SlowLogId"`
  19. SQLId int `json:"SQLId" xml:"SQLId"`
  20. SQLHASH int `json:"SQLHASH" xml:"SQLHASH"`
  21. SQLIdStr string `json:"SQLIdStr" xml:"SQLIdStr"`
  22. DBName string `json:"DBName" xml:"DBName"`
  23. SQLText string `json:"SQLText" xml:"SQLText"`
  24. MySQLTotalExecutionCounts int `json:"MySQLTotalExecutionCounts" xml:"MySQLTotalExecutionCounts"`
  25. MySQLTotalExecutionTimes int `json:"MySQLTotalExecutionTimes" xml:"MySQLTotalExecutionTimes"`
  26. TotalLockTimes int `json:"TotalLockTimes" xml:"TotalLockTimes"`
  27. MaxLockTime int `json:"MaxLockTime" xml:"MaxLockTime"`
  28. ParseTotalRowCounts int `json:"ParseTotalRowCounts" xml:"ParseTotalRowCounts"`
  29. ParseMaxRowCount int `json:"ParseMaxRowCount" xml:"ParseMaxRowCount"`
  30. ReturnTotalRowCounts int `json:"ReturnTotalRowCounts" xml:"ReturnTotalRowCounts"`
  31. ReturnMaxRowCount int `json:"ReturnMaxRowCount" xml:"ReturnMaxRowCount"`
  32. CreateTime string `json:"CreateTime" xml:"CreateTime"`
  33. SQLServerTotalExecutionCounts int `json:"SQLServerTotalExecutionCounts" xml:"SQLServerTotalExecutionCounts"`
  34. SQLServerTotalExecutionTimes int `json:"SQLServerTotalExecutionTimes" xml:"SQLServerTotalExecutionTimes"`
  35. TotalLogicalReadCounts int `json:"TotalLogicalReadCounts" xml:"TotalLogicalReadCounts"`
  36. TotalPhysicalReadCounts int `json:"TotalPhysicalReadCounts" xml:"TotalPhysicalReadCounts"`
  37. ReportTime string `json:"ReportTime" xml:"ReportTime"`
  38. MaxExecutionTime int `json:"MaxExecutionTime" xml:"MaxExecutionTime"`
  39. AvgExecutionTime int `json:"AvgExecutionTime" xml:"AvgExecutionTime"`
  40. }