Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
# Docker sudo yum update -y sudo yum install -y git docker postgresql sudo systemctl enable --now docker # Docker compose sudo curl -o /var/tmp/docker-compose -L -s https://github.com/docker/compose/releases/download/v2.1.1/docker-compose-linux-x86_64 ; sudo chmod a+x /var/tmp/docker-compose
# get the hugedbbench project git clone https://github.com/kokizzu/hugedbbench.git
# record perf samples during 1 minutes (run on the yugabyte server while the program is running) sudo perf record --call-graph fp -F99 -e cpu-cycles -a sleep 30 # get Brendan Gregg flamegraph tool git clone https://github.com/brendangregg/FlameGraph.git # get my color map for YugabyteDB and PostgreSQL functions wget -c https://raw.githubusercontent.com/FranckPachot/ybio/main/util_flamegraph/palette.map # generate flamegraph on the recorded perf.data as perf.svg sudo perf script -i perf.data | FlameGraph/stackcollapse-perf.pl | FlameGraph/flamegraph.pl --colors green --width=2400 --hash --cp | tee perf.svg && chmod a+r perf.svg # here is how to share it though internet: echo $(curl --upload-file perf.svg http://transfer.sh/$(date +%Y%m%dT%H%M%S).svg) # the url displayed can be opened publicly