3

I found in documentation that RethinkDB can store Binary Files (BLOBs).

This is great !

I have an ECM application and need to store 50.000.000 of files. ( from 8K until 1GB ).

I need to know what is the max file size in RethinkDB ? Will be some problem with performance ? How RethinkDB will store these files on disk ? Is there any overhead or memory issues ?

Any Help is Appreciate.

Carlos
  • 51
  • 1
  • 1
  • I wouldn't store the files in the DB but on a distributed FS like AFS, GFS, HDFS and just store its path in the DB. As long as ONLY your code handles the save, update and delete of the files, it's the best IMO. I always found dirty to store files in a DB. – DevLounge Mar 26 '16 at 21:46

2 Answers2

2

You can get around the 64Mb limit by using libraries like ReGrid

ReGrid is a method of storing large files inside a RethinkDB database.

It's similar to GridFS but designed for RethinkDB.

InternalFX
  • 1,475
  • 12
  • 14
  • I just found that the [C# RethinkDB driver](https://github.com/bchavez/RethinkDb.Driver/wiki/ReGrid-File-Storage) has built in support for ReGrid! And it seems very well documented too. – Spiralis Jun 12 '17 at 09:39
1

According to http://www.rethinkdb.com/limitations/

  • While there is no hard limit on the size of a single document, there is a recommended limit of 16MB for memory performance reasons.
  • The maximum size of a JSON query is 64M.
Etienne Laurin
  • 6,731
  • 2
  • 27
  • 31