DB Inc. Memo ID: R01 Name of R&D group: KKS

advertisement
DB Inc.
Memo ID: R01
Name of R&D group: KKS
Attended members: Ki-Hwan Kim, Dong-Shin Kim, Dong-Man Shin
Unattended members:
Name of the person to prepare the memo: Ki-Hwan Kim, Dong-Shin Kim
Summary
Responsibility:
1. Heap file structure presentation: Dong-Shin Kim (In the “sqlload” program, our
assignment 3 has to be changed. Our project used heap attribution but not exactly using
heap structure as its file organization. We need some manipulation functions)
2. Record format presentation: Dong-Man Shin (We will use fixed record format and record
format information have to inputted to the header file of page format, since we don’t
know the information of record format until after reading input file, so we use fixed
format to store record format applied by variable format to store the information of record
format at the running time.)
3. Page format research: Ki-Hwan Kim, Dong-Shin Kim, Dong-Man Shin (Using Fixed
Length Records, and we need some toolkit functions to manipulate Create/Delete,
insert/delete, scan records. And what is the better format of page and record?)
4. Hash-based indexing presentation: Ki-Hwan Kim (three kind of hash-based indexing, but
we can’t choose one of them yet. We are going to decide which indexing method is good
or not.)
Story:
1. We were discussing about overall of this assignment, and decided that the record format
and page format, but there should be a room to modify these formats to have more
efficient file system.
2. Question:
1) Do we only consider INTEGER and CHAR40? Or do we need to consider
INTEGER and CHAR, and the number following CHAR should be any numbers?
Ex) CHAR20, CHAR30…
2) In the variable record format, we use the length of each fields instead of file
pointer, is it working (for the storage problem, performance)?
3) Do we need to concern checking errors about duplicated primary key and data?
How to deal with this?
4) We have the restriction of index file, such that we only can create one file for the
index file, but if we want more than two index files, how to deal with this
problem?
Download