Giter Site home page Giter Site logo

elt's Introduction

Custom ELT Project

This repository contains a custom Extract, Load, Transform (ELT) project that utilizes Docker and PostgreSQL to demonstrate a simple ELT process. This project was created based on insights from the following tutorial video: Database engineering for beginners.

Repository Structure

  • docker-compose.yaml: Configuration for Docker Compose, orchestrating multiple Docker containers:

    • source_postgres: Source PostgreSQL database.
    • destination_postgres: Destination PostgreSQL database.
    • elt_script: Service that runs the ELT script.
  • elt_script/Dockerfile: Sets up a Python environment, installs the PostgreSQL client, and includes the ELT script as the default command.

  • elt_script/elt_script.py: Python script for the ELT process. It waits for the source PostgreSQL database to become available, then dumps its data to a SQL file and loads this data into the destination PostgreSQL database.

  • source_db_init/init.sql: SQL script initializing the source database with sample data. It creates tables for users, films, film categories, actors, and film actors, and inserts sample data into these tables.

Usage

  1. Clone this repository to your local machine.
  2. Make sure you have Docker installed.
  3. Navigate to the project directory.
  4. Run docker-compose up to start the ELT process.

Tutorial Video

For detailed guidance and insights into ELT processes, refer to the tutorial video: Tutorial Video.

elt's People

Contributors

anshpreetlayal avatar

Watchers

 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.