A haskell-project oriented for testing concurrent queries to any postreSQL DB
-
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:
-
Install Cabal with Ghcup
ghcup install cabal
-
Clone the repo
git clone https://github.com/PeDro0210/PostgreSQL-Concurrency-BenchMark.git
cd PostgreSQL-Concurrency-BenchMark
cabal run exes -- <queries path> <uri> <separator-value> <threads quantity>
cabal run exes -- queries/query_pool.sql postgresql://pedro0210:idunno_com@localhost:5432/db - 30