@@ -8,10 +8,10 @@ A connection *Pool* object is created by calling the
88:meth: `oracledb.createPool() ` method.
99
1010The *Pool * object obtains connections to the Oracle database using the
11- ``getConnection() `` method to “check them out” from the pool. Internally
12- `Oracle Call Interface Session Pooling <https://www.oracle.com/pls/topic/
13- lookup?ctx=dblatest&id=GUID-F9662FFB-EAEF-495C-96FC-49C6D1D9625C> `__
14- is used .
11+ ``getConnection() `` method to “check them out” from the pool. The
12+ node-oracledb Thick mode internally uses `Oracle Call Interface Session
13+ Pooling <https://www.oracle.com/pls/topic/ lookup?ctx=dblatest&id=GUID-
14+ F9662FFB-EAEF-495C-96FC-49C6D1D9625C> `__ .
1515
1616After the application finishes using a connection pool, it should
1717release all connections and terminate the connection pool by calling the
@@ -50,11 +50,17 @@ values.
5050 This read-only property is a string which specifies the connection string
5151 used to connect to the Oracle Database Instance.
5252
53+ See :ref: `connectString <createpoolpoolattrsconnectstring >` parameter of
54+ :meth: `oracledb.createPool() `.
55+
5356.. attribute :: pool.edition
5457
5558 This read-only property is a string which identifies the edition name
5659 used.
5760
61+ See :ref: `edition <createpoolpoolattrsedition >` parameter of
62+ :meth: `oracledb.createPool() ` and :attr: `oracledb.edition `.
63+
5864 .. note ::
5965
6066 This property can only be used in the node-oracledb Thick mode. See
@@ -65,6 +71,9 @@ values.
6571 This read-only property is a boolean which denotes whether the Oracle
6672 Client events mode is enabled or not.
6773
74+ See :ref: `events <createpoolpoolattrsevents >` parameter of
75+ :meth: `oracledb.createPool() ` and :attr: `oracledb.events `.
76+
6877 .. note ::
6978
7079 This property can only be used in the node-oracledb Thick mode. See
@@ -75,18 +84,27 @@ values.
7584 This read-only property is a boolean which denotes whether connections
7685 are established using external authentication or not.
7786
87+ See :ref: `externalAuth <createpoolpoolattrsexternalauth >` parameter of
88+ :meth: `oracledb.createPool() ` and :attr: `oracledb.externalAuth `.
89+
7890.. attribute :: pool.enableStatistics
7991
8092 This read-only property is a boolean which identifies whether pool usage
8193 statistics are being recorded.
8294
95+ See :ref: `enableStatistics <createpoolpoolattrsstats >` parameter of
96+ :meth: `oracledb.createPool() `.
97+
8398.. attribute :: pool.homogeneous
8499
85100 This read-only property is a boolean which identifies whether the
86101 connections in the pool all have the same credentials (a
87102 ‘homogenous’ pool), or whether different credentials can be used (a
88103 ‘heterogeneous’ pool).
89104
105+ See :ref: `homogeneous <createpoolpoolattrshomogeneous >` parameter of
106+ :meth: `oracledb.createPool() `.
107+
90108.. attribute :: pool.poolAlias
91109
92110 This read-only property is a number which specifies the alias of this
@@ -95,20 +113,25 @@ values.
95113 undefined for the second and subsequent pools that were created without
96114 an explicit alias specified.
97115
116+ See :ref: `poolAlias <createpoolpoolattrspoolalias >` parameter of
117+ :meth: `oracledb.createPool() `.
118+
98119.. attribute :: pool.poolIncrement
99120
100121 This read-only property is a number which specifies the number of
101122 connections that are opened whenever a connection request
102123 exceeds the number of currently open connections.
103124
104- See :attr: `oracledb.poolIncrement `.
125+ See :ref: `poolIncrement <createpoolpoolattrspoolincrement >` parameter of
126+ :meth: `oracledb.createPool() ` and :attr: `oracledb.poolIncrement `.
105127
106128.. attribute :: pool.poolMax
107129
108130 This read-only property is a number which specifies the maximum number
109131 of connections that can be open in the connection pool.
110132
111- See :attr: `oracledb.poolMax `.
133+ See :ref: `poolMax <createpoolpoolattrspoolmax >` parameter of
134+ :meth: `oracledb.createPool() ` and :attr: `oracledb.poolMax `.
112135
113136.. attribute :: pool.poolMaxPerShard
114137
@@ -117,7 +140,8 @@ values.
117140 database. This lets connections in the pool be balanced across the
118141 shards.
119142
120- See :attr: `oracledb.poolMaxPerShard `.
143+ See :ref: `poolMaxPerShard <createpoolpoolattrspoolmaxpershard >` parameter
144+ of :meth: `oracledb.createPool() ` and :attr: `oracledb.poolMaxPerShard `.
121145
122146 .. note ::
123147
@@ -130,7 +154,8 @@ values.
130154 of connections a connection pool maintains, even when there is no
131155 activity to the target database.
132156
133- See :attr: `oracledb.poolMin `.
157+ See :ref: `poolMin <createpoolpoolattrspoolmin >` parameter of
158+ :meth: `oracledb.createPool() ` and :attr: `oracledb.poolMin `.
134159
135160.. attribute :: pool.poolPingInterval
136161
@@ -140,15 +165,18 @@ values.
140165 node-oracledb pings the database prior to returning that connection to
141166 the application.
142167
143- See :attr: `oracledb.poolPingInterval `.
168+ See :ref: `poolPingInterval <createpoolpoolattrspoolpinginterval >`
169+ parameter of :meth: `oracledb.createPool() ` and
170+ :attr: `oracledb.poolPingInterval `.
144171
145172.. attribute :: pool.poolTimeout
146173
147174 This read-only property is a number which specifies the time (in seconds)
148175 after which the pool terminates idle connections (unused in the pool). The
149176 number of connections does not drop below poolMin.
150177
151- See :attr: `oracledb.poolTimeout `.
178+ See :ref: `poolTimeout <createpoolpoolattrspooltimeout >` parameter of
179+ :meth: `oracledb.createPool() ` and :attr: `oracledb.poolTimeout `.
152180
153181.. attribute :: pool.queueMax
154182
@@ -158,35 +186,44 @@ values.
158186 of pending ``pool.getConnection() `` calls that can be
159187 :ref: `queued <connpoolqueue >`.
160188
161- See :attr: `oracledb.queueMax `.
189+ See :ref: `queueMax <createpoolpoolattrsqueuemax >` parameter of
190+ :meth: `oracledb.createPool() ` and :attr: `oracledb.queueMax `.
162191
163192.. attribute :: pool.queueRequests
164193
165- This property was removed in node-oracledb 3.0. See :ref: `Connection Pool
166- Queue <connpoolqueue>` for more information.
194+ .. desupported :: 3.0
195+
196+ See :ref: `Connection Pool Queue <connpoolqueue >` for more information.
167197
168198.. attribute :: pool.queueTimeout
169199
170200 This read-only property is a number which identifies the time
171201 (in milliseconds) that a connection request should wait in the
172202 queue before the request is terminated.
173203
174- See :attr: `oracledb.queueTimeout `.
204+ See :ref: `queueTimeout <createpoolpoolattrsqueuetimeout >` parameter of
205+ :meth: `oracledb.createPool() ` and :attr: `oracledb.queueTimeout `.
175206
176207.. attribute :: pool.sessionCallback
177208
178209 This read-only property can be a function or string. The Node.js or
179210 PL/SQL function that is invoked by ``pool.getConnection() `` when the
180211 connection is brand new.
181212
182- See :ref: `Connection Tagging and Session State <connpooltagging >`.
213+ See :ref: `sessionCallback <createpoolpoolattrssessioncallback >` parameter
214+ of :meth: `oracledb.createPool() `.
215+
216+ Also, see :ref: `Connection Tagging and Session State <connpooltagging >`.
183217
184218.. attribute :: pool.sodaMetaDataCache
185219
186220 This read-only property is a boolean which determines whether the pool
187221 has a metadata cache enabled for SODA collection access.
188222
189- See :ref: `Using the SODA Metadata Cache <sodamdcache >`.
223+ See :ref: `sodaMetaDataCache <createpoolpoolattrssodamdcache >` parameter of
224+ :meth: `oracledb.createPool() `.
225+
226+ Also, see :ref: `Using the SODA Metadata Cache <sodamdcache >`.
190227
191228 .. note ::
192229
@@ -210,7 +247,8 @@ values.
210247 statements to be cached in the :ref: `statement
211248 cache <stmtcache>` of each connection.
212249
213- See :attr: `oracledb.stmtCacheSize `.
250+ See :ref: `stmtCacheSize <createpoolpoolattrsstmtcachesize >` parameter of
251+ :meth: `oracledb.createPool() ` and :attr: `oracledb.stmtCacheSize `.
214252
215253.. attribute :: pool.thin
216254
@@ -231,6 +269,9 @@ values.
231269 This read-only property is a string which specifies the database username
232270 for connections in the pool.
233271
272+ See :ref: `user <createpoolpoolattrsuser >` parameter of
273+ :meth: `oracledb.createPool() `.
274+
234275.. _poolmethods :
235276
236277Pool Methods
0 commit comments