Git Product home page Git Product logo

dimensional-data-modeling's Introduction

Dimensional Data Modeling

Introduction

The repository contains the SQL scripts for creating a dimensional model for the database BikeStores available at https://www.sqlservertutorial.net/sql-server-sample-database/.

The SQL scripts contained here are accompanying material for the article

Practical Introduction to Dimensional Data Design

published on medium.

How to Install

  1. Create a PostgreSQL database with the name bike_stores (or with a different name you choose).

  2. Download and unzip the file dimensional-data-modelling-main.zip.

  3. CD into directory with that file.

  4. Unzip the file bikeStores.zip

  5. Install the schema bike_stores

    • psql -f bikeStores/BikeStores/create_bike_stores_tables.sql -U postgres -d bike_stores

    • psql -f bikeStores/BikeStores/load_bike_stores_data.sql -U postgres -d bike_stores

  6. Install the schema dwh

    • psql -f dwh/create_dimensions.sql -U postgres -d bike_stores

    • psql -f dwh/create_facts.sql -U postgres -d bike_stores

dimensional-data-modeling's People

Contributors

nshcode 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.