Mini Database Management System
- CS448 - Project 2
- Author: Rendong Chen
- Login: chen769
- Email: [email protected]
See doc/handout.pdf for details
The main function is in main.Console
###Compile
It's already compiled. All the class files are in ./bin/
Or you can import project into eclipse workplace, and compile from there.
-
From Terminal
- Run
java -cp ./bin/ main.Console username (< example.sql > output) - Or
java -cp ./bin/ main.Console
- Run
-
By using Eclipse
- Simply import the project and run it.
*.serStorage of the database content.users.serStore all users' infoschemas.serStore all schemas' infotables.serStore all tables and their tuples
*Notice: The .ser already stores all the data after running all the example sql files. Alternatively, you can run rm *.ser to test it from scratch.
output[1-5].serThe output of the example input.
Notice: The output1 contains all the output from output1 to output5
*.sqlThe example sql file containing all the sql commands.