struct_sql_slow_log.go 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 int64 `json:"SlowLogId" xml:"SlowLogId"`
  19. SQLHASH string `json:"SQLHASH" xml:"SQLHASH"`
  20. SQLIdStr string `json:"SQLIdStr" xml:"SQLIdStr"`
  21. DBName string `json:"DBName" xml:"DBName"`
  22. SQLText string `json:"SQLText" xml:"SQLText"`
  23. MySQLTotalExecutionCounts int64 `json:"MySQLTotalExecutionCounts" xml:"MySQLTotalExecutionCounts"`
  24. MySQLTotalExecutionTimes int64 `json:"MySQLTotalExecutionTimes" xml:"MySQLTotalExecutionTimes"`
  25. TotalLockTimes int64 `json:"TotalLockTimes" xml:"TotalLockTimes"`
  26. MaxLockTime int64 `json:"MaxLockTime" xml:"MaxLockTime"`
  27. ParseTotalRowCounts int64 `json:"ParseTotalRowCounts" xml:"ParseTotalRowCounts"`
  28. ParseMaxRowCount int64 `json:"ParseMaxRowCount" xml:"ParseMaxRowCount"`
  29. ReturnTotalRowCounts int64 `json:"ReturnTotalRowCounts" xml:"ReturnTotalRowCounts"`
  30. ReturnMaxRowCount int64 `json:"ReturnMaxRowCount" xml:"ReturnMaxRowCount"`
  31. CreateTime string `json:"CreateTime" xml:"CreateTime"`
  32. SQLServerTotalExecutionCounts int64 `json:"SQLServerTotalExecutionCounts" xml:"SQLServerTotalExecutionCounts"`
  33. SQLServerTotalExecutionTimes int64 `json:"SQLServerTotalExecutionTimes" xml:"SQLServerTotalExecutionTimes"`
  34. TotalLogicalReadCounts int64 `json:"TotalLogicalReadCounts" xml:"TotalLogicalReadCounts"`
  35. TotalPhysicalReadCounts int64 `json:"TotalPhysicalReadCounts" xml:"TotalPhysicalReadCounts"`
  36. ReportTime string `json:"ReportTime" xml:"ReportTime"`
  37. MaxExecutionTime int64 `json:"MaxExecutionTime" xml:"MaxExecutionTime"`
  38. AvgExecutionTime int64 `json:"AvgExecutionTime" xml:"AvgExecutionTime"`
  39. }