Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

How to run


Starting all shards

Double click on all masters and slaves in shards folder
If you want to add more shards, follow naming convention for master and slave
All masters have names Master[Number], and all slaves have names Slave[Number][1,2...]

Horizontal Partitioning

Range Based

User Id based

Go to the folder /Database Sharding/Partitioning Methods/Horizontal Partitioning/Range Based Sharding/UserIDBased
Double click on client and server
When prompted by client give user id and data in string format

User Name based

Go to the folder /Database Sharding/Partitioning Methods/Horizontal Partitioning/Range Based Sharding/UserNameBased
Double click on client and server
When prompted by client give user name and data in string format

Vertical Partitioning

Go to the folder /Database Sharding/Partitioning Methods/Vertical Partitioning/FeatureBased/
Double click on client and server
When prompted by client give user name, email, tweet(inspired by twitter) and chose an image
Please open server file for more explanaiton as some of it doesn't print