Skip to content

perf: reuse iterators within read-only batches #6803

@petermattis

Description

@petermattis

Read-only batches (BatchRequest.IsReadOnly) execute directly upon a *RocksDB which bypasses the optimization to reuse iterators across execution of a command that occurs when using a *rocksDBBatch. We could create a rocksDBReadOnly engine which performed similar iterator reuse without creating an associated batch for writes. Or, we could change *rocksDBBatch to only create the C++ batch when the first mutation occurs.

Metadata

Metadata

Assignees

Labels

C-performancePerf of queries or internals. Solution not expected to change functional behavior.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions