Professional Documents
Culture Documents
The goal when loading large volumes of data is to land the data on
disk as few times as possible
Here the field delimiter in the maxErrors is useful if big data files contain
customer.del file is “|” a limited number of bad rows. Float values
in Integer fields, etc.
Default = 1
01|Jon|Doe|2537
03|Jack|Jones|654
...
customer.del
• Sample output:
SYSTEM.ADMIN(ADMIN)=> select * from _v_load_status;
PLANID | DATABASENAME | TABLENAME | SCHEMANAME | USERNAME | BYTESPROCESSED |
ROWSINSERTED |ROWSREJECTED | BYTESDOWNLOADED
-------------+-------------------------+--------------+-----------+------------+----------+----------------+--------------+
2932 | SYSTEM | LINEITEM | ADMIN | ADMIN | 142606226 | 1136931 |4 |
131911476
(1 row)
Load Options
Field delimiter: '|‘ File Buffer Size (MB): 16
NULL value: NULL Quoted data: No
Checkpoint: 0 Max errors: 100
Skip records: 0 Max rows: 0
FillRecord: No Truncate String: No
Escape Char: None Accept Control Chars: No
Distribution stats: No Allow CR in string: No
BoolStyle: ONE_ZERO
Date Style: YMD Date Delim: '/'
Time Style: 24 Hour Time Delim: ':'
Statistics
number of records read: 1234567890
number of bad records: 0
number of discarded records: 0
-------------------------------------------------
number of records loaded: 1234567890