# sqlite-bench **Repository Path**: mirrors_xtuc/sqlite-bench ## Basic Information - **Project Name**: sqlite-bench - **Description**: SQLite Benchmark - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-10-24 - **Last Updated**: 2026-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SQLite3 Benchmark [![CircleCI](https://circleci.com/gh/ukontainer/sqlite-bench.svg?style=shield)](https://circleci.com/gh/ukontainer/sqlite-bench) A SQLite3 benchmark tool. Most of the code comes from [LevelDB](https://github.com/google/leveldb). This is C version of [doc/bench/db\_bench\_sqlite3.cc](https://github.com/google/leveldb/blob/master/doc/bench/db_bench_sqlite3.cc). ## Building SQLite3 is included in the repository. ```sh $ make ``` ## Usage ``` $ ./sqlite-bench --help Usage: ./sqlite-bench [OPTION]... SQLite3 benchmark tool [OPTION] --benchmarks=[BENCH] specify benchmark --histogram={0,1} record histogram --raw={0,1} output raw data --compression_ratio=DOUBLE compression ratio --use_existing_db={0,1} use existing database --num=INT number of entries --reads=INT number of reads --value_size=INT value size --no_transaction disable transaction --page_size=INT page size --num_pages=INT number of pages --WAL_enabled={0,1} enable WAL --db=PATH path to location databases are created --help show this help [BENCH] fillseq write N values in sequential key order in async mode fillseqsync write N/100 values in sequential key order in sync mode fillseqbatch batch write N values in sequential key order in async mode fillrandom write N values in random key order in async mode fillrandsync write N/100 values in random key order in sync mode fillrandbatch batch write N values in random key order in async mode overwrite overwrite N values in random key order in async mode fillrand100K write N/1000 100K values in random order in async mode fillseq100K wirte N/1000 100K values in sequential order in async mode readseq read N times sequentially readrandom read N times in random order readrand100K read N/1000 100K values in sequential order in async mode ```