Skip to content

Commit b80081f

Browse files
committed
Add doc about manually tuning the statement cache size
1 parent 2ebf26e commit b80081f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5582,6 +5582,12 @@ the [`createPool()`](#createpool) method.
55825582
With Oracle Database 12c, the statement cache size can be automatically tuned with the
55835583
[External Configuration](#oraaccess) *oraaccess.xml* file.
55845584
5585+
To manually tune the statement cache size, monitor general application
5586+
load and the [AWR](http://docs.oracle.com/database/122/TGDBA/gathering-database-statistics.htm#TGDBA168)
5587+
"bytes sent via SQL*Net to client" values. The latter statistic
5588+
should benefit from not shipping statement metadata to node-oracledb.
5589+
Adjust the statement cache size to your satisfaction.
5590+
55855591
## <a name="oraaccess"></a> 16. External Configuration
55865592
55875593
When node-oracledb is linked with Oracle Database 12c client libraries, the Oracle

0 commit comments

Comments
 (0)