File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,50 @@ the :doc:`Extended JSON </reference/mongodb-extended-json>` reference.
41
41
The following sections describe special considerations for particular
42
42
BSON types.
43
43
44
+ .. _document-bson-type-binary-data:
45
+
46
+ Binary Data
47
+ -----------
48
+
49
+ A BSON binary ``binData`` value is a byte array. A ``binData`` value
50
+ has a subtype that indicates how to interpret the binary data. The
51
+ following table shows the subtypes.
52
+
53
+ .. list-table::
54
+ :header-rows: 1
55
+
56
+ * - Number
57
+ - Subtype
58
+
59
+ * - 0
60
+ - Generic binary subtype
61
+
62
+ * - 1
63
+ - Function data
64
+
65
+ * - 2
66
+ - Binary (old)
67
+
68
+ * - 3
69
+ - UUID (old)
70
+
71
+ * - 4
72
+ - UUID
73
+
74
+ * - 5
75
+ - MD5
76
+
77
+ * - 6
78
+ - Encrypted BSON value
79
+
80
+ * - 7
81
+ - Compressed time series data
82
+
83
+ .. versionadded:: 5.2
84
+
85
+ * - 128
86
+ - Custom data
87
+
44
88
.. _document-bson-type-object-id:
45
89
.. _objectid:
46
90
Original file line number Diff line number Diff line change @@ -88,6 +88,10 @@ Time Series Collection Data Compression
88
88
See :ref:`time series collection behavior
89
89
<timeseries-collections-behavior>`.
90
90
91
+ In addition, starting in MongoDB 5.2, the new :ref:`BSON binary data
92
+ <document-bson-type-binary-data>` subtype is used for compressed time
93
+ series data.
94
+
91
95
.. _5.2-rel-notes-repl-sets:
92
96
93
97
Replica Sets
You can’t perform that action at this time.
0 commit comments