Your application might require the storage of binary data in the database. For that you can choose to store this binary data in a field as part of a document in your database. In this case, the data will be stored and loaded with the document; this can work fine with a small binary data chunk. Large binary data is not recommended because it can increase the document size significantly. This is a result of increased I/O from disk and over the network.
The alternative is to use RavenDB attachments, which allows storage of large chunks of binary data such as video, audio, and images. Attachments are basically BLOBs (binary large object is a data type that can store binary data).
Note
If binary data is stored as part of a document, RavenDB will store this binary data base64-encoded in the document.
Storing attachments in RavenDB may not be the best choice for binary data. A better choice might be to store those data in a cloud environment or on dedicated servers.
Attachments...