Actiknow
Data Engineering

BigQuery Managed Disaster Recovery: How to Audit Reservation Failovers With FAILOVER_HISTORY

Learn how to audit BigQuery managed disaster recovery reservation failovers using FAILOVER_HISTORY, SQL, evidence retention, and executive controls.

Modern enterprise server room racks representing cloud infrastructure reliability and disaster recovery management systems

A disaster recovery plan is not evidence that recovery worked. When a BigQuery reservation is failed over, technology leaders need to establish when the switch began, which location became primary, whether it completed, what workloads recovered, and whether the event met the business recovery objective. Google’s preview INFORMATION_SCHEMA.FAILOVER_HISTORY view gives teams a new piece of that audit trail. It is useful, but it is not a complete disaster recovery report on its own.

Modern enterprise server room racks representing cloud infrastructure reliability and disaster recovery management systems

What the view actually records

FAILOVER_HISTORY provides a near-real-time record of managed disaster recovery failover events for reservations in the administration project. Each row represents one event for one reservation. The fields include the reservation name, administration project, original primary location, source and destination locations, initiation time, failover mode, state and, where applicable, completion time. Google’s official FAILOVER_HISTORY documentation identifies the feature as Preview, subject to pre-GA terms. Treat its schema and operational behavior as capabilities to validate before making them a contractual control.

The distinction between soft and hard failover is essential. For soft failovers, STARTED can transition to COMPLETED and end_time can be populated. For hard failovers, the view keeps state as STARTED and end_time as NULL even after the failover takes effect. An alert that labels every STARTED event as an unresolved outage would therefore be wrong. A missing completion timestamp on a hard failover is not, by itself, evidence of failure.

Why this matters to executives

Most disaster recovery dashboards report infrastructure status. Business leaders need answers about customer impact: which reporting, financial close, forecasting, operational and compliance processes were unavailable; whether the fallback location had current enough data; and how long it took users to complete critical work. Reservation history supplies a timestamped infrastructure event that can be joined with application checks, incident records and business process monitoring. It supports auditability without pretending to prove full recovery.

Executive business analytics dashboard showing performance metrics and system operational health indicators

For organizations building an integrated view of reliability, the same data modeling and reporting disciplines used in business intelligence consulting and dashboard delivery apply: define metrics, agree on ownership, reconcile sources and present exceptions rather than raw log rows.

The scope and retention traps

There are four easy ways to produce an incomplete audit. First, the view reports reservation failovers, not independent dataset failover events. Second, each event appears in the destination region, the location that becomes primary. To inspect failovers in both directions, query both regions separately. Third, the query execution location must match the region-qualified INFORMATION_SCHEMA view. Fourth, records remain available for 180 days, so a quarterly or annual audit needs an independent archive.

Permissions matter too. Google documents bigquery.reservations.list as the required permission, available through the BigQuery Resource Viewer role on the administration project. Grant the narrowest suitable role to the monitoring identity, and keep audit storage and alert administration separately controlled. Do not grant broad production permissions simply to read history.

SQL query code displayed on a monitor for database administration and log auditing

Practical SQL: inspect failovers in one destination region

The following example is illustrative. Replace the project, region and reservation values with those in your environment. Run the query in the matching location.

SELECT

project_id,

reservation_name,

failover_mode,

state,

original_primary_location,

from_location,

to_location,

start_time,

end_time,

IF(failover_mode = ‘SOFT’ AND end_time IS NOT NULL,

TIMESTAMP_DIFF(end_time, start_time, SECOND), NULL)

AS soft_failover_seconds

FROM `reservation-admin-project.region-us`.INFORMATION_SCHEMA.FAILOVER_HISTORY

WHERE reservation_name = ‘critical-bi-reservation’

ORDER BY start_time DESC;

This duration is the recorded soft failover interval, not the application’s recovery time objective (RTO). An RTO measurement must begin at the business-defined incident or service-interruption point and end when the required service is demonstrably restored. The distinction prevents a technically quick switch from concealing a prolonged outage in downstream dashboards or integrations.

To cover a two-region topology, execute a separate regional query for each destination and combine results in a governed audit table. Do not assume a single query in the original primary region contains the complete history. Include ingestion time, query region, extraction job ID and source project in your archived evidence so auditors can trace how records were obtained.

Build an audit-grade evidence model

A practical evidence record should contain five connected layers. The reservation event layer stores the native fields unchanged, with an event key based on administration project, reservation, destination region, start time and mode. The incident layer records detection, declaration, approval, communications and operator actions. The data layer records replication health and the currency of required datasets. The application layer records successful connectivity, representative queries and dashboard refreshes. The business layer records when critical workflows resumed and whether agreed RTO and recovery point objective (RPO) thresholds were met.

Avoid inventing a single green status from a successful failover event. A reservation can change primary location while data consumers still point to an unavailable endpoint, permissions fail, a dependent pipeline remains paused or a required dataset has not reached an acceptable replication state. A completed infrastructure action is a prerequisite for some recovery paths, not proof of business continuity.

Complex cloud network architecture diagram illustrating multi-region failover and system resilience

Google’s managed disaster recovery guidance describes the reservation failover process and associated datasets. Teams should validate how reservation assignments, dataset replication, query routing and connected services behave in their actual architecture before relying on a drill result.

Design alerts that reflect real states

Use different alert rules for soft and hard failovers. For soft failovers, alert on an unexpected STARTED event, escalate if the expected completion window is exceeded, and record the eventual completion. For hard failovers, alert on the event but obtain confirmation from reservation state, application health and an operator runbook rather than waiting for end_time to appear. For both modes, notify the incident owner when a failover is unplanned, occurs outside an approved drill, or moves workloads to an unexpected location.

Deduplicate alerts using a stable event key and record alert delivery and acknowledgement. Run scheduled extraction more frequently than the organization can tolerate for missed detection, while acknowledging that the view is near real-time rather than a guaranteed instantaneous event stream. Monitor the extractor itself; an empty result may mean no events, a permissions error, a failed job or the wrong region.

Executive KPIs worth reporting

A useful monthly control report includes the number of planned versus unplanned failovers; soft failover completion time distribution; elapsed time to detect and acknowledge unexpected events; percentage of events with a complete evidence packet; percentage of critical workflows validated after failover; actual RTO and RPO compliance; age of the last successful drill; and outstanding remediation actions. Label hard failovers separately, since the history view cannot provide their completion duration.

Avoid comparing infrastructure switching time with business restoration time as though they were the same metric. Show them side by side, with the incident timeline and any data freshness caveats. This makes the report useful to risk committees and engineering teams alike.

Business executives reviewing disaster recovery key performance indicators and audit reports in a meeting room

A four-week implementation plan

Week 1: Inventory administration projects, reservations, primary and secondary locations, connected datasets, critical workloads and DR owners. Confirm whether managed disaster recovery is enabled and whether the preview view is accessible. Define the evidence retention requirement and RTO/RPO definitions.

Week 2: Build region-specific read-only extraction jobs and a centralized audit table. Test schema validation, event deduplication, access controls, extraction failures and the 180-day retention boundary. Create an exception report for incomplete evidence.

Week 3: Run an approved failover exercise in a suitable non-production or controlled environment. Observe soft versus hard behavior where feasible, reconcile recorded events with incident logs, and test representative application queries and dataset freshness. Record every mismatch.

Week 4: Review findings with infrastructure, data platform, security and business owners. Establish alert thresholds, evidence sign-off, a recurring drill calendar and a documented recovery runbook. Only then promote the reporting workflow to a governed operational control.

Common mistakes to avoid

Do not use the view as a dataset-level event ledger. Do not query only one region. Do not classify every hard failover with a NULL end_time as unfinished. Do not equate soft failover duration with user-visible downtime. Do not leave audit evidence exclusively in a 180-day rolling view. And do not let a dashboard replace periodic, witnessed recovery testing.

Frequently asked questions

1. Is FAILOVER_HISTORY generally available?

No. Google’s documentation currently labels the view Preview. Confirm the current status before making long-term platform commitments.

2. Does it show all BigQuery dataset failovers?

No. It covers managed disaster recovery reservation failover events, not standalone dataset failover history.

3. Why does a hard failover remain STARTED?

The view does not receive a completion signal for hard failovers. Validate effective recovery using additional operational evidence.

4. How long are records retained?

Google documents 180 days. Export evidence to governed storage for longer retention needs.

5. Why is an event missing from the original region?

Events are recorded in the region that becomes the new primary. Query both failover destination regions separately.

6. What access is needed?

The documented permission is bigquery.reservations.list on the administration project. Resource Viewer is one predefined role containing it.

7. Can soft failover duration be calculated?

Yes, when end_time is populated. It is not automatically the business RTO.

8. Can this replace a DR drill?

No. It records reservation events, while drills validate applications, data freshness, dependencies and business recovery.

9. Should every failover trigger an incident?

Not necessarily. Approved exercises may be informational; unplanned or unexpected location changes should follow incident policy.

10. What should executives see first?

Whether critical services recovered within agreed objectives, supported by an event timeline and traceable evidence.

Conclusion: make failover history a control, not a comfort metric

FAILOVER_HISTORY makes reservation switching more observable, but it cannot certify a complete recovery. The strongest approach combines regional event collection, longer-term retention, application-level verification, clear ownership and business-facing metrics. That turns a technical record into defensible evidence for operational resilience.

Professional IT engineering team collaborating on cloud platform reliability and data integration strategies

If your team needs to connect cloud platform events with executive reporting, Actiknow’s BI and data integration services can support the reporting and modeling work. Contact Actiknow to discuss the requirements for a scoped reliability dashboard or data integration assessment.