Commit 54d01bf
Raise the Oracle (OCI) bulkRead default to 200000 (tam#35892)
Benchmarked against the test database on a 231,868 row x 35 column table, the
customer-reported scale, taking the median of three alternating runs:
ODBC (FBS=10MB, what the app sends) 23.40 s
OCI bulkRead=10000 6.81 s 3.4x
OCI bulkRead=200000 4.64 s 5.0x
The larger value costs memory - peak usage roughly doubled on a 30 column x
100,000 row fetch, 1.2 GB against 2.6 GB - but preview sized queries are
unaffected: at 50 and 1,000 rows the two settings are within measurement noise of
each other and about 45 MB apart, because ROracle allocates against the data
actually fetched rather than reserving bulkRead rows up front. Speed was chosen
over the smaller footprint; the value stays editable per connection for anyone
importing very wide tables.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 6b1970a commit 54d01bf
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1086 | 1086 | | |
1087 | 1087 | | |
1088 | 1088 | | |
1089 | | - | |
| 1089 | + | |
1090 | 1090 | | |
1091 | 1091 | | |
1092 | 1092 | | |
| |||
2013 | 2013 | | |
2014 | 2014 | | |
2015 | 2015 | | |
2016 | | - | |
| 2016 | + | |
2017 | 2017 | | |
2018 | 2018 | | |
2019 | 2019 | | |
| |||
2049 | 2049 | | |
2050 | 2050 | | |
2051 | 2051 | | |
2052 | | - | |
| 2052 | + | |
2053 | 2053 | | |
2054 | 2054 | | |
2055 | 2055 | | |
| |||
2309 | 2309 | | |
2310 | 2310 | | |
2311 | 2311 | | |
2312 | | - | |
| 2312 | + | |
2313 | 2313 | | |
2314 | 2314 | | |
2315 | 2315 | | |
| |||
0 commit comments