QueryPerformanceInfo

  • This documentation describes the JSON representation of performance information for BigQuery query execution, specifically focusing on the data processed.

  • The data_processed field indicates the size of data read by a query, and can be represented as zeroMb, lessThanOneMb, or processedMb in the JSON response.

  • The fields zeroMb and lessThanOneMb are boolean values indicating whether the processed data is 0 bytes or less than 1 MiB, respectively.

  • The processedMb field is a string representing the data size in MiB if it is equal to or larger than 1 MiB, with -1 indicating an inability to fetch the processed bytes.

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.