Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update --help output

  • Loading branch information...
commit 5940984f99fc509a326eaa29c590bec67099e13b 1 parent 61b8697
@bart613 bart613 authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 README
View
8 README
@@ -16,7 +16,7 @@ database_name
It has few options which may become handy:
-./indexbloat.py --help
+$ ./indexbloat.py --help
Usage: indexbloat.py [options] cvsA cvsB
Options:
@@ -27,12 +27,14 @@ Options:
-t number, --percent-threshold=number
pct threshold when to treat idx as bloated; default
102
- -b bytes, --bytes-threshold=bytes
+ -b bytes, --bloat-bytes=bytes
+ minimal bloat size to display; default 0
+ -c bytes, --size-threshold=bytes
bytes threshold when to compare idx; default 100M
Example output:
-./indexbloat.py -ps csva.csv csvb.csv
+./indexbloat.py -ps csva.csv csvb.csv
Index idx3 size compare to clean import: 117 % (14.49G vs. 12.35G)
Index idx2 size compare to clean import: 279 % (14.49G vs. 5.18G)
Ough! idx4 index is missing in the csvb.csv file. Likely a problem with backup!
Please sign in to comment.
Something went wrong with that request. Please try again.