Compiling the db_stress Tool
- Go to the /home directory.
cd /home/
- Decompress the RocksDB source package.
tar -zxvf rocksdb-6.10.2.tar.gz
- Go to the RocksDB source package directory.
cd /home/rocksdb-6.10.2
- 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.
- View the result.
ls

Parent topic: Test Method 1