Skip to content

Instantly share code, notes, and snippets.

@samm-git
Created November 20, 2014 13:48
Show Gist options
  • Save samm-git/a0e534625b28618a3562 to your computer and use it in GitHub Desktop.
Save samm-git/a0e534625b28618a3562 to your computer and use it in GitHub Desktop.
root@magento-redis-prod-02 ~]# /usr/local/bin/redis-cli -p 6380 MONITOR| head -n 500000|./redis-faina.py
Overall Stats
========================================
Lines Processed 500000
Commands/Sec 6599.87
Top Prefixes
========================================
zc 480618 (96.12%)
Top Keys
========================================
zc:k:3ad_00AA9528A519FC3140B1381B3E5C2866 26044 (5.21%)
zc:k:3ad_CONFIG_GLOBAL_LOCK 19383 (3.88%)
0 19381 (3.88%)
zc:k:3ad_APP_B1FB6E8F13287C01E5C05063633DDA4C 19379 (3.88%)
zc:k:3ad_APP_4E4ABDD8DC00C3DACB3C1597944A3B6C 19379 (3.88%)
zc:k:3ad_APP_E4D52B98688947405EDE639E947EE03D 19379 (3.88%)
zc:ti:3ad_QUOTE 10912 (2.18%)
zc:tags 9651 (1.93%)
Top Commands
========================================
HGET 426645 (85.33%)
SELECT 19381 (3.88%)
EXPIRE 18294 (3.66%)
SADD 16366 (3.27%)
SREM 5795 (1.16%)
DEL 5795 (1.16%)
SUNION 5795 (1.16%)
HMSET 1928 (0.39%)
Command Time (microsecs)
========================================
Median 98.0
75% 209.25
90% 356.75
99% 799.0
Heaviest Commands (microsecs)
========================================
HGET 69244209.75
SELECT 3165248.0
HMSET 1118486.75
SREM 908691.5
SUNION 839466.5
EXPIRE 235229.5
SADD 190946.25
DEL 56748.5
Slowest Calls
========================================
25647.0 "HGET" "zc:k:3ad_00AA9528A519FC3140B1381B3E5C2866" "d"
12864.75 "HGET" "zc:k:3ad_DB_PDO_MYSQL_DDL_enterprise_customer_sales_flat_quote_1" "d"
5781.0 "HGET" "zc:k:3ad_B92497BF1934FA9567D28F630F619FE8" "d"
5151.25 "SUNION" "zc:ti:3ad_QUOTE" "zc:ti:3ad_QUOTE_1903720"
2598.0 "HGET" "zc:k:3ad_LAYOUT_18326B2E52B3462ECE715EA09EBED0DDB" "d"
2575.0 "SELECT" "0"
2494.0 "HGET" "zc:k:3ad_APP_B1FB6E8F13287C01E5C05063633DDA4C" "d"
2377.0 "HGET" "zc:k:3ad_DB_PDO_MYSQL_DDL_sales_flat_quote_1" "d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment