Skip to content
/ DDBMS Public
forked from kkalkidan/DDBMS

Final project for Distributed Database Systems(70240063-0)2020 under Tsinghua's Master in Advanced Computing

Notifications You must be signed in to change notification settings

khtee/DDBMS

 
 

Repository files navigation

Distributed Database System

This is the final project for Distributed Database Systems(70240063-0)2020. Entire project is developed using MongoDB, Jupyter Notebook and Studio3T.

Alt text

Setup

Start the servers

>python3 ./ddbms/server/server.py

Import structured data

To import structured data in json format, simply run

mongoimport.sh <host> <port> <database name> <path to data> <file name>

>bash ./ddbms/import/mongoimport.sh localhost 26000 db /home/data "*.json"

Import unstructured data

We use GridFS from MongoDB to store unstructured data such as image, video and text files. To import unstructured data, run

mongofiles.sh <host> <port> <database name> <path to data> <file name>

>bash ./ddbms/import/mongofiles.sh localhost 26000 db <data path> "*.flv"

Start mongo shell

mongo --port 26000

Alt text

note: Misc folder contains some of the JavaScript and Python codes that were used to generate additional collections and start listener.

About

Final project for Distributed Database Systems(70240063-0)2020 under Tsinghua's Master in Advanced Computing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 91.5%
  • Python 7.4%
  • Other 1.1%