zoukankan      html  css  js  c++  java
  • 火焰图定位dbproxy问题

     https://blog.csdn.net/oujiangping/article/details/78580450

    https://blog.csdn.net/gatieme/article/details/78885908

    ps aux|grep mysql-proxy

    第二个就是3318的进程号

    perf record -p 1674  -F 999 -a -g -- sleep 20
    
    perf script > out.perf
    
    ./stackcollapse-perf.pl out.perf > out.folded
    
    ./flamegraph.pl out.folded > test.svg
    sysbench  --test=/usr/share/sysbench/tests/include/oltp_legacy/oltp.lua  --mysql-host=10.17.90.37 --mysql-port=3318 --mysql-user=test --mysql-password=123456  --mysql-db=test --oltp-table-size=10000000 --oltp-tables-count=64 --threads=1000 --oltp-read-only=on --report-interval=10 --rand-type=uniform  --max-requests=0 --percentile=99 --oltp-skip-trx=on --time=120    --db-driver=mysql run
  • 相关阅读:
    Vue 路由组件
    编写第一个JavaScript程序
    JavaScript 介绍
    JavaScript
    前台数据库
    cookie
    js date string parse
    判断时间大小 yyyy-MM-dd 格式
    正则表达式替换
    测试计时器
  • 原文地址:https://www.cnblogs.com/taek/p/9874213.html
Copyright © 2011-2022 走看看