Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling the db_stress Tool

  1. Go to the /home directory.
    cd /home/
  2. Decompress the RocksDB source package.
    tar -zxvf rocksdb-6.10.2.tar.gz
  3. Go to the RocksDB source package directory.
    cd /home/rocksdb-6.10.2
  4. Compile the test tool.
    make db_stress -j `nproc` 

    If an error is reported during compilation, refer to "Cannot allocate memory" Displayed When Compiling RocksDB and "ld returned 1 exit status" Displayed When Compiling RocksDB.

  5. View the result.
    ls