mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
ircd::db: Log more detailed table creation statistics.
This commit is contained in:
parent
bc12702ed7
commit
b169f0cc80
1 changed files with 16 additions and 0 deletions
16
ircd/db.cc
16
ircd/db.cc
|
@ -2711,6 +2711,22 @@ noexcept
|
||||||
int(info.status.code()),
|
int(info.status.code()),
|
||||||
info.status.getState()?: "OK",
|
info.status.getState()?: "OK",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
log::debug
|
||||||
|
{
|
||||||
|
log, "'%s': job:%d head[%s] index[%s] filter[%s] data[%lu %s] keys[%lu %s] vals[%s] %s",
|
||||||
|
d->name,
|
||||||
|
info.job_id,
|
||||||
|
pretty(iec(info.table_properties.top_level_index_size)),
|
||||||
|
pretty(iec(info.table_properties.index_size)),
|
||||||
|
pretty(iec(info.table_properties.filter_size)),
|
||||||
|
info.table_properties.num_data_blocks,
|
||||||
|
pretty(iec(info.table_properties.data_size)),
|
||||||
|
info.table_properties.num_entries,
|
||||||
|
pretty(iec(info.table_properties.raw_key_size)),
|
||||||
|
pretty(iec(info.table_properties.raw_value_size)),
|
||||||
|
info.table_properties.compression_name
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue