rocksdb/java/rocksjni
Yueh-Hsuan Chiang 05979493d6 [Java] Enable filluniquerandom, readseq, BloomFilter, and 70+ command-line options to DbBenchmark.java
Summary:
* Add filluniquerandom
* Add readseq, implemented using iterator.
* Realize most command-line-arguments from db_bench.cc (70+).
* Some code are commented out as some of the options in Options
  not yet have Java bindings.
* Add default option to DbBenchmark.
* RocksDB will now take the ownership of all c++ raw-pointers from Options, which includes a c++ raw-pointer for Filter.

Test Plan: ./jdb_bench.sh --db=/tmp/rocksjava-bench/db --num_levels=6 --key_size=20 --prefix_size=20 --keys_per_prefix=0 --value_size=100 --block_size=4096 --cache_size=17179869184 --cache_numshardbits=6 --compression_ratio=1 --min_level_to_compress=-1 --disable_seek_compaction=1 --hard_rate_limit=2 --write_buffer_size=134217728 --max_write_buffer_number=2 --level0_file_num_compaction_trigger=8 --target_file_size_base=134217728 --max_bytes_for_level_base=1073741824 --disable_wal=0 --wal_dir=/tmp/rocksjava-bench/wal --sync=0 --disable_data_sync=1 --verify_checksum=1 --delete_obsolete_files_period_micros=314572800 --max_grandparent_overlap_factor=10 --max_background_compactions=4 --max_background_flushes=0 --level0_slowdown_writes_trigger=16 --level0_stop_writes_trigger=24 --statistics=0 --stats_per_interval=0 --stats_interval=1048576 --histogram=0 --use_plain_table=1 --open_files=-1 --mmap_read=1 --mmap_write=0 --memtablerep=prefix_hash --bloom_bits=10 --bloom_locality=1 --perf_level=0 --benchmarks=filluniquerandom,readseq,readrandom --use_existing_db=0 --threads=4

Reviewers: haobo, dhruba, sdong, ankgup87, rsumbaly, swapnilghike, zzbennett

Reviewed By: haobo

CC: leveldb

Differential Revision: https://reviews.facebook.net/D18267
2014-04-24 13:43:57 -07:00
..
backupablejni.cc [Java] Add a basic binding and test for BackupableDB and StackableDB. 2014-04-17 17:28:51 -07:00
filter.cc Refactor filter impl 2014-04-22 08:58:43 -07:00
iterator.cc Remove getIterator function from portal 2014-04-19 23:17:42 -07:00
memtablejni.cc [Java] Add Java bindings for memtables and sst format. 2014-04-21 15:40:46 -07:00
options.cc [Java] Enable filluniquerandom, readseq, BloomFilter, and 70+ command-line options to DbBenchmark.java 2014-04-24 13:43:57 -07:00
portal.h Fix doc 2014-04-22 00:09:40 -07:00
rocksjni.cc [Java] Add Java binding and Java test for ReadOptions. 2014-04-21 15:52:59 -07:00
statistics.cc Adding iterator JNI binding 2014-04-19 03:26:22 -07:00
table.cc [Java] Add Java bindings for memtables and sst format. 2014-04-21 15:40:46 -07:00
write_batch.cc Add statistics object 2014-04-14 21:06:13 -07:00