Code Monkey home page Code Monkey logo

mssql-dtw-tp's Introduction

Microsoft SQL Server Datawarehouse TP

This repository is an attempt to solve the series of assignments presented during an ensias's course about datawarehouses. However, I will be using docker which means it will be slightly harder to implement, but I think it's worth it because containers are much more flexible and portable than establishing a local database.

Answers

Atelier Location
Installation et Exploration des bases de données AdventureWorks2019 et AdventureWorksDW2019 Atelier 1
Mise en place d’un Datawarehouse Atelier 2
Loading Data and Using Data Compression and Indexes Atelier 3
Extraction de données à partir d’un fichier plat Atelier 4
Slowly Changing Dimensions Atelier 5
Analyse et édition de rapports des données OLAP Atelier 6
Création et Mise en œuvre d’un DTW pour l’analyse des données de vente sur internet Projet

How to setup the environment

1. Make sure you have Docker downloaded

2. Clone this repository

git clone https://github.com/Ignema/MSSQL-DTW-TP.git

3. Navigate inside the folder and then build the docker image by using the provided Dockerfile

docker build . -t <IMAGE-NAME> --build-arg SERVER=<SERVER-NAME> --build-arg MSSQL_SA_PASSWORD=<YOUR-PASSWORD>

For your server name, the default if left unspecified is localhost.

If unspecified, the default password will be myPassword30.

4. Run your SQL Server database container

docker run --name <CONTAINER-NAME> -p 1433:1433 -d <IMAGE-NAME>

If you don't specify a value for your container name then docker will generate a random name for you.

5. Restore the backup files in your container

Windows

scripts/windows/mount.bat <CONTAINER-NAME> <YOUR-PASSWORD>

Linux

source scripts/linux/mount.sh <CONTAINER-NAME> <YOUR-PASSWORD>

6. Download an IDE (Choose One)

7. Install these extenstions (For VScode only)

Tips

Generate Database SQL Scripts with Python

Install Python first

Windows

scripts/windows/schema.bat <SERVER-NAME> <DATABASE-NAME> <USER-NAME> <YOUR-PASSWORD>

Linux

source scripts/linux/schma.sh <SERVER-NAME> <DATABASE-NAME> <USER-NAME> <YOUR-PASSWORD>

mssql-dtw-tp's People

Contributors

ignema avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

othy1010 nizalk

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.