benchmark

command module
v0.0.0-...-02ea1f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL