Relational databases
A course in intermediate databases and postgresql
Relational databases - SQL and postgresql
Day 1: why databases, why postgresql, install
Day 2: postgresql configuration files, load a dataset, basic queries recap,
Day 3: SQL, Query basics, ACID, practice in IMDB and trees
Day 4: ERD, OLAP vs OLTP, Normalization, Anomalies, normal forms,
Day 5: windows functions and CTEs
Day 6: Query performance, planner, relation set theory
Day 7: indexes, query optimizer, EXPLAIN, scan algorithms, energy database
- Database Indexes Introduction
- Bitmap Heap and Index Scans
- Energy Production Database
- Database Indexes Implementation
- Database Scan Algorithms Quiz
- Indexing Practice Lab
Day 8: views, PL/pgSQL, functions, triggers, stored procedures
- Views and Functions Introduction
- PostgreSQL Views
- Views Exercise
- Views Exercise Solutions
- SQL Functions COALESCE and Strings
- SQL Functions Solutions
- PL/pgSQL Functions
- SHA256 Functions Worksheet
Day 9: function design, PL/pgSQL, BAN API, HTTP extension
Day 10: transactions, ACID, triggers, authentication, roles
- Outstanding Database Topics
- Database Triggers and Procedures
- PostgreSQL Authentication
- PostgreSQL Roles Management
Day 11: catch up
- cloud & bigquery ?
Day 12: course review, ADEME database, comprehensive practice