Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
sydneynotthecity committed Jun 30, 2023
1 parent df1f9ca commit 6f192f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/accessing-data/optimizing-queries.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ If you need to estimate costs before running a query, there are several options

The BigQuery Console comes with a built-in query validator. It verifies query syntax and provides an estimate of the number of bytes processed. The validator can be found in the upper right hand corner of the Query Editor, next to the green checkmark.

To calculate the query cost, convert the number of bytes processed into terabytes, and multiply the result by $5:
To calculate the query cost, convert the number of bytes processed into terabytes, and multiply the result by $5:

`(estimated bytes read / 1TB) * $5`
`(estimated bytes read / 1TB) * $5`

Paste the following query into the Editor to view the estimated bytes processed.

Expand All @@ -185,7 +185,7 @@ group by month

The validator estimates that 51.95MB of data will be read.

0.00005195 TB * $5 = $0.000259. _That’s a cheap query!_
0.00005195 TB \* $5 = $0.000259. _That’s a cheap query!_

### dryRun Config Parameter

Expand Down

0 comments on commit 6f192f3

Please sign in to comment.