@@ -1437,10 +1437,9 @@ The default value is 4.
1437
1437
1438
1438
This property may be overridden when [ creating a connection pool] ( #createpool ) .
1439
1439
1440
- See [ Connections and Number of Threads] ( #numberofthreads ) for why you
1441
- should not increase this value beyond 128. Importantly, if you
1442
- increase ` poolMax ` you should also increase the number of threads
1443
- available to node-oracledb.
1440
+ Importantly, if you increase ` poolMax ` you should also increase the
1441
+ number of threads available to node-oracledb. See [ Connections and
1442
+ Number of Threads] ( #numberofthreads ) .
1444
1443
1445
1444
See [ Connection Pooling] ( #connpooling ) for other pool sizing guidelines.
1446
1445
@@ -1904,10 +1903,9 @@ The default value is 4.
1904
1903
This optional property overrides the
1905
1904
[ ` oracledb.poolMax ` ] ( #propdbpoolmax ) property.
1906
1905
1907
- See [ Connections and Number of Threads] ( #numberofthreads ) for why you
1908
- should not increase this value beyond 128. Importantly, if you
1909
- increase ` poolMax ` you should also increase the number of threads
1910
- available to node-oracledb.
1906
+ Importantly, if you increase ` poolMax ` you should also increase the
1907
+ number of threads available to node-oracledb. See [ Connections and
1908
+ Number of Threads] ( #numberofthreads ) .
1911
1909
1912
1910
See [ Connection Pooling] ( #connpooling ) for other pool sizing guidelines.
1913
1911
@@ -7011,9 +7009,12 @@ If the value is set inside the application with
7011
7009
asynchronous call that uses the thread pool otherwise the default size
7012
7010
of 4 will still be used.
7013
7011
7014
- Note the '[ libuv] [ 21 ] ' library used by Node.js limits the number of
7015
- threads to 128. This implies the maximum number of connections
7016
- opened, i.e. ` poolMax ` , should be less than 128.
7012
+ Note the '[ libuv] [ 21 ] ' library used by Node.js 12.5 and earlier limits
7013
+ the number of threads to 128. In Node.js 12.6 onward the limit
7014
+ is 1024. You should restrict the maximum number of connections opened
7015
+ in an application, i.e. ` poolMax ` , to a value lower than the
7016
+ ` UV_THREADPOOL_SIZE ` limit. If you have multiple pools, make sure the
7017
+ sum of all ` poolMax ` values is no larger than ` UV_THREADPOOL_SIZE ` .
7017
7018
7018
7019
Connections can handle one database operation at a time. Node.js
7019
7020
worker threads executing database statements on a connection will wait
@@ -7138,9 +7139,7 @@ should be [executed sequentially, not in parallel](#numberofthreads)
7138
7139
on each connection.
7139
7140
7140
7141
If you increase the size of the pool, you must [ increase the number of
7141
- threads] ( #numberofthreads ) used by Node.js. Since the number of
7142
- threads available to Node.js is at most 128, this implies that
7143
- ` poolMax ` should be less than 128.
7142
+ threads] ( #numberofthreads ) used by Node.js.
7144
7143
7145
7144
The growth characteristics of a connection pool are determined by the
7146
7145
Pool attributes [ ` poolIncrement ` ] ( #proppoolpoolincrement ) ,
0 commit comments