File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ Cursor Object
9
9
10
10
This read-write attribute specifies the number of rows to fetch at a time
11
11
internally and is the default number of rows to fetch with the
12
- :meth: `~Cursor.fetchmany() ` call. It defaults to 50 meaning to fetch 50
12
+ :meth: `~Cursor.fetchmany() ` call. It defaults to 100 meaning to fetch 100
13
13
rows at a time. Note that this attribute can drastically affect the
14
14
performance of a query since it directly affects the number of network round
15
- trips that need to be performed. This is the reason for setting it to 50
15
+ trips that need to be performed. This is the reason for setting it to 100
16
16
instead of the 1 that the DB API recommends.
17
17
18
18
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ Version 5.3 (TBD)
52
52
24) Dropped support for callbacks on OCI functions.
53
53
25) Removed deprecated types UNICODE, FIXED_UNICODE and LONG_UNICODE (use
54
54
NCHAR, FIXED_NCHAR and LONG_NCHAR instead).
55
+ 26) Increased default array size to 100 (from 50) to match other drivers.
55
56
56
57
57
58
Version 5.2.1 (January 2016)
Original file line number Diff line number Diff line change @@ -306,8 +306,8 @@ static int Cursor_Init(
306
306
Py_INCREF (connection );
307
307
self -> connection = connection ;
308
308
self -> environment = connection -> environment ;
309
- self -> arraySize = 50 ;
310
- self -> fetchArraySize = 50 ;
309
+ self -> arraySize = 100 ;
310
+ self -> fetchArraySize = 100 ;
311
311
self -> bindArraySize = 1 ;
312
312
self -> statementType = -1 ;
313
313
self -> outputSize = -1 ;
You can’t perform that action at this time.
0 commit comments