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

No return result or connection read timeout error #157

Open
eikmei opened this issue Jun 20, 2023 · 0 comments
Open

No return result or connection read timeout error #157

eikmei opened this issue Jun 20, 2023 · 0 comments

Comments

@eikmei
Copy link

eikmei commented Jun 20, 2023

Task requirement: to sync mySQL table into PostgreSQL table for every 6 hours in daily
Issue: Show connection read timeout error every time

Solutions that have applied:

  1. Suspect the mySQL table is large in size (~805MB), so added index. After added index, first run it succeed (took about 25mins to finish the sync) but after that all failed (either no result return for hours or connection timeout error show)
  2. Set config of idleTimeout to 0, timeout to 0 and poolSize to 15 in Client.connect(), 1 day succeed once the most. Others sync will be show no result return even run for hours (it seems stuck in the middle of process and stopped at different rows every time).
  3. Upgrade mySQL library from 2.10.2 to 2.10.3 and repeat step 1 and 2, but same result (no result for hours / connection read timeout error)

image

Note: Syncing 3 tables from mySQL to Postgres but only 1 table failed. The other 2 tables size in few kbs.

Deno: v1.29.4
Nessie: v2.0.10
mySQL: v2.10.3

@eikmei eikmei changed the title No return result or connection timeout error No return result or connection read timeout error Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant