Skip to content

Repository files navigation

Request optimization in the relational model

Computer science project to present to the French top schools entrance competitive exams.

This project aims to create a toy database software where request are optimized. This software is not focused on the storing of the data. The main inspiration comes from SQLite.

Functionalities:

  • SELECT statement Features :

    • Attribute projection : Example: SELECT name, adres FROM Cinemas
    • WHERE clause. Example: SELECT adress FROM Cinemas WHERE name='Le Champo'
    • Cartesian product: Example: SELECT * FROM Cinema,Projection WHERE Cinema.name=Projection.cinema
    • JOIN clause: Example: SELECT addres, time FROM Cinema JOIN Projection WHERE title='Voyage à Tokyo' Optimizations:
    • Projections pushing
    • Merge sort of JOINs
    • Indexes
  • INSERT INTO statement

  • UPDATE statement

Usage:

make build
./main --repl

Sources:

About

Academic project. Created a database toy software to implement request optimization in the relational model (SQL).

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages