Skip to content

jpgoncalves13/TP_ABD

Repository files navigation

StackBench

Load Data (PostgreSQL)

pip3 install -r db/requirements.txt
  • Create a database to store the data;

  • Load:

# replace 'HOST', 'PORT', 'DBNAME', 'USER', and 'PASSWORD' with the
# respective connection variables.
python3 db/load.py -H HOST -P PORT -d DBNAME -u USER -p PASSWORD

Transactional workload (Java 21)

  • Install:
cd transactional
mvn package
  • Run:
# replace the connection, warmup, runtime, and client variables with the respective values
java -jar target/transactional-1.0-SNAPSHOT.jar -d jdbc:postgresql://HOST:PORT/DBNAME -U USER -P PASSWORD -W WARMUP -R RUNTIME -c CLIENTS
# E.g.:
java -jar target/transactional-1.0-SNAPSHOT.jar -d jdbc:postgresql://localhost:5432/stack -U postgres -P postgres -W 15 -R 180 -c 16

Analytical workloads

The analytical queries can be found in the analytical folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published