Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jobily
Questdb
提交
1aefed87
Q
Questdb
项目概览
jobily
/
Questdb
11 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Q
Questdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
1aefed87
编写于
5月 12, 2021
作者:
P
Patrick Mackinlay
提交者:
GitHub
5月 12, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore(docs): tsbs load benchmark notes (#1010)
上级
c62f9e8f
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
85 addition
and
0 deletion
+85
-0
artifacts/tsbs/load/clickhouse.txt
artifacts/tsbs/load/clickhouse.txt
+31
-0
artifacts/tsbs/load/influxdb.txt
artifacts/tsbs/load/influxdb.txt
+25
-0
artifacts/tsbs/load/timescale.txt
artifacts/tsbs/load/timescale.txt
+29
-0
未找到文件。
artifacts/tsbs/load/clickhouse.txt
0 → 100644
浏览文件 @
1aefed87
#
# Running clickhouse with tsbs benchmark on amazon m5.8xlarge instance pim-ilp-perf-test
#
# install packages
sudo yum install yum-utils
sudo rpm --import https://repo.clickhouse.tech/CLICKHOUSE-KEY.GPG
sudo yum-config-manager --add-repo https://repo.clickhouse.tech/rpm/stable/x86_64
sudo yum install clickhouse-server clickhouse-client
# aws linux 2 package tested
rpm -ql clickhouse-server-21.4.3.21-2
# start clickhouse-server
sudo systemctl start clickhouse-server
# cli clieny
clickhouse-client
# data
sudo ls -latrh /var/lib/clickhouse/store/
sudo ls -latrh /var/lib/clickhouse/data/
# run benchmark
~/tmp/go/bin/tsbs_generate_data --use-case="cpu-only" --seed=123 --scale=4000 --timestamp-start="2016-01-01T00:00:00Z" --timestamp-end="2016-01-02T00:00:00Z" --log-interval="10s" --format="clickhouse" > /tmp/bigcpu
~/tmp/go/bin/tsbs_load_clickhouse --file /tmp/bigcpu --workers 4
# stop
sudo systemctl stop clickhouse-server
sudo systemctl disable clickhouse-server
sudo rm -rf /var/lib/clickhouse/data/ /var/lib/clickhouse/store/
artifacts/tsbs/load/influxdb.txt
0 → 100644
浏览文件 @
1aefed87
#
# Running influx with tsbs benchmark on amazon m5.8xlarge instance pim-ilp-perf-test
#
# install
sudo yum install influxdb
# aws linux 2 package tested
rpm -ql influxdb-1.8.4-1.x86_64
sudo systemctl start influxdb
# cli
influx
# data
ls -latrh /var/lib/influxdb/data/
# run benchmark
~/tmp/go/bin/tsbs_generate_data --use-case="cpu-only" --seed=123 --scale=4000 --timestamp-start="2016-01-01T00:00:00Z" --timestamp-end="2016-01-02T00:00:00Z" --log-interval="10s" --format="influx" > /tmp/bigcpu
~/tmp/go/bin/tsbs_load_influx --file /tmp/bigcpu --workers 4
# stop
sudo systemctl stop influxdb
sudo systemctl disable influxdb
sudo rm -rf /var/lib/influxdb/data/
artifacts/tsbs/load/timescale.txt
0 → 100644
浏览文件 @
1aefed87
#
# Running timescale with tsbs benchmark on amazon m5.8xlarge instance pim-ilp-perf-test
#
# postgres client
sudo yum install postgresql.x86_64
# docker
sudo yum install docker
sudo systemctl enable docker
sudo systemctl start docker
# timescale in docker
sudo docker pull timescale/timescaledb:2.2.0-pg13
POSTGRES_PASSWORD=`dd if=/dev/urandom count=5 | sha1sum | awk '{print $1}'`
TIMESCALE_DOCKER_ID=`sudo docker run -d --name timescaledb -p 127.0.0.1:5432:5432 -e POSTGRES_PASSWORD=${POSTGRES_PASSWORD} timescale/timescaledb:2.2.0-pg13`
PGPASSWORD=${POSTGRES_PASSWORD} psql -h 127.0.0.1 -p 5432 -U postgres
# run tsbs
~/tmp/go/bin/tsbs_generate_data --use-case="cpu-only" --seed=123 --scale=4000 --timestamp-start="2016-01-01T00:00:00Z" --timestamp-end="2016-01-02T00:00:00Z" --log-interval="10s" --format="timescaledb" > /tmp/bigcpu3
~/tmp/go/bin/tsbs_load_timescaledb --pass ${POSTGRES_PASSWORD} --file /tmp/bigcpu3 --workers 4
# stop everything
sudo docker stop ${TIMESCALE_DOCKER_ID}
sudo docker rm ${TIMESCALE_DOCKER_ID}
sudo docker volume rm $(sudo docker volume ls -q)
sudo docker ps
sudo systemctl stop docker
sudo systemctl disable docker
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录