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