Module partition_tree

Source
Expand description

Memtable implementation based on a partition tree.

Modulesยง

data ๐Ÿ”’
Data part of a shard.
dedup ๐Ÿ”’
dict ๐Ÿ”’
Key dictionary of a shard.
merger ๐Ÿ”’
partition ๐Ÿ”’
Partition of a partition tree.
primary_key_filter ๐Ÿ”’
shard ๐Ÿ”’
Shard in a partition.
shard_builder ๐Ÿ”’
Builder of a shard.
tree ๐Ÿ”’
Implementation of the partition tree.

Structsยง

PartitionTreeConfig
Config for the partition tree memtable.
PartitionTreeIterBuilder ๐Ÿ”’
PartitionTreeMemtable
Memtable based on a partition tree.
PartitionTreeMemtableBuilder
Builder to build a PartitionTreeMemtable.
PkId ๐Ÿ”’
Id of a primary key inside a tree.

Constantsยง

DEFAULT_FREEZE_THRESHOLD ๐Ÿ”’
DEFAULT_MAX_KEYS_PER_SHARD ๐Ÿ”’
DICTIONARY_SIZE_FACTOR ๐Ÿ”’
Use 1/DICTIONARY_SIZE_FACTOR of OS memory as dictionary size.

Type Aliasesยง

PkIndex ๐Ÿ”’
Index of a primary key in a shard.
ShardId ๐Ÿ”’
Id of a shard, only unique inside a partition.