CodeGym
AI Academy
Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme

Lessons

  • Reviews
  • About us
Start
Start learning
Start learning now
  • My Progress
  • Courses
  • University
  • Quest Map
  • Lessons
  • Intro to Database Monitoring

    SQL SELF
    Level 45, Lesson 0
    Database monitoring is the key to keeping your services stable and predictable. In this material, you'll find out why you should keep an eye on your database's health, which metrics matter for PostgreSQL, and how to use simple queries to get the info you need to prevent issues before they blow up.
    Available
  • Main Monitoring Commands in PostgreSQL — pg_stat_activity and pg_stat_user_tables

    SQL SELF
    Level 45, Lesson 1
    Learn how to use the system views pg_stat_activity and pg_stat_user_tables for effective monitoring and performance analysis of your PostgreSQL database. Real-life query examples and optimization tips included.
    Available
  • Real-Time Tracking of Active Transactions with pg_stat_activity

    SQL SELF
    Level 45, Lesson 2
    Learn how to use the pg_stat_activity view effectively for monitoring, finding, and killing long-running or problematic transactions in PostgreSQL. Practical query examples, tips for filtering and automation, plus a breakdown of common monitoring mistakes.
    Available
  • Query Logging

    SQL SELF
    Level 45, Lesson 3
    Learn how to properly set up logging in PostgreSQL: which parameters control query logging, how to spot slow operations, analyze logs, and boost your database performance. Real-world examples and tips for effective auditing and troubleshooting.
    Available
  • Analyzing Slow Queries with pg_stat_statements

    SQL SELF
    Level 45, Lesson 4
    Learn how to use the pg_stat_statements extension in PostgreSQL to find and optimize slow and frequently executed SQL queries. Real-life examples, indexing tips, and performance analysis tricks.
    Available
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
  • Affiliate Program
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning, and a Java developer’s career.
Follow us
Interface language
English
Deutsch Español हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語 한국어 Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
Programmers Are Made, Not Born © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym