• Reference
  • Version · 6.0
  • Change Automation Reference

bigquery-lock-table-init-poll-interval-millis

Last updated: September 29, 2026

--bigquery-lock-table-init-poll-interval-millis is a global parameter for the Liquibase BigQuery Secure extension. It specifies how many milliseconds Liquibase waits between attempts to query a newly created lock tracking table (DATABASECHANGELOGLOCK) while waiting for it to become queryable. The default value is 2000 (2 seconds).

Note: The total time Liquibase waits is capped by --bigquery-lock-table-init-timeout-millis.

Uses

BigQuery applies DDL changes with eventual consistency, so a lock tracking table that Liquibase just created can briefly report as missing when Liquibase queries DATABASECHANGELOGLOCK during initialization. While it waits for the table to become visible, Liquibase retries that query on a fixed interval.

The --bigquery-lock-table-init-poll-interval-millis parameter sets how long Liquibase pauses between those retries. A shorter interval detects the table sooner but sends more queries; a longer interval sends fewer queries but may add a small delay before Liquibase notices the table is ready. Most projects can leave this at the default.

  • Use --bigquery-lock-table-init-timeout-millis to control the total time Liquibase waits before giving up.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Liquibase properties file

(defaults file)

liquibase.bigquery.lockTableInitPollIntervalMillis: <integer>

Global

flow file

argument (example)

stages: Default: actions: - type: liquibase command: update

globalArgs: {bigquery-lock-table-init-poll-interval-millis: "<integer>" }

Global CLI parameter

liquibase --bigquery-lock-table-init-poll-interval-millis=<integer> update --changelog-file=example-changelog.xml

JVM system property (JAVA_OPTS Environment Variable)

Unix:

JAVA_OPTS=-Dliquibase.bigquery.lockTableInitPollIntervalMillis=<integer>

Windows:

JAVA_OPTS=-D"liquibase.bigquery.lockTableInitPollIntervalMillis"=<integer>

Liquibase Environment Variables

LIQUIBASE_BIGQUERY_LOCK_TABLE_INIT_POLL_INTERVAL_MILLIS=<integer>