waspdb icon indicating copy to clipboard operation
waspdb copied to clipboard

Unable to store large files

Open 0Franky opened this issue 5 years ago • 4 comments

I've I noticed that the maximum size of an object that can be stored inside the db is 70768 [NB: this size is acquired by the serialization of the object. It may not correspond to the actual size.]

0Franky avatar Jan 19 '20 19:01 0Franky

it's done for storing java objects, like models/pojo. I'd suggest something else for bigger content/files.

rehacktive avatar Jan 19 '20 22:01 rehacktive

Can the problem be solved by a serialization on the disk? One file (crypted) for each dataset or object? In this way the storage limit is only about space disk, and it can be has a direct access to the file/object.

0Franky avatar Apr 11 '20 12:04 0Franky

everything is serialized to disk. but again, each 'page' has a limit.

rehacktive avatar Apr 11 '20 12:04 rehacktive

Do we have actual numbers on how much data can be stored within a single hash? Im using plain pojos to store encrypted messages which can be huge and are nested within an array of users.

Hatzen avatar Sep 07 '20 21:09 Hatzen