Skip to content

Commit 7076712

Browse files
Update documentation.
1 parent ecd8956 commit 7076712

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

doc/src/user_guide/initialization.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ upgrading a cx_Oracle application to python-oracledb, then refer to
3232

3333
All connections in an application use the same mode.
3434

35-
Once the Thick mode is enabled, you cannot go back to Thin mode.
35+
Once the Thick mode is enabled, you cannot go back to Thin mode except by
36+
restarting the application.
3637

3738
Enabling the python-oracledb Thick mode loads Oracle Client libraries which
3839
handle communication to your database. The Oracle Client libraries need to be
@@ -43,9 +44,9 @@ installed separately. See :ref:`installation`.
4344

4445
Architecture of the python-oracledb driver in Thick mode
4546

46-
You can validate the python-oracledb mode by querying the ``CLIENT_DRIVER``
47-
column of ``V$SESSION_CONNECT_INFO`` and verifying the value of the column
48-
begins with ``python-oracledb thk``. See :ref:`vsessconinfo`.
47+
You can validate python-oracledb is running in Thick mode by querying the
48+
``CLIENT_DRIVER`` column of ``V$SESSION_CONNECT_INFO`` and verifying the value
49+
of the column begins with ``python-oracledb thk``. See :ref:`vsessconinfo`.
4950

5051

5152
.. _libinit:

doc/src/user_guide/tuning.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,10 @@ Python.
248248
Tuning Fetching from REF CURSORS
249249
--------------------------------
250250

251-
In python-oracledb, REF CURSORS can also be tuned by setting the values of
252-
``arraysize`` and ``prefetchrows``. The ``prefetchrows`` value must be set
253-
before calling the PL/SQL procedure as the REF CURSOR is executed on the
254-
server.
251+
In python-oracledb, fetching data from REF CURSORS can be tuned by setting the
252+
values of ``arraysize`` and ``prefetchrows``. The ``prefetchrows`` value must
253+
be set before calling the PL/SQL procedure because the REF CURSOR is executed
254+
on the server.
255255

256256
For example:
257257

@@ -272,6 +272,8 @@ For example:
272272
273273
.. _roundtrips:
274274

275+
Also see `Avoiding Premature Prefetching`_.
276+
275277
Database Round-trips
276278
====================
277279

0 commit comments

Comments
 (0)