DEV Community

Discussion on: How to run a long lasting query without interruption?

Collapse
 
paintedsky_ca profile image
PaintedSky • Edited

Fairly simplistic solution, but would it be possible to break the query up into X amount of rows at a time? Say, run a query for the first 100,000 rows (or however many you can manage before the connection drops), then run it again offset by the first amount, and so on?