
PostgreSQL Trigger Automation
In this lab, you will learn how to automate tasks in PostgreSQL using triggers. Create a trigger function using PL/pgSQL to log salary changes in an `employees` table to a `salary_changes` table. You'll write the function, bind it to a table event, test it, and disable/drop it.
PostgreSQL

PostgreSQL Views Management
In this lab, you will explore PostgreSQL Views Management. The primary goal is to understand and implement different types of views, including simple views and materialized views. You'll learn to define, query, modify, create, populate, and refresh views.
PostgreSQL

PostgreSQL Table Partitioning
In this lab, you will learn how to implement table partitioning in PostgreSQL. The goal is to divide a large table into smaller, more manageable pieces to improve query performance and simplify data management. You will set up a range-partitioned table, define partitions by date ranges, insert data, and query across partitions.
PostgreSQL

PostgreSQL Streaming Replication
In this lab, you will learn how to configure PostgreSQL streaming replication, a mechanism for continuously shipping and applying WAL records from a primary server to a replica server. The lab guides you through configuring a replica, checking replication lag, querying data, and safely shutting down replication.
PostgreSQL

PostgreSQL PostGIS Extension
In this lab, you will learn how to install and use the PostGIS extension in a PostgreSQL database. PostGIS enables PostgreSQL to store and query spatial data. You'll create a database, install PostGIS, verify the installation, create and query spatial data, test functionality, and remove the extension.
PostgreSQL

PostgreSQL Stored Function Development
In this lab, you will learn how to develop PostgreSQL stored functions. The lab guides you through the process of defining a basic stored function, adding input parameters, and executing it within a query. You will also learn how to remove an unused function.
PostgreSQL

PostgreSQL Table Creation and Data Types
In this lab, we will explore PostgreSQL table creation and data types. We'll connect to PostgreSQL using `psql`, create tables with primary keys, and add constraints like `NOT NULL` and `UNIQUE`. We will then inspect the table structure and insert data to demonstrate data types.
PostgreSQL

PostgreSQL Relationships and Joins
In this lab, you will explore PostgreSQL relationships and joins. You'll create tables with foreign key constraints, insert data ensuring referential integrity, query data using INNER JOIN, and compare LEFT, RIGHT, and FULL OUTER JOIN results to understand data relationships.
PostgreSQL

PostgreSQL Transaction Management
In this lab, you will explore PostgreSQL transaction management, a crucial aspect of ensuring data integrity. You'll learn to begin and commit transactions, roll back failed transactions, set isolation levels, and simulate locks with concurrent updates. Practice with accounts table and fund transfers.
PostgreSQL

PostgreSQL Role and Permission Management
In this lab, you will explore PostgreSQL role and permission management. The primary goal is to learn how to create roles with specific attributes and manage database privileges. You'll grant privileges, switch users, and revoke access.
PostgreSQL

PostgreSQL Full-Text Search
In this lab, you will learn how to implement full-text search in PostgreSQL using `TSVECTOR`. You'll create a `TSVECTOR` index on an `articles` table, update the `search_vector` column, and set up a trigger to automatically update the `search_vector` column.
PostgreSQL

PostgreSQL JSON/JSONB Advanced Operations
In this lab, we will explore advanced operations on PostgreSQL JSON/JSONB data types. The lab focuses on enhancing query performance and data manipulation within JSONB columns. Learn to index JSONB fields, query nested structures, update elements, and aggregate JSON data.
PostgreSQL

PostgreSQL Index Optimization
PostgreSQL

PostgreSQL Date and Time Operations
In this lab, you will explore PostgreSQL's date and time operations, focusing on handling time zones and performing calculations. You'll insert timestamps with time zone information, use EXTRACT and INTERVAL functions, query data across time zones, and compute time differences.
PostgreSQL

PostgreSQL Backup and Restore
In this lab, you will learn how to back up and restore PostgreSQL databases. The lab covers essential techniques for safeguarding your data, including exporting a database using `pg_dump`, restoring a database using `pg_restore`, and backing up specific tables.
PostgreSQL

PostgreSQL PgBouncer Connection Pooling
In this lab, you will learn how to configure and use PgBouncer for connection pooling with PostgreSQL. You'll configure PgBouncer, connect through it, simulate multiple client connections, and monitor pooling performance. Improve database performance with efficient connection management.
PostgreSQL

PostgreSQL Event Trigger Setup
In this lab, you will learn how to set up a PostgreSQL event trigger. The goal is to create a function that logs database events, specifically table creation, to a dedicated log table. The lab guides you through creating an event trigger function, setting up a DDL event trigger, testing the trigger, and dropping it.
PostgreSQL

PostgreSQL Error Handling
In this lab, you will explore error handling techniques in PostgreSQL using PL/pgSQL. The lab focuses on raising notices within functions, catching exceptions, logging errors to a table, and testing error handling logic.
PostgreSQL