RHIT-Advanced Databases final project. Using multiple databases to create a scheduling assistant.
The purpose of the project is to expand our knowledge and work with NoSQL databases. By using multiple databases, we can learn how to utilize different types of NoSQL databases, spread data across multiple databases, and have polyglot persistence when a database goes down. To extend our knowledge, the databases needs to have an interface to help users navigate the data.
Redis - Key value store database and is able to be stored entirely in memory
MongoDB - Document store database
MonetDB - Columnar database with access in a SQL type language
Flask - Microframwoerk for Python to create a server for a website
Pandas - Python library providing high-performance, easy-to-use data structures and data analysis.
NumPy - Fundamental package for scientific computing in Python.
Pyomo - A Python library for optimization modeling language with a diverse set of optimization capabilities.
GLPK - Package that is built for solving large-scale linear programming, mixed integer programming, and other related math problems.
monetdbd set port=0.0.0.0 yourDataFarm/
monetdb create db
monetdb release db
import pymonetdb
conn = pymonetdb.connect()
cursor = conn.cursor()
cursor.execute("select * from voctable")
rs.initiate()
rs.add("moneteam-X....:00000")
# set arbiter
rs.add("...",{arbiter:true})
# check heart beat
rs.status()
# allow read on secondary
rs.slaveOK()
mongod --fork --logpath