Add doc about manually tuning the statement cache size

This commit is contained in:
Christopher Jones 2017-03-16 15:26:40 +11:00
parent 2ebf26ee52
commit b80081f8a6
1 changed files with 6 additions and 0 deletions

View File

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