disc04 - Minirel2K Project Build a simple, single-user DBMS...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
3/10/2011 EECS 484: Database Management Systems 1 Minirel2K Project Build a simple, single-user DBMS Two Components: Project 3: Buffer Manager Project 4: (Simplified) Query Processor
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
3/10/2011 EECS 484: Database Management Systems 2 DBMS Organization Disk Disk Space Manager (Provided) Buffer Manager ( maintains a set of memory-resident pages ) Pages read and written File and Access Methods Query Processor / Operators
Background image of page 2
3/10/2011 EECS 484: Database Management Systems 3 Minirel2K I/O Layer (Provided) We’re providing code to manage space on disk. (For purposes of this project, your “disk” in the UNIX file system.) I/O Layer Operations Create / Destroy a file Allocate / Deallocate a page in a file Read / Write a page in a file Main Classes File, DB
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Distributed Files 3/10/2011 EECS 484: Database Management Systems 4
Background image of page 4
Provided Class: DB Two classes (inside db.h/db.cpp) DB: Contains functions for file access. (Create/Destroy/Open/Close file functions) File: Contains functions for page access. (allocate/dispose/read/write/getfirst page functions) 3/10/2011 EECS 484: Database Management Systems 5
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
3/10/2011 EECS 484: Database Management Systems 6 Minirel2K I/O Layer (Provided) class DB { public: DB(); // initialize open file table ~DB(); // clean up any remaining open files // Create a new file const Status createFile(const string & fileName) const; // Destroy a file, release all space const Status destroyFile(const string & fileName) const; // Open a file
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/08/2011 for the course EECS 484 taught by Professor Staff during the Winter '08 term at University of Michigan.

Page1 / 15

disc04 - Minirel2K Project Build a simple, single-user DBMS...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online