Learn about off-heap upserts and how to use them in StarTree
ColumnFamily
in the shared RocksDB store. To customize the table’s ColumnFamily
add the following RocksDB configs in the metadataManagerConfigs
section. The config names are kept consistent with those available for RocksDB
metadataManagerConfigs
section and customized with the configs listed below.
UpsertSnapshotCreationTask
to prebuild the upsert metadata for table partitions on the minion workers and upload the metadata to the deep store. The servers can simply download and import the prebuilt metadata into RocksDB when loading upsert tables. The prebuilt upsert metadata contains certain upsert configs and segment information for consistency check before importing to ensure data correctness.
The minion task runs periodically to keep updating the prebuilt upsert metadata incrementally.
To enable the minion task, add the following task configs. Please make sure enableSnapshot
and enablePreload
are set to true in the tableConfig for this minion task to execute.
More about how to operate the minion tasks can be found in the Pinot docs.
segmentPartitionConfig
field and defines a single partition column, then the UpsertSnapshotCreation task will read the number of partitions as set in the numPartitions
field below.
segmentPartitionConfig
field or it has two or more partition columns specified there, you must explicitly tell the UpsertSnapshotCreation task how many partitions are in the table by using the num_partition_overwrite
field in the upsertConfig section like below.