Training - PostGRE Queries & Tuning
Training - PostGRE Queries & Tuning
Day 1: 4 Hours
● Discuss the basic design, theoretical, and physical aspects of a relational database
● Categorize the different types of SQL statements
● Describe the data set used by the course
● Log on to the database using SQL Developer environment
● Save queries to files and use script files in SQL Developer
● Database Basics:
○ Architectural Fundamentals (Logical and Physical layout)
○ Physical Architectural
○ Logical Architectural
○ Starting, stopping and finding status of postmaster
○ Exploring utilities in Postgresql (process and server / postmaster)
○ Working with above said process related utilities
● Database , users and schema introduction
Day 2: 4 Hours
Day 3: 4 Hours
● Using aggregate functions or one row functions for aggregation of data (Group Functions)
● Use the aggregation functions to produce meaningful reports
● Divide the retrieved data in groups by using the GROUP BY clause
● Exclude groups of data by using the HAVING clause
● Difference between Where clause & Group By
● Sequence of execution
Day 4: 4 Hours
Day 5: 4 Hours
Day 6: 4 Hours
Day 7: 4 Hours
Day 8: 4 Hours
● Top N Analysis
● Ranking Rows & Pseudocolumn
● Understanding Lead & Lag of window functions in postgreSQL
● Hierarchical Queries
● Natural Tree Structure
● Walking the Tree
● Pruning Branches
● Joins vs subqueries
● Performance impact of using group by, joins or subqueries
● Practice based on grouping, joins
Day 9: 4 Hours