Skip links
Drag

数据库代写|Project 2: Relation Manager

这是一个美国的数据库管理系统相关Project代写

CodeBase

As in Project 1, we have provided you with a framework to implement Project 2. Please download this
[Project2.patch, put it in your git repo, and apply it to your codebase with

1 git am –signoff Project2.patch

Testing

Please find Gtest cases under test directory. Note that these test cases will be used to grade your project
partially, but we also have our own private test cases. This is by no means an exhaustive test suite. You can add
more cases to this and test your code thoroughly, but do not change the existing test cases: they will be
overwritten by the staff.

Note: Again, this is not the complete suite we will use to test your codebase — just a sample of it.

Grading Rubrics

Full Credit: 100 points
Extra Credit: 10 points

1. Project Report & Implementation details
(10 points)

Clearly document the design of your project by using the provided template.

1. Pass the provided test suite
(50 points)

Each of which is graded as pass/fail. There are no partial points for each test case.

1. Pass the private test suite
(40 points)

Each of which is graded as pass/fail. There are no partial points for each test case.

1. Extra credits
(10 points)

Implement the following functionalities and pass the provided extra credit test cases:

addAttributes/dropAttributes

Note that those methods should internally use the corresponding methods of the record
based file manager.

You should implement all the required functionalities. Your implementation should follow the basic
requirements of each function. For example, both catalog information and table files should persist on disk.

After RM is shut down and restarted, catalog and data should be able to be loaded correctly, etc..

Leave a comment