Back to BeStMan3 Home
Relational DataBase Schema Design
Goal
Multiple BestMan can access the DB at the backend to store, retrieve and server the requests. When an asynchronous request is called by the client, BestMan will store the requests and when it is available to process the requests, it retrieve and serve the requests and updates the Database if there is change of state.
Files are Directory paths are stored as hashvalues for efficient retrieval. General Purpose Hash Function --> Algorithms Library is used for that purpose.
Relational database H2 (http://www.h2database.com/html/main.html) is used at the backend for speed and efficiency.
List of Tables
- Directory
- Files
- FileAttributes
- FileAttributesSP
- Request
- Component
- User
- Space Assignment
- BandwidthCommited
- RequestLevelInputForGet
- RequestLevelInputForPut
- RequestLevelInputForCopy
- RequestLevelInputForBringOnline
- RequestLevelInputForChangeSpace
- DirOption
- Request Execution
- RequestLevelInputForLs
- RequestLevelInputForReserveSpace
- RequestLevelInputForUpdateSpace
List of API's
- Basic
- Transfer
- Directory
- Space
Table: Directory
- int dirId (primarykey) //db assigned id
- int parentId
- varchar(4000) dirEntries //db internal column