Reference documentation and code samples for the Google Cloud Database Center V1beta Client class InefficientQueryInfo.
Metadata about inefficient query signal info for a database resource.
Generated from protobuf message google.cloud.databasecenter.v1beta.InefficientQueryInfo
Namespace
Google \ Cloud \ DatabaseCenter \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ database
string
Name of the database where index is required. For example, "db1", which is the name of the database present in the instance.
↳ table
string
Name of the table where index is required
↳ sql_index_statement
string
SQL statement of the index. Based on the ddl type, this will be either CREATE INDEX or DROP INDEX.
↳ storage_cost_bytes
int|string
Cost of additional disk usage in bytes
↳ impacted_queries_count
int|string
Count of queries to be impacted if index is applied
getDatabase
Name of the database where index is required. For example, "db1", which is the name of the database present in the instance.
string
setDatabase
Name of the database where index is required. For example, "db1", which is the name of the database present in the instance.
var
string
$this
getTable
Name of the table where index is required
string
setTable
Name of the table where index is required
var
string
$this
getSqlIndexStatement
SQL statement of the index. Based on the ddl type, this will be either CREATE INDEX or DROP INDEX.
string
setSqlIndexStatement
SQL statement of the index. Based on the ddl type, this will be either CREATE INDEX or DROP INDEX.
var
string
$this
getStorageCostBytes
Cost of additional disk usage in bytes
int|string
setStorageCostBytes
Cost of additional disk usage in bytes
var
int|string
$this
getImpactedQueriesCount
Count of queries to be impacted if index is applied
int|string
setImpactedQueriesCount
Count of queries to be impacted if index is applied
var
int|string
$this

