| Package | Description |
|---|---|
| org.rocksdb |
| Modifier and Type | Method and Description |
|---|---|
IngestExternalFileOptions |
IngestExternalFileOptions.setAllowBlockingFlush(boolean allowBlockingFlush)
If set to false and the file key range overlaps with the memtable key range
(memtable flush required), IngestExternalFile will fail.
|
IngestExternalFileOptions |
IngestExternalFileOptions.setAllowGlobalSeqNo(boolean allowGlobalSeqNo)
If set to false,
RocksDB.ingestExternalFile(ColumnFamilyHandle, List, IngestExternalFileOptions)
will fail if the file key range overlaps with existing keys or tombstones in the DB. |
IngestExternalFileOptions |
IngestExternalFileOptions.setIngestBehind(boolean ingestBehind)
Set to true if you would like duplicate keys in the file being ingested
to be skipped rather than overwriting existing data under that key.
|
IngestExternalFileOptions |
IngestExternalFileOptions.setMoveFiles(boolean moveFiles)
Can be set to true to move the files instead of copying them.
|
IngestExternalFileOptions |
IngestExternalFileOptions.setSnapshotConsistency(boolean snapshotConsistency)
If set to false, an ingested file keys could appear in existing snapshots
that where created before the file was ingested.
|
IngestExternalFileOptions |
IngestExternalFileOptions.setWriteGlobalSeqno(boolean writeGlobalSeqno)
Set to true if you would like to write the global_seqno to a given offset
in the external SST file for backward compatibility.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RocksDB.ingestExternalFile(ColumnFamilyHandle columnFamilyHandle,
List<String> filePathList,
IngestExternalFileOptions ingestExternalFileOptions)
ingestExternalFile will load a list of external SST files (1) into the DB
We will try to find the lowest possible level that the file can fit in, and
ingest the file into this level (2).
|
void |
RocksDB.ingestExternalFile(List<String> filePathList,
IngestExternalFileOptions ingestExternalFileOptions)
ingestExternalFile will load a list of external SST files (1) into the DB
We will try to find the lowest possible level that the file can fit in, and
ingest the file into this level (2).
|
Copyright © 2021. All rights reserved.