Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DiegoFreitasH/SNK-DB

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNK Database

Gitpod Ready-to-Code Run on Repl.it

A simple file engine to study techniques to develop database management systems. Project Activities

Download

Clone the project or download directly (zip file)

git clone https://github.com/ggustavo/SNK-DB.git

Note: Strongly recommend run on gitpod or repl.it platform

Use GCC to compile

cd SNK-DB
gcc src/tests/test_buffer_requests.c -o database -Wall -Wextra

Note: Use -Wall and -Wextra to show warnings

Running

./database

General Extra Options

Option Action Example
-DBLOCK_SIZE Sets block size gcc (...) -DBLOCK_SIZE=8192
-DBUFFER_SIZE Sets buffer size gcc (...) -DBUFFER_SIZE=100000

Note: Use db_config.h. If you don't want to use these options

Buffer Replacement Policies Extra Options

Name Action Example
-DLRU Uses Least Recently Used (LRU) gcc (...) -DLRU
-DMRU Uses Most Recently Used (MRU) gcc (...) -DMRU
-DFIFO Uses First In, First Out (FIFO) gcc (...) -DFIFO
-DARC Uses Adaptive Replacement Cache (ARC) (in test phase) gcc (...) -DARC

Note: Use db_kernel.h. If you don't want to use these options

About

A simple file engine to study techniques to develop database management systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 81.7%
  • C++ 11.9%
  • Objective-C 6.4%