Gitlab Community Edition Instance

Commit ead09ec3 authored by Bjoern Nachtwey's avatar Bjoern Nachtwey
Browse files

further tables BF_BITFILE_EXTENTS added

parent dc7a513f
......@@ -38,7 +38,7 @@ fi
printf "%25s ; %15s ; %15s ; %15s ; %15s ; %10s \n" "Tabname" "object-Count" "est. time (sec)" "object-space" "space needed" "Pagesize"
# for loop on *all* tables
for tab in ACTIVITY_LOG AF_SEGMENTS AF_BITFILES ARCHIVE_OBJECTS AS_SEGMENTS BACKUP_OBJECTS BF_AGGREGATE_ATTRIBUTES BF_AGGREGATED_BITFILES GROUP_LEADERS EXPORT_OBJECTS TSMMON_STATUS
for tab in ACTIVITY_LOG AF_SEGMENTS AF_BITFILES ARCHIVE_OBJECTS AS_SEGMENTS BACKUP_OBJECTS BF_AGGREGATE_ATTRIBUTES BF_AGGREGATED_BITFILES BF_BITFILE_EXTENTS BF_DEREFERENCED_CHUNKS GROUP_LEADERS EXPORT_OBJECTS SC_OBJECT_TRACKER TSMMON_STATUS
do
count=$(db2 connect to tsmdb1 2>&1>/dev/null && db2 "select count_big(*) from tsmdb1.$tab" | tail -n 4 | head -n 1 | sed -e 's/ //g' -e 's/\.$//');
estim=$(awk "BEGIN {print ($count / 140000)}");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment