QueryPerformanceInfo

  • QueryPerformanceInfo provides performance details for query execution.

  • The data_processed field indicates the data size read by the query and uses a union field that can be represented as zeroMb, lessThanOneMb, or processedMb.

  • zeroMb is a boolean indicating if 0 bytes were processed, while lessThanOneMb is a boolean for processing less than 1 MiB.

  • processedMb is a string (int64 format) representing the MiB of data read when the size is 1 MiB or larger, with -1 indicating the processed bytes could not be fetched.

Performance info for the query execution.

JSON representation
{

  // Union field data_processed can be only one of the following:
  "zeroMb": boolean,
  "lessThanOneMb": boolean,
  "processedMb": string
  // End of list of possible types for union field data_processed.
}
Fields
Union field data_processed. Data size this query reads. See https://cloud.google.com/bigquery/pricing#data for details on how this is calculated. data_processed can be only one of the following:
zeroMb

boolean

True if the processed data is 0 bytes.

lessThanOneMb

boolean

True if the processed data is less than 1 MiB.

processedMb

string (int64 format)

MiB data this query reads. Set if the data size is equal to or larger than 1 MiB. -1 means we could not fetch the processed bytes for this query.