How to save binary files into MongoDB using java driver?

MongoDB GridFS is a specification for storing large files. (16 MB or more) All MongoDB drivers support GridFS. GridFS split the file into many chunks and store each chunk in each document. GridFS stores documents in two collections. Chunk Collection. File Collection. The first collection stores the binary chunk and the second collection store the […]
Continue reading…