Default: Conventional path default is 64. Direct path default is all rows.
Purpose
For conventional path loads, the ROWS
parameter specifies the number of rows in the bind array. For direct path loads, the ROWS
parameter specifies the number of rows to read from the data file(s) before a data save.
Syntax and Description
ROWS=n
Conventional path loads only: The ROWS
parameter specifies the number of rows in the bind array. The maximum number of rows is 65534. See "Bind Arrays and Conventional Path Loads".
Direct path loads only: The ROWS
parameter identifies the number of rows you want to read from the data file before a data save. The default is to read all rows and save data once at the end of the load. See "Using Data Saves to Protect Against Data Loss". The actual number of rows loaded into a table on a save is approximately the value of ROWS
minus the number of discarded and rejected records since the last save.
Restrictions
The ROWS
parameter is ignored for direct path loads when data is loaded into an Index Organized Table (IOT) or into a table containing VARRAYs, XML columns, or LOBs. This means that the load still takes place, but no save points are done.
Example
In a conventional path load, the following example would result in an error because the specified value exceeds the allowable maximum of 65534 rows.
ROWS=65900