ioarena:嵌入式存储基准测试工具

  • B4_578860
    了解作者
  • 62.6KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-03 10:28
    上传日期
ioarena-嵌入式存储基准测试 ioarena是一种用于评估嵌入式数据库性能的实用程序。 该项目的目标是提供一种标准的,易于使用的基准测试工具,以便任何数据库开发人员或用户都可以引用或重复获得的结果。 基准测试方法: set , get , delete , iterate , batch , crud 同步模式: sync , lazy , no-sync WAL模式: indef (每个引擎默认设置), wal-on , wal-off 支持的数据库:rocksdb,性LevelDB,forestdb,upscaledb,lmdb,mdbx,wiredtiger,索菲亚,sqlite3的,iowow,unqlite 非常欢迎新的驱动程序或任何增强功能! 用法 IOARENA (embedded storage benchmarking) usage: ioarena
ioarena-master.zip
  • ioarena-master
  • db
  • leveldb
  • rocksdb
  • upscaledb
  • forestdb
  • wiredtiger
  • iowow
  • mdbx
  • unqlite
  • sophia
  • lmdb
  • vedis
  • src
  • drivers
  • ia_debug.c
    2.5KB
  • ia_mdbx.c
    8.1KB
  • ia_sqlite3.c
    8KB
  • ia_unqlite.c
    4.3KB
  • ia_lmdb.c
    6.5KB
  • ia_sophia.c
    7.3KB
  • ia_forestdb.c
    7.4KB
  • ia_rocksdb.c
    6.1KB
  • ia_wiredtiger.c
    7.2KB
  • ia_leveldb.c
    5.9KB
  • ia_iowow.c
    4.6KB
  • ia_dummy.c
    1.8KB
  • ia_upscaledb.c
    4.9KB
  • ia_vedisdb.c
    6.2KB
  • ia_config.c
    7.4KB
  • ia_log.c
    223B
  • ia_rusage.h
    413B
  • ia_driver.h
    648B
  • ia_time.h
    319B
  • ia.c
    5.4KB
  • ia_benchmark.c
    7KB
  • ia_histogram.c
    14KB
  • ia_config.h
    868B
  • CMakeLists.txt
    2.1KB
  • ia_log.h
    419B
  • ioarena.h
    1.6KB
  • ia_kv.h
    889B
  • ia_kv.c
    9.2KB
  • ia_build.h.in
    4.3KB
  • ia_main.c
    1.8KB
  • ia.h
    641B
  • ia_benchmark.h
    754B
  • ia_time.c
    1.9KB
  • ia_rusage.c
    983B
  • ia_histogram.h
    1.3KB
  • cmake
  • BuildForestDB.cmake
    1.2KB
  • FindSqlite3.cmake
    462B
  • FindForestDB.cmake
    478B
  • BuildMDBX.cmake
    440B
  • FindSophia.cmake
    446B
  • BuildLMDB.cmake
    1.4KB
  • FindLevelDB.cmake
    464B
  • BuildIOWOW.cmake
    838B
  • BuildRocksDB.cmake
    1.4KB
  • BuildLevelDB.cmake
    1.4KB
  • FindIOWOW.cmake
    500B
  • FindWiredTiger.cmake
    510B
  • BuildWiredTiger.cmake
    1.7KB
  • BuildUnQLite.cmake
    1.2KB
  • BuildUpscaledb.cmake
    1.8KB
  • FindRocksDB.cmake
    464B
  • FindUnQLite.cmake
    393B
  • FindLMDB.cmake
    414B
  • FindUpscaledb.cmake
    425B
  • BuildSophia.cmake
    1.5KB
  • .gitmodules
    981B
  • .clang-format
    35B
  • CMakeLists.txt
    6.4KB
  • .travis.yml
    428B
  • LICENSE
    1.2KB
  • AUTHORS.md
    311B
  • README.md
    2.7KB
  • runme.sh
    655B
  • .gitignore
    113B
内容介绍
**ioarena** - embedded storage benchmarking ------------------------------------------- <img src="https://travis-ci.org/pmwkaa/ioarena.svg?branch=master" /> **ioarena** is an utility designed for evaluating performance of embedded databases. The goal of this project is to provide a standart and simple in use instrument for benchmarking, so any database developer or user can reference to or repeat obtained results. Benchmarking methods: *set*, *get*, *delete*, *iterate*, *batch*, *crud* Sync modes: *sync*, *lazy*, *no-sync* WAL modes: *indef* (per engine default), *wal-on*, *wal-off* Supported databases: **rocksdb**, **leveldb**, **forestdb**, **upscaledb**, **lmdb**, **mdbx**, **wiredtiger**, **sophia**, **sqlite3**, **iowow**, **unqlite** *New drivers or any kind of enhancements are very welcome!* Usage ----- ```sh IOARENA (embedded storage benchmarking) usage: ioarena [hDBCpnkvmlrwic] -D <database_driver> choices: sophia, leveldb, rocksdb, wiredtiger, forestdb, lmdb, mdbx, sqlite3, iowow, dummy, unqlite -B <benchmarks> choices: set, get, delete, iterate, batch, crud -m <sync_mode> (default: lazy) choices: sync, lazy, nosync -l <wal_mode> (default: indef) choices: indef, walon, waloff -C <name-prefix> generate csv (default: (null)) -p <path> for temporaries (default: ./_ioarena) -n <number_of_operations> (default: 1000000) -k <key_size> (default: 16) -v <value_size> (default: 32) -c continuous completing mode (default: no) -r <number_of_read_threads> (default: 0) `zero` to use single main/common thread -w <number_of_crud/write_threads> (default: 0) `zero` to use single main/common thread -i ignore key-not-found error (default: no) -h help example: ioarena -m sync -D sophia -B crud -n 100000000 ``` Build ----- ```sh git clone --recursive https://github.com/pmwkaa/ioarena ``` **cmake** is required for building. To enable a specific database driver, pass -DENABLE\_**NAME**=ON to cmake. If a specified database is not installed in system, it will be build from db/*name* directory. ```sh mkdir build cd build cmake .. -DENABLE_ROCKSDB=ON make src/ioarena -h ``` Authors ------- | Name | Contribution | |---|---| | Dmitry Simonenko @pmwkaa | Original author. | | Leonid Yuriev @erthink | Multithreading and isolation from the testcases the interface of a DB drivers cardinally redesigned, it is clear and intelligible now. | | Egor Zyryanov @er0p | Added support for SQLite, EJDB, Vedis. | | Adamansky Anton @adamansky | Added support for IOWOW. | | Alberto Mardegan @mardy | Added support for Upscaledb. |
评论
    相关推荐