You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/src/api_manual/oracledb.rst
+64
Original file line number
Diff line number
Diff line change
@@ -2160,6 +2160,38 @@ Oracledb Methods
2160
2160
This optional property overrides the :attr:`oracledb.machine` property.
2161
2161
2162
2162
.. versionadded:: 6.7
2163
+
* - ``networkCompression``
2164
+
- Boolean
2165
+
- Thin
2166
+
- .. _createpoolpoolattrsnetworkcompression:
2167
+
2168
+
Indicates if network data compression needs to be enabled or disabled for a database connection. Enabling data compression reduces the size of the Oracle Net Session Data Unit (SDU) that is to be sent over a connection.
2169
+
2170
+
The default value is *false*.
2171
+
2172
+
For node-oracledb Thick mode, network compression is enabled by setting the `compression parameters <https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-F7B17046-3F25-4AE8-A325-39B9DFF506E9>`__ in connect strings (:ref:`Easy Connect string <easyconnect>` or a :ref:`Connect Descriptor string <embedtns>`). Alternatively, you can enable network compression by setting the `SQLNET.COMPRESSION <https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-61CE4FA9-3ABB-4E9B-B788-FB57E6B56F47>`__ parameter in the :ref:`sqlnet.ora <tnsadmin>` network configuration file.
2173
+
2174
+
See :ref:`networkcompression` for more information.
2175
+
2176
+
.. versionadded:: 6.8
2177
+
* - ``networkCompressionThreshold``
2178
+
- Number
2179
+
- Thin
2180
+
- .. _createpoolpoolattrscompressionthreshold:
2181
+
2182
+
The minimum data size, in bytes, for which compression should be performed on the Oracle Net Session Data Unit (SDU).
2183
+
2184
+
The default value is *1024* bytes.
2185
+
2186
+
The minimum data size is *200* bytes.
2187
+
2188
+
If this property is set to any value below *200*, then the default value of *1024* bytes is taken as the networkCompressionThreshold value.
2189
+
2190
+
For node-oracledb Thick mode, network compression threshold can be set by using the `SQLNET.COMPRESSION_THRESHOLD <https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-8CB3FC39-0775-441C-9205-39288B9200FD>`__ parameter in the :ref:`sqlnet.ora <tnsadmin>` network configuration file.
2191
+
2192
+
See :ref:`networkcompression` for more information.
2193
+
2194
+
.. versionadded:: 6.8
2163
2195
* - ``osUser``
2164
2196
- String
2165
2197
- Thin
@@ -2931,6 +2963,38 @@ Oracledb Methods
2931
2963
See :ref:`Connection Tagging and Session State <connpooltagging>`.
2932
2964
2933
2965
.. versionadded:: 3.1
2966
+
* - ``networkCompression``
2967
+
- Boolean
2968
+
- Thin
2969
+
- .. _getconnectiondbattrsnetworkcompression:
2970
+
2971
+
Indicates if network data compression needs to be enabled or disabled for a database connection. Enabling data compression reduces the size of the Oracle Net Session Data Unit (SDU) that is to be sent over a connection.
2972
+
2973
+
The default value is *false*.
2974
+
2975
+
For node-oracledb Thick mode, network compression is enabled by setting the `compression parameters <https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-F7B17046-3F25-4AE8-A325-39B9DFF506E9>`__ in connect strings (:ref:`Easy Connect string <easyconnect>` or a :ref:`Connect Descriptor string <embedtns>`). Alternatively, you can enable network compression by setting the `SQLNET.COMPRESSION <https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-61CE4FA9-3ABB-4E9B-B788-FB57E6B56F47>`__ parameter in the :ref:`sqlnet.ora <tnsadmin>` network configuration file.
2976
+
2977
+
See :ref:`networkcompression` for more information.
2978
+
2979
+
.. versionadded:: 6.8
2980
+
* - ``networkCompressionThreshold``
2981
+
- Number
2982
+
- Thin
2983
+
- .. _getconnectiondbattrscompressionthreshold:
2984
+
2985
+
The minimum data size, in bytes, for which compression should be performed on the Oracle Net Session Data Unit (SDU).
2986
+
2987
+
The default value is *1024* bytes.
2988
+
2989
+
The minimum data size is *200* bytes.
2990
+
2991
+
If this property is set to any value below *200*, then the default value of *1024* bytes is taken as the networkCompressionThreshold value.
2992
+
2993
+
For node-oracledb Thick mode, network compression threshold can be set by using the `SQLNET.COMPRESSION_THRESHOLD <https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-8CB3FC39-0775-441C-9205-39288B9200FD>`__ parameter in the :ref:`sqlnet.ora <tnsadmin>` network configuration file.
2994
+
2995
+
See :ref:`networkcompression` for more information.
0 commit comments