- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Core Tech

PostgreSQL Performance & Security
Master PostgreSQL performance tuning and security hardening by diagnosing real database bottlenecks in the CarvedRock database. You'll use EXPLAIN ANALYZE to identify missing indexes, optimize memory parameters, configure slow query logging, and implement security measures including access controls and permission management. Through hands-on maintenance tasks like VACUUM FULL and REINDEX operations, you'll achieve measurable performance improvements while securing the database environment.

Lab Info
Table of Contents
-
Challenge
Diagnose Performance and Security Issues
You will use PostgreSQL's built-in analysis tools to identify why queries are performing poorly. You will then optimize critical memory parameters and implement security measures including network access restrictions and secure password management. By the end of this objective, you will have diagnosed the root causes of performance issues and begun implementing a security hardening plan.
-
Challenge
Implement Security and Perform Maintenance
You will revoke unnecessary PUBLIC permissions to enforce security best practices, then address database bloat that is consuming excessive disk space. You will use VACUUM FULL to reclaim space and reindex tables to improve query performance. Throughout the process, you will use PostgreSQL's monitoring tools to measure the impact of your maintenance activities.
-
Challenge
The Last Objective
Welcome to the final objective! This is your last chance to experiment in the environment.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.