当前位置:网站首页>Redis' performance indicators and monitoring methods
Redis' performance indicators and monitoring methods
2022-07-06 09:14:00 【~Pompeii】
Catalog
Redis The performance index of 、 Monitoring mode
1. Performance index classification
1. Performance indicators :Performance
2. Memory metrics :Memory
3. Basic activity indicators :Basic activity
4. Persistence index :Persistence
5. Error indicators :Error
2.Performance
Low cache hit rate means that the server will be under great pressure ;
key The expiration time of will have a little impact on the cache hit rate
3.Memory
4.Basic activity
5.Persistence
6.Error
7. Monitoring mode
Tools ( Need to install )
1.Cloud Insight Redis
2.Prometheus
3.Redis-stat
4.Redis-faina
5.RedisLive
6.zabbix
command (redis These commands provided for us )
1.benchmark
2.redis cli
1)monitor
2)showlog
8.benchmark
command
redis-benchmark [-h ] [-p ] [-c ] [-n <requests]> [-k ]
Example 1
explain : By default ,50 A connection ,10000 The corresponding performance of the second request
redis-benchmark
Example 2
explain :100 A connection ,5000 The corresponding performance of the second request
redis-benchmark -c 100 -n 5000
9.monitor
The order is as follows , Used to print server debugging information
monitor
10.showlog
command
get : Get slow query log
len : Get the number of slow query log entries
reset : Reset slow query log
showlog [operator]
Related configuration
slowlog-log-slower-than 1000 # Set the offline time for slow query , Company : subtle
slowlog-max-len 100 # Set the log display length corresponding to the slow query command , Company : Number of orders
11. demonstration (benchmark)
No use redis It can be operated in the client
12. demonstration (monitor)
Must enter redis client .
send out hello
13.showlog
Because we didn't execute too many instructions , Or an instruction doesn't take much time , So what we found is empty
边栏推荐
- go-redis之初始化连接
- MySQL uninstallation and installation methods
- Pytest's collection use case rules and running specified use cases
- KDD 2022论文合集(持续更新中)
- QML type: locale, date
- 在QWidget上实现窗口阻塞
- Different data-driven code executes the same test scenario
- AcWing 2456. Notepad
- 多元聚类分析
- Philosophical enlightenment from single point to distributed
猜你喜欢
Mise en œuvre de la quantification post - formation du bminf
KDD 2022 paper collection (under continuous update)
MongoDB 的安装和基本操作
如何正确截取字符串(例:应用报错信息截取入库操作)
BN folding and its quantification
The carousel component of ant design calls prev and next methods in TS (typescript) environment
Pytest之收集用例规则与运行指定用例
How to intercept the string correctly (for example, intercepting the stock in operation by applying the error information)
Different data-driven code executes the same test scenario
MySQL uninstallation and installation methods
随机推荐
Nacos installation and service registration
Connexion d'initialisation pour go redis
Redis之性能指标、监控方式
LeetCode41——First Missing Positive——hashing in place & swap
Opencv+dlib realizes "matching" glasses for Mona Lisa
[OC]-<UI入门>--常用控件的学习
Selenium+Pytest自动化测试框架实战
Heap (priority queue) topic
SAP ui5 date type sap ui. model. type. Analysis of the parsing format of date
[oc]- < getting started with UI> -- common controls uibutton
[Hacker News Weekly] data visualization artifact; Top 10 Web hacker technologies; Postman supports grpc
数字人主播618手语带货,便捷2780万名听障人士
The carousel component of ant design calls prev and next methods in TS (typescript) environment
甘肃旅游产品预订增四倍:“绿马”走红,甘肃博物馆周边民宿一房难求
Redis之持久化实操(Linux版)
[OC]-<UI入门>--常用控件-UIButton
Cesium draw points, lines, and faces
LeetCode:124. Maximum path sum in binary tree
LeetCode:387. The first unique character in the string
LeetCode:836. Rectangle overlap