| /rocksdb-6.9/docs/_posts/ |
| D | 2019-03-08-format-version-4.markdown | 2 title: format_version 4 8 …format_version` is 2, the format of index and data blocks are the same: index blocks use the same … 12 Using `format_version`=4 significantly reduces the index block size, in some cases around 4-5x. Thi… 16 Being _forward-incompatible_ means that if you enable `format_version=`4 you cannot downgrade to a … 20 - `BlockBasedTableOptions::format_version` = 4 23 ### What is format_version 3? 24 …`seq` is not necessary for keys in the index blocks. In such cases, `format_version`=3 skips encod… 26 ### What is format_version 4? 29 The index format in `format_version=4` would be as follows:
|
| D | 2016-07-26-rocksdb-4-8-released.markdown | 40 …* Change default of BlockBasedTableOptions.format_version to 2. It means default DB created by 4.6…
|
| /rocksdb-6.9/table/block_based/ |
| D | block_based_table_builder.cc | 108 uint32_t format_version, in CompressBlockInternal() argument 119 GetCompressFormatForVersion(kZlibCompression, format_version), in CompressBlockInternal() 124 GetCompressFormatForVersion(kBZip2Compression, format_version), in CompressBlockInternal() 129 GetCompressFormatForVersion(kLZ4Compression, format_version), in CompressBlockInternal() 152 CompressionType* type, uint32_t format_version, in CompressBlock() argument 470 if (sanitized_table_options.format_version == 0 && in BlockBasedTableBuilder() 478 sanitized_table_options.format_version = 1; in BlockBasedTableBuilder() 668 &contents, r->table_options.format_version, r->ioptions); in WriteBlock() 1045 bool legacy = (r->table_options.format_version == 0); in WriteFooter() 1048 r->table_options.format_version != 0); in WriteFooter() [all …]
|
| D | index_builder.cc | 38 table_opt.format_version, use_value_delta_encoding, in CreateIndexBuilder() 47 table_opt.index_block_restart_interval, table_opt.format_version, in CreateIndexBuilder() 57 table_opt.format_version, use_value_delta_encoding, in CreateIndexBuilder() 105 table_opt_.format_version, use_value_delta_encoding_, in MakeNewSubIndexBuilder()
|
| D | index_builder.h | 125 const int index_block_restart_interval, const uint32_t format_version, in ShortenedIndexBuilder() argument 140 seperator_is_key_plus_seq_ = (format_version <= 2); in ShortenedIndexBuilder() 260 int index_block_restart_interval, int format_version, in HashIndexBuilder() argument 265 format_version, use_value_delta_encoding, in HashIndexBuilder()
|
| D | block_based_table_builder.h | 152 CompressionType* type, uint32_t format_version,
|
| D | block_based_table_factory.cc | 257 if (!BlockBasedTableSupportedVersion(table_options_.format_version)) { in SanitizeOptions() 407 table_options_.format_version); in GetPrintableTableOptions()
|
| D | block_based_table_factory.h | 176 {offsetof(struct BlockBasedTableOptions, format_version),
|
| D | partitioned_filter_block_test.cc | 77 table_options_.format_version = GetParam(); in PartitionedFilterBlockTest()
|
| D | filter_policy.cc | 557 if (context.table_options.format_version < 5) { in GetBuilderWithContext()
|
| D | block_based_table_reader.cc | 1153 &contents, rep_->table_options.format_version, rep_->ioptions, in GetDataBlockFromCache() 1200 const uint32_t format_version = rep_->table_options.format_version; in PutDataBlockToCache() local 1226 &uncompressed_block_contents, format_version, in PutDataBlockToCache()
|
| /rocksdb-6.9/table/ |
| D | format.cc | 342 BlockContents* contents, uint32_t format_version, in UncompressBlockContentsForCompressionType() argument 370 GetCompressFormatForVersion(kZlibCompression, format_version), in UncompressBlockContentsForCompressionType() 382 GetCompressFormatForVersion(kBZip2Compression, format_version), in UncompressBlockContentsForCompressionType() 394 GetCompressFormatForVersion(kLZ4Compression, format_version), in UncompressBlockContentsForCompressionType() 406 GetCompressFormatForVersion(kLZ4HCCompression, format_version), in UncompressBlockContentsForCompressionType() 462 BlockContents* contents, uint32_t format_version, in UncompressBlockContents() argument 468 contents, format_version, in UncompressBlockContents()
|
| D | meta_blocks.cc | 91 Add(TablePropertiesNames::kFormatVersion, props.format_version); in AddTableProperty() 261 &new_table_properties->format_version}, in ReadProperties()
|
| /rocksdb-6.9/db_stress_tool/ |
| D | db_stress_gflags.cc | 206 DEFINE_int32(format_version, 208 ROCKSDB_NAMESPACE::BlockBasedTableOptions().format_version),
|
| D | db_stress_common.h | 119 DECLARE_int32(format_version);
|
| /rocksdb-6.9/include/rocksdb/ |
| D | table.h | 275 uint32_t format_version = 4; member
|
| D | table_properties.h | 175 uint64_t format_version = 0; member
|
| /rocksdb-6.9/java/rocksjni/ |
| D | table.cc | 144 options.format_version = static_cast<uint32_t>(jformat_version); in Java_org_rocksdb_BlockBasedTableConfig_newTableFactoryHandle()
|
| /rocksdb-6.9/examples/ |
| D | rocksdb_option_file_example.ini | 131 format_version=2
|
| /rocksdb-6.9/db/ |
| D | event_helpers.cc | 110 << "format_version" << table_properties.format_version in LogAndNotifyTableFileCreationFinished()
|
| D | comparator_db_test.cc | 269 toptions.format_version = GetParam(); in ComparatorDBTest()
|
| /rocksdb-6.9/table/plain/ |
| D | plain_table_builder.cc | 97 properties_.format_version = (encoding_type == kPlain) ? 0 : 1; in PlainTableBuilder()
|
| /rocksdb-6.9/tools/ |
| D | db_sanity_test.cc | 146 table_options.format_version = 2; in SanityTestZlibCompressionVersion2()
|
| /rocksdb-6.9/test_util/ |
| D | testutil.cc | 27 const uint32_t kDefaultFormatVersion = BlockBasedTableOptions().format_version;
|
| /rocksdb-6.9/ |
| D | HISTORY.md | 5 * Updated default format_version in BlockBasedTableOptions from 2 to 4. SST files generated with th… 95 * Fix a bug when format_version=3, partitioned filters, and prefix search are used in conjunction. … 108 …ased table use an improved Bloom filter implementation, enabled with format_version 5 (or above) b… 401 * Fix bug in partition filters with format_version=4. 416 …patible but not forward compatible. It is disabled by default unless format_version 4 or above is … 432 …patible but not forward compatible. It is disabled by default unless format_version 3 or above is … 789 * Change default of BlockBasedTableOptions.format_version to 2. It means default DB created by 4.6 … 939 * Added BlockBasedTableOptions.format_version option, which allows user to specify which version of… 940 … (version 2), which you can enable by setting BlockBasedTableOptions.format_version = 2. This form…
|