You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Yueh-Hsuan Chiang
3ce8d9a988
Add support for plain table format to sst_dump.
...
Summary:
This diff enables the command line tool `sst_dump` to work for sst files
under plain table format. Changes include:
* In tools/sst_dump.cc:
- add support for plain table format
- display prefix_extractor information when --show_properties is on
* In table/format.cc
- Now the table magic number of a Footer can be later initialized
via ReadFooterFromFile().
* In table/meta_bocks:
- add function ReadTableMagicNumber() that reads the magic number of
the specified file.
Minor fixes:
- remove a duplicate #include in table/table_test.cc
- fix a commentary typo in include/rocksdb/memtablerep.h
- fix lint errors.
Test Plan:
Runs sst_dump with both block-based and plain-table format files with
different arguments, specifically those with --show-properties and --from.
* sample output:
https://reviews.facebook.net/P261
Reviewers: kailiu, sdong, xjin
CC: leveldb
Differential Revision: https://reviews.facebook.net/D15903
11 years ago
..
block.cc
Implement a compressed block cache.
11 years ago
block.h
Implement a compressed block cache.
11 years ago
block_based_table_builder.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
block_based_table_builder.h
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
block_based_table_factory.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
block_based_table_factory.h
Put table factory back to public api
11 years ago
block_based_table_reader.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
block_based_table_reader.h
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
block_builder.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
block_builder.h
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
block_test.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
filter_block.cc
Merge branch 'master' into performance
11 years ago
filter_block.h
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
filter_block_test.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
flush_block_policy.cc
Don't not suggest flushing data when data block is still empty
11 years ago
format.cc
Add support for plain table format to sst_dump.
11 years ago
format.h
Add support for plain table format to sst_dump.
11 years ago
iter_heap.h
Add appropriate LICENSE and Copyright message.
11 years ago
iterator.cc
Add appropriate LICENSE and Copyright message.
11 years ago
iterator_wrapper.h
Add appropriate LICENSE and Copyright message.
11 years ago
merger.cc
Revert "Allow users to profile a query and see bottleneck of the query"
11 years ago
merger.h
Merge branch 'master' into performance
11 years ago
meta_blocks.cc
Add support for plain table format to sst_dump.
11 years ago
meta_blocks.h
Add support for plain table format to sst_dump.
11 years ago
plain_table_builder.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
plain_table_builder.h
First phase API clean up
11 years ago
plain_table_factory.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
plain_table_factory.h
Put table factory back to public api
11 years ago
plain_table_reader.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
plain_table_reader.h
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
table_builder.h
First phase API clean up
11 years ago
table_properties.cc
Add support for plain table format to sst_dump.
11 years ago
table_reader.h
Put table factory back to public api
11 years ago
table_reader_bench.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
table_test.cc
Add support for plain table format to sst_dump.
11 years ago
two_level_iterator.cc
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago
two_level_iterator.h
[Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte.
11 years ago