[KongchangAI]
Concept只读副本 / Read Replica

Read Replica

A read replica is a database replica node used to offload read requests; in traditional architectures it stays synchronized by asynchronously replicating the log. In storage-compute separated architectures such as lakebase, read replicas generally do not replicate data but share the underlying object storage data and maintain metadata caches independently, which introduces cache consistency challenges.

Timeline (last 90 days)

Nov 26

The most easily overlooked trap in lakehouse scaling discussions is copying the OLTP read replica mental model.

Unverified50%
Nov 26

In lakebase, read replicas typically do not copy data; instead, they copy a set of compute resources to access the same underlying data.

Unverified50%
Nov 26

The startup cost of a lakebase read replica includes spinning up the compute cluster and building the metadata cache, so cold-start time is naturally longer than that of a traditional replica catching up on logs.

Unverified50%
Nov 26

A lakebase read replica must handle cache invalidation itself; when the underlying table is updated by the writer, each read replica's local cache, file-list cache and statistics may lag.

Unverified50%
Nov 26

The more lakebase read replicas there are, the greater the fan-out of cache-invalidation broadcasts, which can lead to the counterintuitive result that "adding replicas makes it slower."

Unverified50%
Nov 26

Lakebase read replica cache refresh relies on version-number comparison, TTL expiry, or explicit invalidation notifications.

Unverified50%
Nov 26

In lakebase, queries should be grouped by characteristics (point lookups, aggregate scans, BI reports), with short queries going to high-concurrency lightweight replicas and heavy scans going to an elastic batch channel, rather than using a single replica specification to carry all workloads.

Unverified50%
Nov 26

If the business requires strong consistency, read replicas are not the right scaling tool; one should instead optimize the primary path or introduce a dedicated caching layer.

Unverified50%
Nov 26

When evaluating a lakebase read replica solution, one should first clarify the level of consistency semantics the business can accept, and only then discuss whether to introduce replicas.

Unverified50%
Oct 19

A read replica is an asynchronously replicated instance of the primary database that may lag behind the primary due to replication delay, so within the eventual-consistency window a read of a just-written record may return "does not exist".

Unverified50%

All Facts (10)

Unverified

The most easily overlooked trap in lakehouse scaling discussions is copying the OLTP read replica mental model.

50%
Unverified

In lakebase, read replicas typically do not copy data; instead, they copy a set of compute resources to access the same underlying data.

50%
Unverified

The startup cost of a lakebase read replica includes spinning up the compute cluster and building the metadata cache, so cold-start time is naturally longer than that of a traditional replica catching up on logs.

50%
Unverified

A lakebase read replica must handle cache invalidation itself; when the underlying table is updated by the writer, each read replica's local cache, file-list cache and statistics may lag.

50%
Unverified

The more lakebase read replicas there are, the greater the fan-out of cache-invalidation broadcasts, which can lead to the counterintuitive result that "adding replicas makes it slower."

50%
Unverified

Lakebase read replica cache refresh relies on version-number comparison, TTL expiry, or explicit invalidation notifications.

50%
Unverified

In lakebase, queries should be grouped by characteristics (point lookups, aggregate scans, BI reports), with short queries going to high-concurrency lightweight replicas and heavy scans going to an elastic batch channel, rather than using a single replica specification to carry all workloads.

50%
Unverified

If the business requires strong consistency, read replicas are not the right scaling tool; one should instead optimize the primary path or introduce a dedicated caching layer.

50%
Unverified

When evaluating a lakebase read replica solution, one should first clarify the level of consistency semantics the business can accept, and only then discuss whether to introduce replicas.

50%
Unverified

A read replica is an asynchronously replicated instance of the primary database that may lag behind the primary due to replication delay, so within the eventual-consistency window a read of a just-written record may return "does not exist".

50%

Source Articles