Skip to content

This is a library to store database-like tuples in a row-oriented block store. It provides page-level API functions to access and store tuples on the page.

Notifications You must be signed in to change notification settings

RohanVDvivedi/TupleStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TupleStore

This library provides you with a very simple

  • row oriented - slotted page & fixed array page storage models,
  • for fixed or variable length predefined tuples,
  • to be stored on fixed sized pages for block storage systems.

Started as a project to be used for managing page layout in a database storage engine.

To reiterate : This project is not a database, embedded database, database storage engine or any of that. It only provides primitive utility functions/structures to systematically organize your data in tuples of predefined datatypes in a specific (slotted page or fixed array page) model for a block storage memory consisting of pages of predefined fixed size.

Setup instructions

Install dependencies :

Download source code :

  • git clone https://github.com/RohanVDvivedi/TupleStore.git

Build from source :

  • cd TupleStore
  • make clean all

Install from the build :

  • sudo make install
  • Once you have installed from source, you may discard the build by make clean

Using The library

  • add -ltuplestore -lcutlery linker flag, while compiling your application
  • do not forget to include appropriate public api headers as and when needed. this includes
    • #include<tuple_def.h>
    • #include<tuple.h>
    • #include<page_layout.h>

Instructions for uninstalling library

Uninstall :

  • cd TupleStore
  • sudo make uninstall

About

This is a library to store database-like tuples in a row-oriented block store. It provides page-level API functions to access and store tuples on the page.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages