mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +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)
|
<< " " << bytes(database)
|
||||||
<< std::endl;
|
<< 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 "
|
out << std::left << std::setw(28) << std::setfill('_') << "live data size "
|
||||||
<< " " << db::property(database, "rocksdb.estimate-live-data-size")
|
<< " " << db::property(database, "rocksdb.estimate-live-data-size")
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
Loading…
Reference in a new issue