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:
parent
73cdee1cae
commit
b1a71e0a71
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue