Created
December 13, 2011 10:44
-
-
Save antirez/1471636 to your computer and use it in GitHub Desktop.
Redis sampler against lloogg.com dataset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./redis-sampler.rb 127.0.0.1 6379 0 100000 :master: | |
Sampling 127.0.0.1:6379 DB:0 with 100000 RANDOMKEYS | |
TYPES | |
===== | |
string: 95480 (95.48%) zset: 4469 (4.47%) list: 48 (0.05%) | |
set: 3 (0.00%) | |
EXPIRES | |
======= | |
unknown: 100000 (100.00%) | |
Average: 0.00 Standard Deviation: 0.00 | |
Min: 0 Max: 0 | |
Powers of two distribution: (NOTE <= p means: p/2 < x <= p) | |
Note: 'unknown' expire means keys with no expire | |
STRINGS, SIZE OF VALUES | |
======================= | |
1: 35925 (37.63%) 2: 32795 (34.35%) 3: 18844 (19.74%) | |
4: 6347 (6.65%) 5: 1114 (1.17%) 10: 121 (0.13%) | |
32: 88 (0.09%) 6: 49 (0.05%) 8: 33 (0.03%) | |
7: 22 (0.02%) 9: 18 (0.02%) 11: 11 (0.01%) | |
18: 11 (0.01%) 23: 11 (0.01%) 16: 10 (0.01%) | |
19: 9 (0.01%) 26: 9 (0.01%) 22: 9 (0.01%) | |
12: 8 (0.01%) 15: 7 (0.01%) 13: 7 (0.01%) | |
(suppressed 10 items with perc < 0.5% for a total of 0.03%) | |
Average: 2.06 Standard Deviation: 1.51 | |
Min: 1 Max: 34 | |
Powers of two distribution: (NOTE <= p means: p/2 < x <= p) | |
<= 1: 35925 (37.63%) <= 2: 32795 (34.35%) <= 4: 25191 (26.38%) | |
<= 8: 1218 (1.28%) <= 16: 186 (0.19%) <= 32: 164 (0.17%) | |
<= 64: 1 (0.00%) | |
LISTS, NUMBER OF ELEMENTS | |
========================= | |
51: 42 (87.50%) 2: 2 (4.17%) 1: 1 (2.08%) | |
34: 1 (2.08%) 13: 1 (2.08%) 9: 1 (2.08%) | |
Average: 45.90 Standard Deviation: 14.10 | |
Min: 1 Max: 51 | |
Powers of two distribution: (NOTE <= p means: p/2 < x <= p) | |
<= 64: 43 (89.58%) <= 16: 2 (4.17%) <= 2: 2 (4.17%) | |
<= 1: 1 (2.08%) | |
LISTS, SIZE OF ELEMENTS | |
======================= | |
592: 2 (4.17%) 706: 1 (2.08%) 841: 1 (2.08%) | |
720: 1 (2.08%) 1023: 1 (2.08%) 517: 1 (2.08%) | |
627: 1 (2.08%) 704: 1 (2.08%) 726: 1 (2.08%) | |
919: 1 (2.08%) 776: 1 (2.08%) 699: 1 (2.08%) | |
468: 1 (2.08%) 479: 1 (2.08%) 688: 1 (2.08%) | |
595: 1 (2.08%) 815: 1 (2.08%) 694: 1 (2.08%) | |
826: 1 (2.08%) 540: 1 (2.08%) 524: 1 (2.08%) | |
(suppressed 26 items with perc < 0.5% for a total of 54.17%) | |
Average: 720.40 Standard Deviation: 208.27 | |
Min: 468 Max: 1358 | |
Powers of two distribution: (NOTE <= p means: p/2 < x <= p) | |
<= 1024: 37 (77.08%) <= 512: 6 (12.50%) <= 2048: 5 (10.42%) | |
SETS, NUMBER OF ELEMENTS | |
======================== | |
20: 1479 (33.09%) 1: 737 (16.49%) 2: 470 (10.52%) | |
3: 290 (6.49%) 4: 236 (5.28%) 5: 213 (4.77%) | |
6: 158 (3.54%) 7: 124 (2.77%) 8: 107 (2.39%) | |
9: 94 (2.10%) 10: 81 (1.81%) 11: 77 (1.72%) | |
12: 69 (1.54%) 13: 62 (1.39%) 16: 60 (1.34%) | |
14: 53 (1.19%) 15: 50 (1.12%) 17: 32 (0.72%) | |
18: 31 (0.69%) 19: 26 (0.58%) 231: 1 (0.02%) | |
(suppressed 19 items with perc < 0.5% for a total of 0.43%) | |
Average: 1.00 Standard Deviation: 0.00 | |
Min: 1 Max: 1 | |
Powers of two distribution: (NOTE <= p means: p/2 < x <= p) | |
<= 1: 3 (100.00%) | |
SETS, SIZE OF ELEMENTS | |
====================== | |
4: 3 (100.00%) | |
Average: 4.00 Standard Deviation: 0.00 | |
Min: 4 Max: 4 | |
Powers of two distribution: (NOTE <= p means: p/2 < x <= p) | |
<= 4: 3 (100.00%) | |
SORTED SETS, NUMBER OF ELEMENTS | |
=============================== | |
20: 1479 (33.09%) 1: 737 (16.49%) 2: 470 (10.52%) | |
3: 290 (6.49%) 4: 236 (5.28%) 5: 213 (4.77%) | |
6: 158 (3.54%) 7: 124 (2.77%) 8: 107 (2.39%) | |
9: 94 (2.10%) 10: 81 (1.81%) 11: 77 (1.72%) | |
12: 69 (1.54%) 13: 62 (1.39%) 16: 60 (1.34%) | |
14: 53 (1.19%) 15: 50 (1.12%) 17: 32 (0.72%) | |
18: 31 (0.69%) 19: 26 (0.58%) 231: 1 (0.02%) | |
(suppressed 19 items with perc < 0.5% for a total of 0.43%) | |
Average: 13.10 Standard Deviation: 120.35 | |
Min: 1 Max: 7385 | |
Powers of two distribution: (NOTE <= p means: p/2 < x <= p) | |
<= 32: 1571 (35.15%) <= 1: 737 (16.49%) <= 8: 602 (13.47%) | |
<= 16: 546 (12.22%) <= 4: 526 (11.77%) <= 2: 470 (10.52%) | |
<= 64: 6 (0.13%) <= 256: 4 (0.09%) <= 128: 3 (0.07%) | |
<= 512: 1 (0.02%) <= 4096: 1 (0.02%) <= 2048: 1 (0.02%) | |
<= 8192: 1 (0.02%) | |
SORTED SETS, SIZE OF ELEMENTS | |
============================= | |
16: 364 (8.14%) 17: 157 (3.51%) 24: 105 (2.35%) | |
19: 102 (2.28%) 26: 101 (2.26%) 20: 101 (2.26%) | |
15: 100 (2.24%) 25: 98 (2.19%) 29: 98 (2.19%) | |
27: 97 (2.17%) 30: 88 (1.97%) 28: 86 (1.92%) | |
23: 86 (1.92%) 22: 85 (1.90%) 31: 83 (1.86%) | |
35: 76 (1.70%) 32: 73 (1.63%) 21: 73 (1.63%) | |
34: 72 (1.61%) 40: 67 (1.50%) 33: 65 (1.45%) | |
(suppressed 411 items with perc < 0.5% for a total of 51.29%) | |
Average: 79.12 Standard Deviation: 122.47 | |
Min: 9 Max: 1246 | |
Powers of two distribution: (NOTE <= p means: p/2 < x <= p) | |
<= 32: 1492 (33.39%) <= 64: 1239 (27.72%) <= 128: 717 (16.04%) | |
<= 16: 517 (11.57%) <= 512: 268 (6.00%) <= 256: 139 (3.11%) | |
<= 1024: 95 (2.13%) <= 2048: 2 (0.04%) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment