This is my total crap script(s) to figure out the space used on disk and number of rows for tables in kitsune.
Do:
- edit
get_schema.sh
replacing paths with paths for your system run
get_schema.sh
.it'll generate a
schema.sql
file and then use that to generate atable_rows.txt
file.then it'll do an
ls -lha
on the directory with the .idb files in it and then tweak that. it'll eventually end up in a file calledtable_space.txt
.- run
python merge.py
which will spit out the merged data.