๐Ÿ“ฆ PeDro0210 / PostgreSQL-Concurrency-BenchMark

a benchmark tool for seeing behavior of multiple transactions

โ˜… 1 stars โ‘‚ 0 forks ๐Ÿ‘ 1 watching โš–๏ธ MIT License
benchmarkconcurrencyhaskellpostresql
๐Ÿ“ฅ Clone https://github.com/PeDro0210/PostgreSQL-Concurrency-BenchMark.git
HTTPS git clone https://github.com/PeDro0210/PostgreSQL-Concurrency-BenchMark.git
SSH git clone git@github.com:PeDro0210/PostgreSQL-Concurrency-BenchMark.git
CLI gh repo clone PeDro0210/PostgreSQL-Concurrency-BenchMark
PeDro0210 PeDro0210 refactoring queryrunner 57d6f84 9 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ app
๐Ÿ“„ .gitignore
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ README.md

PostgreSQL-Concurrency-BenchMark

A haskell-project oriented for testing concurrent queries to any postreSQL DB

How to setup

  • Install Ghcup
> Note > > There are many ways to install Ghcup, but there are different setups depending your OS, > that's why I won't show you how to do it in here, but you can have the installation instructions: > > Installation Page
- Install Cabal with Ghcup

ghcup install cabal

  • Clone the repo
git clone https://github.com/PeDro0210/PostgreSQL-Concurrency-BenchMark.git

How to run

cd PostgreSQL-Concurrency-BenchMark
cabal run exes -- <queries path> <uri> <separator-value> <threads quantity>

Use Example

`` bash cabal run exes -- queries/query_pool.sql postgresql://pedro0210:idunno_com@localhost:5432/db - 30 ``