Git Product home page Git Product logo

vgdb's Introduction

vgdb

Code style: black lint_test_build codecov

A relational database management system (RDBMS) in Python.

demo

Inspiration

Instructions

You should not actually use this, you should use sqlite instead! But if you want to try it,

  • make sure poetry and Python >= 3.7 is installed.
  • Run poetry install to install
  • Run poetry run vgdb to launch a command line REPL (or poetry shell and then vgdb)
  • Run poetry run vgdb-bench to run a benchmark of INSERT and SELECT performance compared to sqlite (warning: vgdb is crushed)

Project Outline

  • REPL

  • Storage: Some storage scheme. Stores each table in a separate file.

  • Redundancy: Persist on write.

  • Data Types: TEXT and INT for now.

  • Schemas Compulsory singular primary keys, unique and foreign key constraints, indexes.

  • Transactions

  • Query Engine: Query execution engine.

  • Query Language: Support for SQL statements:

    • CREATE TABLE with TEXT and INT, no index
    • INSERT
    • SELECT with WHERE, ORDER BY and LIMIT (with OFFSET)
  • Query Parser: Hand-written lexer and parser.

vgdb's People

Contributors

vegarsti avatar

Watchers

 avatar  avatar

vgdb's Issues

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.