Skip to content
/ nimoy Public
forked from bigsql/nimoy

BenchmarkSQL test driver for Spock/pgLogical2

Notifications You must be signed in to change notification settings

pgsql-io/nimoy

 
 

Repository files navigation

nimoy - AWS BenchmarkSQL testing of pgLogical/pgSpock

configure the template

$ cp cluster-def.template cluster-def.sh
$ vi cluster-def.sh

You need the ip-addresses and ssh keys for the four vm's in the two regions

configure the two driver nodes, driver1-1 & driver2-1

$ ./config-drivers.sh

Configure the two pg servers hostname's

NOTE: don't forget you must open up port 5432 on these 2 servers so they will be able to talk to each other for replication & be reachable from the driver nodes

$ ./config-nodes.sh

on all four nodes, setup the EBS volume as /db

  $ ./cssh.sh driver1-1, node1-1, driver2-1, node2-1 (hit <enter> for 1st time warning)

     device=/dev/nvme1n1
     sudo mkfs -t ext4 $device
     if [ ! -d /db ]; then
       sudo mkdir /db
     fi
     sudo mount $device /db
     sudo chmod 777 /db

       
       automatically mount the EBS volume after Reboot as per:
         https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html

     sudo reboot

Now your ready to login into driver1-1 and get started

  $ ./cssh.sh driver1-1
  $   cd $RMT
  $   cat README.md

About

BenchmarkSQL test driver for Spock/pgLogical2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 60.1%
  • PLSQL 10.8%
  • Shell 9.6%
  • R 7.6%
  • PLpgSQL 5.5%
  • TSQL 3.4%
  • Python 3.0%