Skip to content

jlpadilla/benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

benchmark

Benchmark database technologies. See results here.

Using this project

  1. REQUIRED: Setup the target database. Instructions below.
  2. go run main.go

Setup the target database locally

Redisgraph

docker run -p 6379:6379 -it --rm redislabs/redisgraph

PostgresSQL

https://www.postgresql.org/

  1. Start PostgreQSL in a docker container
mkdir -p ${HOME}/postgres/data
docker run -d \
 --name dev-postgres \
 -e POSTGRES_PASSWORD=dev-pass! \
 -v ${HOME}/postgres/data/:/var/lib/postgresql/data \
 -p 5432:5432 \
 postgres
  1. Login to the container
$ docker exec -it dev-postgres bash
# psql -h localhost -U postgres
  1. Create a database named benchmark
postgres=# CREATE DATABASE benchmark;
  1. Use database
\c benchmark

About

Benchmark database technologies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published