experim. yugabyte wrk - add tpcc

This commit is contained in:
bluxmit 2022-02-06 12:08:03 +00:00
parent e06fd959ba
commit 19a9e653de
3 changed files with 38 additions and 1 deletions

View file

@ -10,6 +10,12 @@ RUN echo "------------------------------------------------------ yugabyte 2.11"
&& tar xvfz /tmp/yugabyte-2.11.0.0-b7-linux-x86_64.tar.gz \
&& mv /tmp/yugabyte-2.11.0.0/ /opt/yugabyte \
&& /opt/yugabyte/bin/post_install.sh \
echo "------------------------------------------------------ tpcc" \
&& cd /tmp && wget https://github.com/yugabyte/YCSB/releases/download/1.0/ycsb.tar.gz \
&& tar -xzf ycsb.tar.gz \
&& chmod +x /tmp/tpcc/tpccbenchmark \
&& mv /tmp/tpcc /opt/tpcc \
&& ln -s /opt/tpcc/tpccbenchmark /usr/bin/tpccbenchmark \
&& echo "------------------------------------------------------ user" \
&& chown -R abc /opt/yugabyte

View file

@ -0,0 +1,23 @@
# Yugabyte workspace
A set of tools to maintain, benchmark and deveolp with [Yugabyte](https://www.yugabyte.com/) - a distributed
SQL database.
## About
This workspace was build from the [Postgres workspace](https://github.com/bluxmit/alnoda-workspaces/blob/main/workspaces/postgres-workspace/README.md), and
includes all its features. In addition:
- [Yugabyte 2.11 release](https://github.com/yugabyte/yugabyte-db/releases)
- [tpccbenchmark](https://docs.yugabyte.com/latest/benchmark/tpcc-ysql/)
Yugabyte release is in the folder `/opt/yugabyte` with `./bin and ./postgres/bin` added to the PATH.
__Postgres tools that work with Yugabyte:__
- CLI
- [psql](https://www.postgresql.org/docs/current/app-psql.html). Standard PostgreSQL interactive terminal.
- [pgcli](https://www.pgcli.com/). Command line interface for Postgres with auto-completion and syntax highlighting.
- Performance monitoring
- [pgCenter](https://github.com/lesovsky/pgcenter). Admin tool for observing and troubleshooting Postgres.
- Backups
- [pg_dump](https://www.postgresql.org/docs/current/backup-dump.html)
-Import/export data

View file

@ -601,4 +601,12 @@ It will be running even if you stop the container, or commit it and create new i
### Candidates
- [spacemacs](https://www.spacemacs.org/)
- [hyper](https://github.com/vercel/hyper)
- [xplr](https://github.com/sayanarijit/xplr)
- [xplr](https://github.com/sayanarijit/xplr)
- [vizex](https://github.com/bexxmodd/vizex)
- [lazygit](https://github.com/jesseduffield/lazygit)
- [gitui](https://github.com/extrawurst/gitui)
- [bashtop](https://github.com/aristocratos/bashtop)
- [amp](https://github.com/jmacdonald/amp)
- [fff](https://github.com/dylanaraps/fff)
- [slap](https://github.com/slap-editor/slap)
- [glow](https://github.com/charmbracelet/glow)