Skip to content

Commit 034a226

Browse files
committed
Update row-size-sampler.sh
add comments
1 parent 776c38b commit 034a226

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bin/row-size-sampler.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,13 @@ for ks in $keyspaces; do
4949
ttl_factor="y"
5050
static_factor="n"
5151

52-
describe=$(echo desc table $ks.$tb | kqlsh "$@")
53-
52+
#using defualt ttl
5453
while read line; do ttl_factor="n" ; done < <(echo desc table $ks.$tb | kqlsh "$@" | xargs echo | grep -i "default_time_to_live = 0")
5554

55+
#using blobs
5656
while read line; do blob_factor="y" ; done < <(echo desc table $ks.$tb | kqlsh "$@" | xargs -n1 echo | grep -i blob)
5757

58+
#using statics
5859
while read line; do static_factor="y" ; done < <(echo desc table $ks.$tb | kqlsh "$@" | xargs -n1 echo | grep -i static)
5960

6061
#Calculate averages using awk

0 commit comments

Comments
 (0)