- Gabriel Sousa Santos de Almeida
- Luís Henrique Giorgetti Dantas
- Cristina Dutra de Aguiar
- João Paulo Clarindo
- Eduardo Souza Rocha
This project presents a C program, without the use of any external libraries other than the standard C libraries. The program implements a B*Tree indexing structure, that manipulates binary files in disk storage.
Ten functionalities analogous to those present in real Database Management Systems were developed to manipulate a real database provided by the Secretariat of Public Security of São Paulo, containing information about cellphone thefts.
- Create table
- Select
- Create index
- Select where
- Delete
- Insert into
- Update
- Create tree
- Select where tree
- Insert into tree
There were a total of 3 deliveries over 4 months, following this schedule:
- Delivery
- Create table
- Select
- Delivery
- Create index
- Select where
- Delete
- Insert into
- Update
- Delivery
- Create tree
- Select where tree
- Insert into tree
This project is cumulative and sequential, with each functionality depending on its predecessor.
To execute the program, first use the command to generate the executable:
make all
Then, use the command to run the program:
make run
Finally, choose a .in file to use as input or manually input the required fields.
In this project, we had the opportunity to explore the inner workings of Database Management Systems and the manipulation of binary files in disk storage. It was an enriching experience, as we could better understand how DBMSs handle data at a lower level.