Update files in examples directory with simpler tuning recommendations for beginners
This commit is contained in:
parent
db8553485e
commit
12c4fd6b7a
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2018, 2022, Oracle and/or its affiliates. */
|
||||
/* Copyright (c) 2018, 2023, Oracle and/or its affiliates. */
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
|
@ -124,7 +124,6 @@ async function run() {
|
|||
options = {
|
||||
outFormat: oracledb.OUT_FORMAT_OBJECT, // query result format
|
||||
// extendedMetaData: true, // get extra metadata
|
||||
// prefetchRows: 100, // internal buffer allocation size for tuning
|
||||
// fetchArraySize: 100 // internal buffer allocation size for tuning
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2015, 2022, Oracle and/or its affiliates. */
|
||||
/* Copyright (c) 2015, 2023, Oracle and/or its affiliates. */
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
|
@ -69,7 +69,6 @@ async function run() {
|
|||
[], // no bind variables
|
||||
{
|
||||
resultSet: true, // return a ResultSet (default is false)
|
||||
// prefetchRows: 100, // internal buffer allocation size for tuning
|
||||
// fetchArraySize: 100 // internal buffer allocation size for tuning
|
||||
}
|
||||
);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2015, 2022, Oracle and/or its affiliates. */
|
||||
/* Copyright (c) 2015, 2023, Oracle and/or its affiliates. */
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
|
@ -86,7 +86,6 @@ async function run() {
|
|||
maxRows: 1
|
||||
//, outFormat: oracledb.OUT_FORMAT_OBJECT // query result format
|
||||
//, extendedMetaData: true // get extra metadata
|
||||
//, prefetchRows: 100 // internal buffer allocation size for tuning
|
||||
//, fetchArraySize: 100 // internal buffer allocation size for tuning
|
||||
});
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2015, 2022, Oracle and/or its affiliates. */
|
||||
/* Copyright (c) 2015, 2023, Oracle and/or its affiliates. */
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
|
@ -93,7 +93,6 @@ async function run() {
|
|||
[], // A bind parameter is needed to disambiguate the following options parameter and avoid ORA-01036
|
||||
{
|
||||
outFormat: oracledb.OUT_FORMAT_OBJECT, // outFormat can be OBJECT or ARRAY. The default is ARRAY
|
||||
// prefetchRows: 100, // internal buffer allocation size for tuning
|
||||
// fetchArraySize: 100 // internal buffer allocation size for tuning
|
||||
}
|
||||
);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2016, 2022, Oracle and/or its affiliates. */
|
||||
/* Copyright (c) 2016, 2023, Oracle and/or its affiliates. */
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
|
@ -68,8 +68,7 @@ async function run() {
|
|||
ORDER BY id`,
|
||||
[], // no binds
|
||||
{
|
||||
prefetchRows: 150, // internal buffer sizes can be adjusted for performance tuning
|
||||
fetchArraySize: 150
|
||||
fetchArraySize: 150 // internal buffer allocation size for tuning
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue