Skip to content

Commit 06ee92e

Browse files
authored
Give Thin python-oracledb OOB syntax. Fix grammar (#2520)
* Give Thin python-oracledb OOB syntax. Fix grammar Signed-off-by: Christopher Jones <[email protected]> * Wrap lines per linter Signed-off-by: Christopher Jones <[email protected]>
1 parent c2313d0 commit 06ee92e

File tree

1 file changed

+25
-2
lines changed
  • OracleDatabase/SingleInstance

1 file changed

+25
-2
lines changed

OracleDatabase/SingleInstance/FAQ.md

+25-2
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,36 @@ Also make sure you assign an appropriate size as the default Docker uses is only
7676

7777
When initially connecting to your 19c (or higher) database the client may appear to hang and timeout after a few minutes with: `ORA-12637: Packet receive failed`
7878

79-
Oracle Net 19c will attempt to [automatically detect support for Out Of Band breaks](https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-554C0311-68FB-4628-AC8D-C22D8ADDE995) and enable or disable the feature. Some network stacks do not correctly handle this and problems have been seen on _docker-engine-19.03.1.ol-1.0.0.el7_. You may explicitly disable this feature by setting `DISABLE_OOB=ON` in the client's _sqlnet.ora_ file. By default, Oracle Instant Client for Linux will use _/<instant_client_path>/network/admin/sqlnet.ora_, _$TNS_ADMIN/sqlnet.ora_ or _~/.sqlnet.ora_. For example, you could use
79+
Oracle Net 19c will attempt to [automatically detect support for Out Of Band
80+
breaks](https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-554C0311-68FB-4628-AC8D-C22D8ADDE995)
81+
and enable or disable the feature. Some network stacks do not correctly handle
82+
this and problems have been seen on _docker-engine-19.03.1.ol-1.0.0.el7_. You
83+
may explicitly disable this feature by setting `DISABLE_OOB=ON` in the client's
84+
_sqlnet.ora_ file. By default, Oracle Instant Client for Linux will use
85+
_/<instant_client_path>/network/admin/sqlnet.ora_, _$TNS_ADMIN/sqlnet.ora_ or
86+
_~/.sqlnet.ora_. For example, you could use:
8087

8188
```shell
8289
echo "DISABLE_OOB=ON" >> ~/.sqlnet.ora
8390
```
8491

85-
For more information configuring _sqlnet.ora_ file see [Database Net Services Reference](https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-2041545B-58D4-48DC-986F-DCC9D0DEC642), [Instant Client Installation for Linux](https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html), [What is DISABLE_OOB (Out Of Band Break)? (Doc ID 373475.1)](https://support.oracle.com/epmos/faces/DocumentDisplay?id=373475.1) and issue #1352
92+
For more information on configuring the _sqlnet.ora_ file see [Database Net
93+
Services
94+
Reference](https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-2041545B-58D4-48DC-986F-DCC9D0DEC642),
95+
[Instant Client Installation for
96+
Linux](https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html),
97+
[What is DISABLE_OOB (Out Of Band Break)? (Doc ID
98+
373475.1)](https://support.oracle.com/epmos/faces/DocumentDisplay?id=373475.1)
99+
and issue #1352.
100+
101+
### Python-oracledb
102+
103+
For the Python [python-oracledb](https://oracle.github.io/python-oracledb/) driver for Oracle Database:
104+
105+
- for the default Thin mode, pass a parameter `disable_oob=True` when connecting or creating a connection pool.
106+
- for Thick mode (and for the legacy cx_Oracle driver) use _sqlnet.ora_ as described previously.
107+
108+
Refer to the [module documentation](https://python-oracledb.readthedocs.io/en/latest/api_manual/module.html) for more information.
86109

87110
## ORA-01157: cannot identify/lock data file
88111

0 commit comments

Comments
 (0)