• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..02-Feb-2021-

rocksdb/H02-Feb-2021-

tools/H02-Feb-2021-1810

unittest/H03-May-2022-5530

READMEH A D02-Feb-20212.1 KiB3834

event_listener.ccH A D02-Feb-20212.6 KiB8552

event_listener.hH A D02-Feb-20211.6 KiB4722

get_rocksdb_files.shH A D02-Feb-2021862 2821

ha_rocksdb.ccH A D02-Feb-2021336.9 KiB10,0246,517

ha_rocksdb.hH A D02-Feb-202139.6 KiB1,163649

ha_rocksdb_proto.hH A D02-Feb-20212.3 KiB7938

ib_ut0counter.hH A D02-Feb-20215.6 KiB211103

logger.hH A D02-Feb-20211.9 KiB6939

properties_collector.ccH A D02-Feb-202117.3 KiB505358

properties_collector.hH A D02-Feb-20215.8 KiB179118

rdb_buff.hH A D02-Feb-202112.1 KiB430241

rdb_cf_manager.ccH A D02-Feb-20216.1 KiB220136

rdb_cf_manager.hH A D02-Feb-20213.7 KiB11242

rdb_cf_options.ccH A D02-Feb-20219.3 KiB313187

rdb_cf_options.hH A D02-Feb-20213.2 KiB9747

rdb_compact_filter.hH A D02-Feb-20213.5 KiB10961

rdb_comparator.hH A D02-Feb-20213.1 KiB10050

rdb_datadic.ccH A D02-Feb-2021132.9 KiB3,9652,569

rdb_datadic.hH A D02-Feb-202134.2 KiB991506

rdb_i_s.ccH A D02-Feb-202154.2 KiB1,5751,179

rdb_i_s.hH A D02-Feb-20211.4 KiB3614

rdb_index_merge.ccH A D02-Feb-202117.7 KiB592304

rdb_index_merge.hH A D02-Feb-20217.7 KiB219141

rdb_mutex_wrapper.ccH A D02-Feb-20216.9 KiB21291

rdb_mutex_wrapper.hH A D02-Feb-20214.5 KiB14360

rdb_perf_context.ccH A D02-Feb-20217 KiB213156

rdb_perf_context.hH A D02-Feb-20213.7 KiB13991

rdb_sst_info.ccH A D02-Feb-202111.9 KiB417265

rdb_sst_info.hH A D02-Feb-20213.1 KiB11071

rdb_threads.ccH A D02-Feb-20212.7 KiB8851

rdb_threads.hH A D02-Feb-20212.6 KiB11157

rdb_utils.ccH A D02-Feb-20217.1 KiB286170

rdb_utils.hH A D02-Feb-20218.3 KiB25493

README

1== Summary ==
2This directory contains RocksDB-based Storage Engine (RDBSE) for MySQL = "MyRocks".
3
4== Resources ==
5See https://github.com/facebook/mysql-5.6/wiki/Getting-Started-with-MyRocks
6Facebook group: https://www.facebook.com/groups/mysqlonrocksdb/
7
8== Coding Conventions ==
9The baseline for MyRocks coding conventions is the MySQL set, available at
10http://dev.mysql.com/doc/internals/en/coding-guidelines.html.
11
12Several refinements:
13  0. There is an umbrella C++ namespace named "myrocks" for all MyRocks code.
14  1. We introduced "RDB" as the super-short abbreviation for "RocksDB". We will
15     use it as a name prefix, with different capitalization (see below), to ease
16     up code navigation with ctags and grep.
17     N.B. For ease of matching, we'll keep the variables and functions dealing
18          with sysvars as close as possible to the outside visible names of
19          sysvars, which start with "rocksdb_" prefix, the outward storage
20          engine name.
21  2. The names for classes, interfaces, and C++ structures (which act as
22     classes), start with prefix "Rdb_".
23     NB: For historical reasons, we'll keep the "ha_<storage_engine_name>" class
24         name for ha_rocksdb class, which is an exception to the rule.
25  3. The names for global objects and functions start with prefix "rdb_".
26  4. The names for macros and constants start with prefix "RDB_".
27  5. Regular class member names start with "m_".
28  6. Static class member names start with "s_".
29  7. Given the 80 character per line limit, we'll not always use full English
30     words in names, when a well known or easily recognizable abbreviation
31     exists (like "tx" for "transaction" or "param" for "parameter" etc).
32  8. When needing to disambiguate, we use different suffixes for that, like
33     "_arg" for a function argument/parameter, "_arr" for a C style array, and
34     "_vect" for a std::vector etc.
35
36== Running Tests ==
37To run tests from rocksdb, rocksd_rpl or rocksdb_sys_vars packages, use the following parameters:
38--mysqld=--default-storage-engine=rocksdb  --mysqld=--skip-innodb --mysqld=--default-tmp-storage-engine=MyISAM --mysqld=--rocksdb