Currently, we start loading Google Search Console data for day D into the Data Lake at D+4.7. The data is generally available in BigQuery on D+2.
There are two problems with this schedule:
- The longer-than-necessary delay makes it impossible to use this data in the weekly reporting process
- We have now seen corrected data arrive as late as 8.4 days from the end of the data date (and, as it happens, that correction had a substantial impact so ignoring it isn't acceptable—see T436144)
So we need to make two changes:
- Load the data roughly as soon as it becomes available (a fixed delay like 2 days after the end of the data date is fine)
- Monitor for corrections and, when one occurs, reload the affected data
- We (metric steward/analysts) need a notification when this happens (and it would be really useful if that notification gave the per-day impact of the correction on the total count of impressions and clicks)
I'm assuming that Google will not insert the corrected data into BigQuery if we've already deleted that day's partition (Google doesn't seem to have documented this anywhere, so if it becomes important, we could ask through our contacts). So we'll need to pick how long to retain the data in BigQuery based on how long we want to be able to receive corrections (or recover from errors inserting into the Data Lake).
I suggest 1 month. That's a round number well over the 8.4 days that's the highest time-to-correction we've seen so far. Based on the storage cost estimate I did in April, the ongoing cost for retaining a month of data will be about $220 per month, which seems acceptable (according to that estimate, we could further cut the cost by about 80% by switching to the physical storage billing model).
Appendix: time to correction
So far, during roughly one year of exporting search data to BigQuery, we've seen 2 different data corrections affecting a total of 7 days of data.
Query:
SELECT data_date, MAX(publish_time) AS correction_time, -- Days between the end of the data date and the corrected data -- landing in BigQuery ROUND(TIMESTAMP_DIFF( MAX(publish_time), CAST(DATE_ADD(data_date, INTERVAL 1 DAY) AS TIMESTAMP), HOUR ) / 24, 2) AS days_until_correction FROM `search-console-export-470421`.searchconsole_wikipedia_org.ExportLog WHERE epoch_version > 0 GROUP BY data_date ORDER BY data_date
Results:
| data_date | correction_time | days_until_correction |
|---|---|---|
| 2026-04-23 | 2026-04-27 03:57:10.697000+00:00 | 3.13 |
| 2026-04-24 | 2026-04-27 23:35:14.174000+00:00 | 2.96 |
| 2026-08-13 | 2026-08-21 06:05:06.418000+00:00 | 7.25 |
| 2026-08-14 | 2026-08-23 10:32:25.836000+00:00 | 8.42 |
| 2026-08-15 | 2026-08-23 05:31:58.106000+00:00 | 7.21 |
| 2026-08-16 | 2026-08-23 19:08:08.577000+00:00 | 6.79 |
| 2026-08-17 | 2026-08-23 03:52:28.206000+00:00 | 5.13 |
Appendix: time to data
Query:
WITH time_to_data AS (
SELECT
-- Days between the end of the data date and the data landing in BigQuery
-- (corrections excluded)
ROUND(TIMESTAMP_DIFF(
publish_time,
CAST(DATE_ADD(data_date, INTERVAL 1 DAY) AS TIMESTAMP),
HOUR
) / 24, 2) AS days_to_data
FROM `search-console-export-470421`.searchconsole_wikipedia_org.ExportLog
WHERE epoch_version = 0
)
SELECT DISTINCT
PERCENTILE_CONT(days_to_data, 0.5) OVER () AS median_days_to_data,
PERCENTILE_CONT(days_to_data, 0.9) OVER () As p90_days_to_data,
MAX(days_to_data) OVER () AS max_days_to_data
FROM time_to_dataResults:
| median_days_to_data | p90_days_to_data | max_days_to_data |
|---|---|---|
| 1.42 | 2.46 | 6.96 |