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

advertisement
DB Inc.
Memo ID: R03
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: Dong-Shin Kim
Summary
Overall
o We discussed about detail implementation for the project.
o We decided the role the part of program.
Sqlload program modification
o Catalog file (Dong-Man Shin): We use three major classes to read and store the
input data into the catalog file. We don’t know how many fields of the input file
so that, we have to use linked list to maintain the data as what we did at
assignment 3.
Specification of classes
• format_catalog_1: format of all_object.dat
• format_catalog_2: format of <object>_cat.dat
• catalog2list: maintain format_catalog_2 class
• We need useful function that executes loading and storing for the
createindex program. (such as loaddata(…), storedata(…))
o Heap file (Dong-Shin Kim): Not yet decided. But we discussed relatively detail
specification for this part. We use five major classes to execute create, modify the
data of Heap file.
Specification of classes
• record: representing data record.
• recordset: maintain record classes using liked list.
• page: representing pages
• pageset: maintain page classes using liked list.
• heaptoolkit: managing overall classes and implementation. (most
important part of sqlload.exe)
Some other specification between sqlload and createindex program
o We use the same classes at each program because it is easy to implement that
using same class. For instance, we can use catalog2list class both createindex and
sqlload programs using its some useful functions such as loaddata(), storedata().
o These kind of functions that are relative with file management are used in these
classes.
Download