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 Data Streams
    • All tutorials
    • Ingesting data into storage systems
    • Smart log processing
    • Data transfer in microservice architectures
    • Storing data in ClickHouse®
    • Log replication to Object Storage via Fluent Bit
    • Log replication to Object Storage via Data Streams
    • Data migration to Yandex Object Storage using Yandex Data Transfer
    • Data delivery from Yandex Managed Service for Apache Kafka® using Yandex Data Transfer
    • Data delivery from an Data Streams queue to Managed Service for YDB
    • Delivering data to Yandex Managed Service for Apache Kafka® using Yandex Data Transfer
    • Change data capture (CDC) from YDB and delivery to YDS
    • Change data capture (CDC) from PostgreSQL and delivery to YDS
    • Change data capture (CDC) from MySQL® and delivery to YDS
    • Streaming Yandex Cloud Postbox events to Yandex Data Streams and analyzing them with Yandex DataLens
    • Building an interactive serverless application using WebSocket
    • Processing Audit Trails events
    • Debezium Change Data Capture (CDC) stream processing
    • Importing audit logs to MaxPatrol SIEM
    • Searching for Yandex Cloud events in Yandex Query
    • Yandex Cloud Postbox integration with external systems via webhooks
    • Troubleshooting slow writes in Yandex Data Streams
  • Access management
  • Pricing policy
  • FAQ

In this article:

  • Partition write limit
  • Diagnostics
  • Resolution
  • Limit on storage space used in the YDB database
  • Diagnostics
  • Resolution
  1. Tutorials
  2. Troubleshooting slow writes in Yandex Data Streams

Troubleshooting slow writes in Yandex Data Streams

Written by
Yandex Cloud
Updated at December 29, 2025
  • Partition write limit
    • Diagnostics
    • Resolution
  • Limit on storage space used in the YDB database
    • Diagnostics
    • Resolution

If you notice a decrease in write speed in Yandex Data Streams, the most common cause is reaching the write limit.

There are two main limits that can slow down writes:

  • Maximum write speed per partition; the default is 1 MB/sec.
  • Maximum storage space used per topic; depends on YDB database limits.

Partition write limitPartition write limit

DiagnosticsDiagnostics

Management console
  1. In the management console, select the folder where you want to change the stream settings.
  2. Select Data Streams.
  3. Select the data stream for which you want to check quota usage.
  4. Go to the Monitoring tab.
  5. Select the Quota Usage tab.
  6. Examine the first chart named Partition write quota usage max.

If the chart shows that the write quota usage is approaching 100%, this must be what limits your data stream: the system intentionally slows writes down to stay within the allowed maximum.

ResolutionResolution

You cannot increase the write limit for one partition. If you have reached this limit, you can increase the number of partitions in the topic. As a result, data will be written concurrently to multiple partitions, thereby increasing overall throughput.

To increase the number of partitions, edit the data stream settings according to this guide.

Limit on storage space used in the YDB databaseLimit on storage space used in the YDB database

DiagnosticsDiagnostics

Management console
  1. In the management console, select the folder where you want to change the stream settings.
  2. Select Data Streams.
  3. Select the data stream for which you want to check quota usage.
  4. Go to the Monitoring tab.
  5. Select the Quota Usage tab.
  6. Examine the second chart named Storage usage.

If the chart shows that the storage space is close to 100% full, write requests most likely fail due to lack of storage space.

ResolutionResolution

To free up space and re-enable writes, do one of the following:

  • Manually delete the data you no longer need from the YDB database.
  • Reduce the message retention period for your data stream. This will automatically delete old data.
  • Increase the storage size limit in YDB to expand the space available for writes. Follow these steps:
    1. In the management console, select the folder where you want to change the stream settings.
    2. Select Data Streams.
    3. Select the data stream you want to increase the database storage limit for.
    4. Navigate to the data stream's Overview page.
    5. Under Access, click the link in the Database field.
    6. Increase the storage limit according to this guide.

Was the article helpful?

Previous
Yandex Cloud Postbox integration with external systems via webhooks
Next
Access management
© 2025 Direct Cursus Technology L.L.C.