A practice ground for OLAP principles using PostgreSQL. This project helps learners write and experiment with complex SELECT
queries and explore analytical SQL capabilities.
- This repository is designed for learners who want hands-on experience with OLAP queries in a real database setup.
- You can easily add your own scripts and run them inside a containerized PostgreSQL environment.
git clone https://github.com/techatpark/rdbms-olap-practice.git
cd rdbms-olap-practice
Place your .sql
files inside the init/
directory.
These scripts will be automatically executed when the PostgreSQL container starts for the first time.
Example:
init/
├── sample_queries.sql
├── my_practice_1.sql
└── my_practice_2.sql
docker-compose up -d
Access Superset at: http://localhost:8088 with credentials admin / admin
- Go to
Settings > Database Connections
. - Add Database
- Select Postgress with below values
- Host:
postgres
- Port:
5432
- Database name:
superset_db
- Username:
superset_user
- Password:
superset_pass
- Click
Connect
- Click
Finish
- Host: