Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document setting interactive_timeout and wait_timeout for MySQL CDC #3775

Closed
subodh1810 opened this issue Jun 1, 2021 · 3 comments
Closed
Labels
area/connectors Connector related issues cdc connectors/source/mysql team/db-dw-sources Backlog for Database and Data Warehouse Sources team

Comments

@subodh1810
Copy link
Contributor

subodh1810 commented Jun 1, 2021

We use debezium for MySQL CDC.

While we have not observed any instances of this but its mentioned in the debezium docs https://debezium.io/documentation/reference/1.4/connectors/mysql.html#mysql-session-timeouts

When an initial consistent snapshot is made for large databases, your established connection could timeout while the tables are being read. You can prevent this behavior by configuring interactive_timeout and wait_timeout in your MySQL configuration file.

┆Issue is synchronized with this Asana task by Unito

@sherifnada sherifnada added the area/connectors Connector related issues label Jun 2, 2021
@sherifnada sherifnada added the cdc label Sep 24, 2021
@grishick grishick changed the title MySQL CDC could timeout during snapshot for larger databases Document setting interactive_timeout and wait_timeout for MySQL CDC Jul 5, 2022
@grishick
Copy link
Contributor

grishick commented Jul 5, 2022

We have not seen this happen yet, but we should update the documentation to reflect this.

@tuliren tuliren assigned akashkulk and unassigned akashkulk Sep 13, 2022
@grishick grishick added the team/db-dw-sources Backlog for Database and Data Warehouse Sources team label Sep 27, 2022
@bleonard bleonard assigned akashkulk and rodireich and unassigned akashkulk Sep 28, 2022
@prateekmukhedkar
Copy link
Contributor

Defaults are:
interactive_timeout : 28800 seconds (8 hours)
wait_timeout : 28800 seconds (8 hours)

Reference: MySQL’s documentation

@subodh1810 for the initial sync with CDC what would we recommend to customers? Or are defaults OK?

@akashkulk
Copy link
Contributor

We no longer use debezium for initial snapshots, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues cdc connectors/source/mysql team/db-dw-sources Backlog for Database and Data Warehouse Sources team
Projects
None yet
Development

No branches or pull requests

7 participants