Object Storage
A cloud storage architecture paradigm that stores data objects in a flat namespace. Each object contains data, metadata, and a unique identifier. The approach is well-suited for large, immutable data, offers low cost and elastic capacity, and is represented by products such as Amazon S3 and Google Cloud Storage.
Core Facts
Compared to block storage, the unit storage cost of object storage is typically one order of magnitude lower
Register access latency is approximately 1 clock cycle, shared memory latency is approximately tens of clock cycles, and global memory latency can reach hundreds of clock cycles.
The access latency of object storage is typically in the range of tens to hundreds of milliseconds, far higher than local SSD (microsecond-level) or memory (nanosecond-level).
Timeline (last 90 days)
In the lakebase query engine, metadata (manifests, snapshots, partition statistics, etc.) is stored on object storage, and fetching it remotely on every query is costly, so the engine caches metadata and file lists locally or in-process.
Object storage is characterized by high throughput, high latency and per-request billing, lacks random read optimization, and is unfavorable for frequently randomly accessed index structures.
On object storage, frequent small-batch flushes are costly, so the checkpoint cadence must be redesigned, which directly affects the setting of the recovery time objective (RTO).
Object storage only supports "whole-object upload/overwrite" and cannot append bytes at the end of an object.
WAL's append writes inherently conflict with object storage's "whole-object write" semantics.
Object storage provides a high-latency, object-granular read/write interface.
Postgres's storage engine is designed for local block devices, assuming a disk with low latency and random overwrite writes.
The caching approach shifts the cost from "high latency on every read request" to "architectural complexity and the persistence window."
For workloads that are write-intensive, have zero tolerance for durability loss, or have highly uniform access patterns (where the cache cannot easily distinguish hot from cold), the complexity of an object storage + cache architecture may outweigh the benefits.
This architecture suits scenarios where the data scale exceeds what a single machine's local disks can hold, there is clear hot/cold tiering in read/write load, and the business can accept a brief window of asynchronous persistence.
30 more timeline events
All Facts (20)
Compared to block storage, the unit storage cost of object storage is typically one order of magnitude lower
75%VerifiedRegister access latency is approximately 1 clock cycle, shared memory latency is approximately tens of clock cycles, and global memory latency can reach hundreds of clock cycles.
75%VerifiedThe access latency of object storage is typically in the range of tens to hundreds of milliseconds, far higher than local SSD (microsecond-level) or memory (nanosecond-level).
65%VerifiedP95表示95%的请求延迟低于该值,P99表示99%的请求延迟低于该值,高分位数指标专门捕捉尾部延迟严重程度
65%UnverifiedObject storage manages data as objects, where each object contains the data itself, metadata, and a globally unique identifier
60%UnverifiedObject storage treats data as independent "objects," where each object contains the data itself, metadata, and a unique identifier, stored in a flat namespace, which is fundamentally different from traditional file storage (hierarchical directory structure) and block storage (fixed-size blocks mapped to disk sectors).
60%UnverifiedIn the lakebase query engine, metadata (manifests, snapshots, partition statistics, etc.) is stored on object storage, and fetching it remotely on every query is costly, so the engine caches metadata and file lists locally or in-process.
50%UnverifiedObject storage is characterized by high throughput, high latency and per-request billing, lacks random read optimization, and is unfavorable for frequently randomly accessed index structures.
50%UnverifiedPostgres's storage engine is designed for local block devices, assuming a disk with low latency and random overwrite writes.
50%UnverifiedWhen the cache hit rate drops from 99% to 95%, the volume of requests penetrating to object storage multiplies several times, and tail latency (p99) deteriorates significantly.
50%UnverifiedThis architecture suits scenarios where the data scale exceeds what a single machine's local disks can hold, there is clear hot/cold tiering in read/write load, and the business can accept a brief window of asynchronous persistence.
50%UnverifiedFor workloads that are write-intensive, have zero tolerance for durability loss, or have highly uniform access patterns (where the cache cannot easily distinguish hot from cold), the complexity of an object storage + cache architecture may outweigh the benefits.
50%UnverifiedThe caching approach shifts the cost from "high latency on every read request" to "architectural complexity and the persistence window."
50%UnverifiedDatabase solutions based on object storage typically need to write WAL first to a low-latency intermediate layer, then batch-aggregate it into objects for persistence.
50%UnverifiedWAL's append writes inherently conflict with object storage's "whole-object write" semantics.
50%UnverifiedOn object storage, frequent small-batch flushes are costly, so the checkpoint cadence must be redesigned, which directly affects the setting of the recovery time objective (RTO).
50%UnverifiedObject storage provides a high-latency, object-granular read/write interface.
50%UnverifiedPutting WAL directly on object storage would turn every log write into a full object operation, with unacceptable write amplification and latency.
50%UnverifiedObject storage only supports "whole-object upload/overwrite" and cannot append bytes at the end of an object.
50%UnverifiedIn the "object storage persistence + cache service" architecture, cache hit rate replaces IOPS as the core performance metric.
50%