Repository navigation
Update minimizing-costs guide: rank estimates are now accurate - #1379
Merged
Merged
Conversation
tunetheweb
approved these changes
Oct 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BigQuery's bytes-processed estimates now account for cluster pruning on
rank, so the guide's warning about the estimate bug is out of date.Checked on the guide's own example (
crawl.pages, 2023-05-01, desktop,rank <= 1000): the dry run estimated 92.9 MB and the run processed 91.2 MB. On the 2026-09 crawl, estimates matched processed bytes exactly forrankfilters on bothcrawl.pagesandcrawl.requests, with and withoutclient/is_root_page.Changes:
rank.bq query --dry_run(both free) instead of relying on figures in the guide.rankstep by step, plus a note about the old bug.sample_data: reposition as a small fixed set for developing query logic; note it's rebuilt each crawl.ranknow ✅ for accurate estimates; closing line recommendsrank, withTABLESAMPLEfor random samples.a11yis now ~3 MB, the full-month query ~0.7 TiB), so the text now compares relatively.