Skip to content

storage: sstables virtual SQL table #102604

@jbowens

Description

@jbowens

This is a bit of a wishlist item, but it would be nice if we could query the sstables as a virtual SQL table. The various sstable properties could be exposed through this same interface.

Current Progress So Far:

  • add approximateSpanBytes row on cockroach side
  • add WithApproximateSpanBytes filter option on pebble side
  • create set generating function (cockroach)
  • figure out iterator structure to display rows (cockroach)
  • make RPC request to retrieve information from Pebble (cockroach)
  • add sstable filter option (pebble)

Jira issue: CRDB-27555

Metadata

Metadata

Assignees

Labels

A-storageRelating to our storage engine (Pebble) on-disk storage.T-storageStorage Team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions