Git Product home page Git Product logo

biguniversityrdb's Introduction

BigUniversityRDB

The BigUniversityRDB repository contains SQL DDL, DML, and supporting documentation for the University Database Schema presented by Silberschatz et al in Database System Concepts (6th edition) McGraw Hill, 2010.

To understand the scope and semantics of these scripts, make sure to first see the contents of the SmallUniversityRDB Github repository.

Important: the schema for the large database is identical to that of the small database, except that the small database tables have an appended "_s" for all table names

Contents

  • LargeRDBTableSizes.png: describes the size of the database tables
  • README.md: this file
  • largeDDLAndDrop.sql: DDL for deleting and creating the schema
  • largeRelationsInsertFile.sql: the population script

Database Tables

Per the authors: "The file largeRelationsInsertFile.sql contains SQL insert statements for larger, randomly created relations for a truly strange university (since course titles and department names are chosen randomly)."

The size of the "large' database tables are shown below.

Sizes of the "Large" database tables

Script Execution

The authors claim that these scripts should run for "most databases other than MySQL". I have tried them only for PostgreSQL 11, but see no reason why they can't run successfully on "most other databases".

With Postgres, you can invoke a script thusly:

psql -f file.sql

biguniversityrdb's People

Contributors

avrahamleff avatar drleff 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.