@@ -23,26 +23,35 @@ Overview
23
23
--------
24
24
25
25
In this guide, you can learn how to store and retrieve large files in
26
- MongoDB using **GridFS**. GridFS is a specification implemented by the
27
- driver that describes how to split files into chunks when storing them
26
+ MongoDB by using **GridFS**. GridFS is a specification implemented by the
27
+ {+ driver-short+} that describes how to split files into chunks when storing them
28
28
and reassemble them when retrieving them. The driver implementation of
29
29
GridFS is an abstraction that manages the operations and organization of
30
- the file storage.
30
+ the file storage in your Java application.
31
31
32
- You should use GridFS if the size of your files exceed the BSON document
33
- size limit of 16MB. For more detailed information on whether GridFS is
34
- suitable for your use case, see the :manual:`GridFS server manual page </core/gridfs>`.
32
+ Use GridFS if the size of your files exceed the BSON document
33
+ size limit of 16MB. To learn more about whether GridFS is
34
+ suitable for your use case, see the :manual:`GridFS </core/gridfs>`
35
+ reference in the {+mdb-server+} manual.
35
36
36
- See the following sections that describe GridFS operations and how to
37
- perform them :
37
+ The following sections describe GridFS operations and demonstrate how to
38
+ perform these actions with the driver :
38
39
39
- - :ref:`Create a GridFS bucket <gridfs-create-bucket>`
40
- - :ref:`Store Files <gridfs-store-files>`
41
- - :ref:`Retrieve File Information <gridfs-retrieve-file-info>`
42
- - :ref:`Download Files <gridfs-download-files>`
43
- - :ref:`Rename Files <gridfs-rename-files>`
44
- - :ref:`Delete Files <gridfs-delete-files>`
45
- - :ref:`Delete a GridFS bucket <gridfs-delete-bucket>`
40
+ - :ref:`gridfs-create-bucket`
41
+ - :ref:`gridfs-store-files`
42
+ - :ref:`gridfs-retrieve-file-info`
43
+ - :ref:`gridfs-download-files`
44
+ - :ref:`gridfs-rename-files`
45
+ - :ref:`gridfs-delete-files`
46
+ - :ref:`gridfs-delete-bucket`
47
+
48
+ .. tip:: Timeout Setting
49
+
50
+ You can use the client-side operation timeout (CSOT) setting to limit
51
+ the amount of time in which the server can finish GridFS operations.
52
+ To learn more about using this setting with GridFS, see the
53
+ :ref:`java-csot-gridfs` section of the Limit Server Execution Time
54
+ guide.
46
55
47
56
How GridFS Works
48
57
----------------
@@ -420,11 +429,10 @@ For more information about this method, see the
420
429
`drop() <{+api+}/apidocs/mongodb-driver-sync/com/mongodb/client/gridfs/GridFSBucket.html#drop()>`__
421
430
API Documentation.
422
431
423
- Additional Resources
424
- --------------------
432
+ Additional Information
433
+ ----------------------
425
434
426
435
- `MongoDB GridFS specification <https://github.com/mongodb/specifications/blob/master/source/gridfs/gridfs-spec.rst>`__
427
- - Runnable example
428
- `GridFSTour.java <https://github.com/mongodb/mongo-java-driver/blob/master/driver-sync/src/examples/gridfs/GridFSTour.java>`__
429
- from the MongoDB Java Driver repository.
430
-
436
+ - Runnable file `GridFSTour.java
437
+ <https://github.com/mongodb/mongo-java-driver/blob/master/driver-sync/src/examples/gridfs/GridFSTour.java>`__
438
+ from the driver source repository
0 commit comments