From 19a9e653de2abe05c4a7dcab1cc1d1f0a12b0efa Mon Sep 17 00:00:00 2001 From: bluxmit Date: Sun, 6 Feb 2022 12:08:03 +0000 Subject: [PATCH] experim. yugabyte wrk - add tpcc --- experimental/yugabyte-workspace/Dockerfile | 6 ++++++ experimental/yugabyte-workspace/README.md | 23 ++++++++++++++++++++++ workspaces/ubuntu-workspace/README.md | 10 +++++++++- 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 experimental/yugabyte-workspace/README.md diff --git a/experimental/yugabyte-workspace/Dockerfile b/experimental/yugabyte-workspace/Dockerfile index d2663a5..e0fe874 100644 --- a/experimental/yugabyte-workspace/Dockerfile +++ b/experimental/yugabyte-workspace/Dockerfile @@ -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 diff --git a/experimental/yugabyte-workspace/README.md b/experimental/yugabyte-workspace/README.md new file mode 100644 index 0000000..eeee067 --- /dev/null +++ b/experimental/yugabyte-workspace/README.md @@ -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 + \ No newline at end of file diff --git a/workspaces/ubuntu-workspace/README.md b/workspaces/ubuntu-workspace/README.md index 9f2d472..d3d4013 100644 --- a/workspaces/ubuntu-workspace/README.md +++ b/workspaces/ubuntu-workspace/README.md @@ -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) \ No newline at end of file +- [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) \ No newline at end of file