Skip to content

push limit of strings to 2Gb - #314

Merged
krlmlr merged 3 commits into
r-dbi:masterfrom
shutinet:higest_limit_length_strings
Sep 28, 2020
Merged

krlmlr merged 3 commits into
r-dbi:masterfrom
shutinet:higest_limit_length_strings

Conversation

@shutinet

Copy link
Copy Markdown
Contributor

Increase maximum length of a string or BLOB

@krlmlr

krlmlr commented Feb 25, 2020

Copy link
Copy Markdown
Member

Thanks. I like the updated test. What's the use case for increasing the already fairly large limit?

From https://www.sqlite.org/limits.html:

In security-sensitive applications it is best not to try to increase the maximum string and blob length. In fact, you might do well to lower the maximum string and blob length to something more in the range of a few million if that is possible.

@shutinet

Copy link
Copy Markdown
Contributor Author

I increase the limit to store some really heavy data, this is just a suggestion. I use this with a R/Shiny application and the package "fst" to compress the blob object and it works pretty well.

@krlmlr
krlmlr merged commit 5ec611a into r-dbi:master Sep 28, 2020
@krlmlr

krlmlr commented Sep 28, 2020

Copy link
Copy Markdown
Member

Thanks!

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants