Skip to content

Implementation of Heap, Hash Table, Secondary Hash Table, as a project in "Implementation of Database Systems" course.

Notifications You must be signed in to change notification settings

Vicky-Christofilopoulou/Implementation-and-creation-of-data-bases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 

Repository files navigation

Creation of the following Structures : Heap, Hash Table, Secondary Hash Table

Implementation

The implementation of the structures is explained on this pdf.
ReadMe.pdf

Purpose

The purpose of this paper is to understand the internal workings of Database Systems Database Systems in terms of block level management and also in terms of block level management. record level. Also, through the work it will be understood whether it can improve the performance of a Database Management System (DBMS) by the existence of indexes on the records.

Functions

Heap:

  • int HP_CreateFile(char *fileName, /όνομα αρχείου/);
  • HP_info* HP_OpenFile( char fileName / όνομα αρχείου */ )
  • int HP_CloseFile( HP_info* header_info )
  • int HP_InsertEntry(HP_info* header_info, /* επικεφαλίδα του αρχείου* Record record /* δομή που προσδιορίζει την εγγραφή */ )
  • int HP_GetAllEntries(HP_info* header_info, /* επικεφαλίδα του αρχείου*/int id /* η τιμή id της εγγραφής στην οποία πραγματοποιείται η αναζήτηση*/)

Hash Table :

  • int HT_CreateFile(char fileName, / όνομα αρχείου / int buckets / αριθμός κάδων κατακερματισμού*/)
  • HT_info* HT_OpenFile( char fileName / όνομα αρχείου */ )
  • int HT_CloseFile(HT_info* header_info )
  • int HT_InsertEntry(HT_info* header_info, /* επικεφαλίδα του αρχείου*/ Record record /* δομή που προσδιορίζει την εγγραφή */ )
  • int HT_GetAllEntries(HT_info* header_info, /επικεφαλίδα του αρχείου/ int id /τιμή του πεδίου-κλειδιού προς αναζήτηση/)

Contributors of the project :

About

Implementation of Heap, Hash Table, Secondary Hash Table, as a project in "Implementation of Database Systems" course.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •