Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Datastream latency issue

We are facing 80 seconds of latency in Datastream Mysql to Bigquery.

Reducing the binlog size configuration will  help if transactions are too big since binlog files are still very big. So this  workaround provided will only work for smaller transactions since smaller binlogs means Datastream can scale and read different files concurrently to support higher loads.

Is there any other workaround reduce the latency?

0 1 100
1 REPLY 1

Hi @NishinThattil,

Possible causes for high latency in Datastream include:

Here are a few troubleshooting steps you can try out:

As a workaround, you can also consider recreating the stream using our Datastream to BigQuery template to check if the high latency persists.

If these steps didn’t resolve the issue, feel free to ask a question on the Datastream Stack Overflow or open a ticket on the Datastream issue tracker. Include steps to replicate, configuration settings, screenshots, and other details of the issue to help us investigate. While there isn’t a specific timeframe for resolution, once we've fixed an issue in production we'll indicate this and then update and close the bug.

I hope this helps!