GithubHelp home page GithubHelp logo

pgsql-io / nimoy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bigsql/nimoy

0.0 1.0 0.0 2.43 MB

BenchmarkSQL test driver for Spock/pgLogical2

Shell 9.55% PLSQL 10.78% PLpgSQL 5.49% TSQL 3.39% R 7.61% Python 3.05% Java 60.13%

nimoy's Introduction

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

nimoy's People

Contributors

almann avatar luss avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.