Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for PostgreSQL
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
    • General questions
    • Connection
    • Updating a cluster
    • Cluster configuration
    • Moving and restoring a cluster
    • Users and roles
    • High availability and load balancing
    • Monitoring and logs
    • Error messages
    • All questions on one page
  1. FAQ
  2. Monitoring and logs

Monitoring and logs in Managed Service for PostgreSQL

Written by
Yandex Cloud
Updated at December 25, 2025
  • Where can I track my disk space utilization to avoid exceeding the 95% limit triggering read-only mode?

  • Are logs stored on the same disk as PostgreSQL data? How are they billed?

  • How longs are logs retained?

  • What are WALs and what is their purpose?

  • What does the Cached metric indicate in the RAM monitoring of a PostgreSQL cluster host?

  • How do I get alerts on critical PostgreSQL cluster metrics?

  • How do I set up an alert that triggers when a certain percentage of disk space is used?

Where can I track my disk space utilization to avoid exceeding the 95% limit triggering read-only mode?Where can I track my disk space utilization to avoid exceeding the 95% limit triggering read-only mode?

You can monitor your disk space usage:

  • In the management console using the cluster health monitoring tools.
  • In Yandex Monitoring that also allows you to set up alerts for specified metrics.

Are logs stored on the same disk as PostgreSQL data? How are they billed?Are logs stored on the same disk as PostgreSQL data? How are they billed?

Logs are stored on separate disks from data and are rotated automatically. You can view log information using the following CLI command:

yc managed-postgresql cluster list-logs <cluster_ID>

Cluster log storage is free of charge.

What is the retention period for logs?What is the retention period for logs?

Cluster logs are stored for 30 days.

What are WALs and what is their purpose?What are WALs and what is their purpose?

Write-Ahead Logs are used for writing data to the disk and for data replication. WALs are created during write requests and occupy disk space until log data is fully written to host disks, which ensures DBMS reliability and fault tolerance.

For more details on how PostgreSQL works, refer to its official documentation.

What does Cached mean in the RAM monitoring of a PostgreSQL cluster host?What does Cached mean in the RAM monitoring of a PostgreSQL cluster host?

Cached stands for cached data. Most operations are performed in RAM where the entire database working set is stored. Since caching occurs both for databases and the disk itself, the amount of cached data can exceed the storage size.

If application RAM consumption increases, some of the memory used for cache can be freed up.

For more details on disk data caching in Linux, refer to the following guides.

How do I get alerts on critical PostgreSQL cluster metrics?How do I get alerts on critical PostgreSQL cluster metrics?

Use Yandex Monitoring and set up alerts for the metrics critical for you.

How do I set up an alert that triggers when a certain percentage of disk space is used?How do I set up an alert that triggers when a certain percentage of disk space is used?

Create an alert for the disk.used_bytes metric in Yandex Monitoring. This metric shows disk space utilization in the Managed Service for PostgreSQL cluster.

For disk.used_bytes, use the following recommended notification thresholds:

  • Alarm: 90% of disk space
  • Warning: 80% of disk space

Thresholds values must be specified in bytes. For example, the recommended values for a 100 GB disk are as follows:

  • Alarm: 96636764160 bytes (90%)
  • Warning: 85899345920 bytes (80%)

Was the article helpful?

Previous
High availability and load balancing
Next
Error messages
© 2025 Direct Cursus Technology L.L.C.