Skip to content

PeDro0210/PostgreSQL-Concurrency-BenchMark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

a benchmark tool for seeing behavior of multiple transactions

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •