GithubHelp home page GithubHelp logo

ds-sql's Introduction

SQL Parser -- Classify into six type

a. Update b. Insert c. Delete d. Create e. Select f. Use

How are tables stored and created?

One main class called Database

Will have a list of all table classes

Table class

a. Each datatype will be a class (Number, Date, Varchar etc.) b. Each data value will be an instance of the above c. Will hold one primary key attribute d. (Optional) Foreign keys

When a create command is executed, we will create a new class which inherits the Table class

Database object is created when the program is launched, tables of a specific database are loaded into the object when use is used. OR When Boost::Serialization to store the object of a specific database directly.

How are tables interacted with?

a. When a select, insert, update, delete command is issue we will look for the table in Database object b. When a table is found, we transfer it to main memory using a TableExtractor class c. We will send the table to a specific Processor module d. Any changes to the database tables (Pending)

Physical level

a. Use the created table classes to get the database memory scheme b. Use pagers and cursors to traverse the database c. Use a B-tree for efficient hardware storage

ds-sql's People

Contributors

squadrick avatar vdasu avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.