Home » RDBMS Server » Server Utilities » SQLLoader better performance with a smaller bindsize (18c)
SQLLoader better performance with a smaller bindsize [message #690546] Wed, 28 October 2026 06:42 Go to next message
Darth Waiter
Messages: 104
Registered: October 2020
Senior Member
SQLLoader consistently processes a file with 1.3 million rows of 26 bytes each, in 30 seconds with 1.6 MB bindsize and in 22 seconds with 260 kB bindsize. Why would it?
Also, its log says:

value used for ROWS parameter changed from 10000 to 992

Space allocated for bind array:                 259904 bytes(992 rows)
It's 2 fields, 1 fixed integer, 1 varchar2.
For simplicity, 992 * 26 = 26 kB, so it should be able to use more rows for the bindsize. What causes it to reduce it so low?

The answers are probably buried somewhere in https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-sql-loader.html#GUID-D7A661F1-5EE3-43DF-B3A5-050B2CF66844 but it's so poorly written and structured that my mind simply cannot process it within reasonable time.
Re: SQLLoader better performance with a smaller bindsize [message #690547 is a reply to message #690546] Sun, 01 November 2026 11:49 Go to previous message
Frank Naude
Messages: 4600
Registered: April 1998
Senior Member
It is odd that your workload performs better with a smaller bind array.

Oracle is somewhat of a black box, and nobody really knows exactly what's going on under the hood.
Perhaps the additional memory management overhead is tipping the balance.

The manual documents a method for calculating the optimal bind size.
Search for OPTIONS (ROWS=1), which will show the memory requirement per row in the log.
You can multiply this value by the desired row count to calculate the optimal bind size.
Previous Topic: How to import a higher TZ dump file into a lower TZ database
Goto Forum:
  


Current Time: Fri Nov 06 16:59:48 CST 2026