Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Limits on payload size prevents taking db exports #637

Open
avinassh opened this issue Aug 30, 2023 · 2 comments
Open

Limits on payload size prevents taking db exports #637

avinassh opened this issue Aug 30, 2023 · 2 comments

Comments

@avinassh
Copy link
Member

A user in discord was not able to take export:

turso db shell mighty-night .dump > my_db.sql
Error: failed to execute SQL: SELECT * FROM 'users'
Response is too large

discord - https://discord.com/channels/933071162680958986/1146289112970707014

I believe it's due to the limits we have set on the payload size. I think we should add a better mechanism to take exports

@CodingDoug
Copy link
Contributor

The .dump command implemented in libsql-shell-go could internally paginate results from the queries it issues.

@MarinPostma
Copy link
Collaborator

We should expose an endpoint for dumps that streams the dump instead. The .dump mega command should call that endpoint

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants