Skip to main content
information_schema.table_bookmark_summary, table_bookmark_partitions, and table_bookmark_references expose the active bookmark state on a database cluster. A bookmark is an immutable record of an OlapTable’s partition state taken at a moment in time to pin partition versions for vacuum and timestamp-based lookups. Join the three tables on (DB_ID, TABLE_ID, BOOKMARK_ID).

table_bookmark_summary

Bookmark inventory. One row per active bookmark, with creation time, partition/reference counts, and at-a-glance aggregates (the 3 most recently changed partitions, the oldest and newest holder). The first table to query when you want to know what bookmarks exist on a table or in the cluster.

table_bookmark_partitions

Per-partition detail. One row per (bookmark, physical_partition), showing exactly which partition versions a bookmark pins. The table to query when debugging vacuum: join with partitions_meta on physical_partition_id to spot bookmarks that hold versions older than the live table.

table_bookmark_references

Per-holder detail. One row per (bookmark, holder), showing who is currently keeping the bookmark alive and when they acquired it. The table to query when looking up bookmarks held by a specific materialized view or other holder.

Query patterns

Inventory: list all bookmarks for a table

Vacuum debug: find partitions pinned by the oldest bookmark

MV holder lookup: find bookmarks held by an MV

Notes

  • Rows are filtered by privilege: a user sees only bookmarks on tables they could SELECT from.