0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

modules/console: Add cache line to db base cmd.

This commit is contained in:
Jason Volk 2018-05-14 17:31:08 -07:00
parent 73cdee1cae
commit b1a71e0a71

View file

@ -1680,6 +1680,10 @@ try
<< " " << bytes(database)
<< std::endl;
out << std::left << std::setw(28) << std::setfill('_') << "row cache size "
<< " " << db::usage(cache(database))
<< std::endl;
out << std::left << std::setw(28) << std::setfill('_') << "live data size "
<< " " << db::property(database, "rocksdb.estimate-live-data-size")
<< std::endl;