0

As rethinkdb suggest to keep the document size 16MB max for the performance reason. In my nodejs rest api app user can insert data using api. I cannot control how much data would be for an user. each user has individual document in a users table. based on rethinkdb advise trying to put a limit on the document max 16MB. so that any user document cannot grow beyond that limit.

Community
  • 1
  • 1
Know Nothing
  • 1,121
  • 2
  • 10
  • 21

1 Answers1

1

There's no way to enforce limits on document size inside of RethinkDB right now. You'd have to add code to whatever is serving the REST endpoint to do that check.

mlucy
  • 5,249
  • 1
  • 17
  • 21