struct_sql_slow_log.go 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package polardb
  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 polardb response
  17. type SQLSlowLog struct {
  18. SlowLogId int `json:"SlowLogId" xml:"SlowLogId"`
  19. SQLId int `json:"SQLId" xml:"SQLId"`
  20. DBName string `json:"DBName" xml:"DBName"`
  21. SQLText string `json:"SQLText" xml:"SQLText"`
  22. MySQLTotalExecutionCounts int `json:"MySQLTotalExecutionCounts" xml:"MySQLTotalExecutionCounts"`
  23. MySQLTotalExecutionTimes int `json:"MySQLTotalExecutionTimes" xml:"MySQLTotalExecutionTimes"`
  24. MaxExecutionTime int `json:"MaxExecutionTime" xml:"MaxExecutionTime"`
  25. TotalLockTimes int `json:"TotalLockTimes" xml:"TotalLockTimes"`
  26. MaxLockTime int `json:"MaxLockTime" xml:"MaxLockTime"`
  27. ParseTotalRowCounts int `json:"ParseTotalRowCounts" xml:"ParseTotalRowCounts"`
  28. ParseMaxRowCount int `json:"ParseMaxRowCount" xml:"ParseMaxRowCount"`
  29. ReturnTotalRowCounts int `json:"ReturnTotalRowCounts" xml:"ReturnTotalRowCounts"`
  30. ReturnMaxRowCount int `json:"ReturnMaxRowCount" xml:"ReturnMaxRowCount"`
  31. CreateTime string `json:"CreateTime" xml:"CreateTime"`
  32. SQLServerTotalExecutionCounts int `json:"SQLServerTotalExecutionCounts" xml:"SQLServerTotalExecutionCounts"`
  33. SQLServerTotalExecutionTimes int `json:"SQLServerTotalExecutionTimes" xml:"SQLServerTotalExecutionTimes"`
  34. TotalLogicalReadCounts int `json:"TotalLogicalReadCounts" xml:"TotalLogicalReadCounts"`
  35. TotalPhysicalReadCounts int `json:"TotalPhysicalReadCounts" xml:"TotalPhysicalReadCounts"`
  36. ReportTime string `json:"ReportTime" xml:"ReportTime"`
  37. AvgExecutionTime int `json:"AvgExecutionTime" xml:"AvgExecutionTime"`
  38. }