package oceanbasepro

//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.

// Plan is a nested struct in oceanbasepro response
type Plan struct {
	Executions                  int64   `json:"Executions" xml:"Executions"`
	AvgCpuTime                  float64 `json:"AvgCpuTime" xml:"AvgCpuTime"`
	PlanHash                    string  `json:"PlanHash" xml:"PlanHash"`
	TimeoutPercentage           float64 `json:"TimeoutPercentage" xml:"TimeoutPercentage"`
	AvgConcurrencyWaitTime      float64 `json:"AvgConcurrencyWaitTime" xml:"AvgConcurrencyWaitTime"`
	FirstLoadTimeUs             int64   `json:"FirstLoadTimeUs" xml:"FirstLoadTimeUs"`
	AvgDiskWrites               float64 `json:"AvgDiskWrites" xml:"AvgDiskWrites"`
	AvgUserIoWaitTime           float64 `json:"AvgUserIoWaitTime" xml:"AvgUserIoWaitTime"`
	PlanSize                    int64   `json:"PlanSize" xml:"PlanSize"`
	ServerSn                    string  `json:"ServerSn" xml:"ServerSn"`
	OutlineData                 string  `json:"OutlineData" xml:"OutlineData"`
	PlanType                    string  `json:"PlanType" xml:"PlanType"`
	ObDbId                      int64   `json:"ObDbId" xml:"ObDbId"`
	HitPercentage               float64 `json:"HitPercentage" xml:"HitPercentage"`
	AvgBufferGets               float64 `json:"AvgBufferGets" xml:"AvgBufferGets"`
	ExecPs                      float64 `json:"ExecPs" xml:"ExecPs"`
	DelayedLargeQueryPercentage float64 `json:"DelayedLargeQueryPercentage" xml:"DelayedLargeQueryPercentage"`
	TableScan                   bool    `json:"TableScan" xml:"TableScan"`
	LargeQueryPercentage        float64 `json:"LargeQueryPercentage" xml:"LargeQueryPercentage"`
	SchemaVersion               int64   `json:"SchemaVersion" xml:"SchemaVersion"`
	PlanId                      int64   `json:"PlanId" xml:"PlanId"`
	FirstLoadTime               string  `json:"FirstLoadTime" xml:"FirstLoadTime"`
	AvgRowProcessed             float64 `json:"AvgRowProcessed" xml:"AvgRowProcessed"`
	MergedVersion               int64   `json:"MergedVersion" xml:"MergedVersion"`
	HitDiagnosis                bool    `json:"HitDiagnosis" xml:"HitDiagnosis"`
	Uid                         string  `json:"Uid" xml:"Uid"`
	AvgApplicationWaitTime      float64 `json:"AvgApplicationWaitTime" xml:"AvgApplicationWaitTime"`
	CollectTimeUs               int64   `json:"CollectTimeUs" xml:"CollectTimeUs"`
	AvgElapsedTime              float64 `json:"AvgElapsedTime" xml:"AvgElapsedTime"`
	ObServerId                  int64   `json:"ObServerId" xml:"ObServerId"`
	OutlineId                   int64   `json:"OutlineId" xml:"OutlineId"`
	AvgDiskReads                float64 `json:"AvgDiskReads" xml:"AvgDiskReads"`
}
