Professional Documents
Culture Documents
Let Us Understand Oracle SQL Loader
Let Us Understand Oracle SQL Loader
Oracle Apps R12 By Satish K Yellanki (SkyEss Techno Solutions Pvt. Ltd.)
Slide : 1
Loader
Control
File
Log
File
Tables
SQL*Loader
Bad
Files
Discard
Files
Database
Indexes
SQL*Loader Architecture
SQL*Loader Inputs
Control File, Which Controls The Behavior of SQL*Loader
One OR More Datafiles
SQL*Loader Outputs
Oracle Database Where The Data is Loaded
A Log File
A Bad File
A Discard File
Log File
Log File Tells Us The State of The Tables And Indexes
And The Number of Logical Records Already Read From
The Input Data File.
The Log File Information Can Be Used To Resume The
Load Where it as Left off Previously.
Bad File OR Reject File
Bad File OR Reject File Gives Us The Records That Were
Rejected Because of Formatting Errors OR Because They
Caused Oracle Errors.
Discard File
Discard File Specifies The Records That Do Not Meet Any
of The Loading Criteria Specified in The Control File.
The Records in Discard File Differ From Rejected Records.
Description
USERID
CONTROL
Control Filename
LOG
Log Filename
BAD
Bad Filename
DATA
Datafile Name
DISCARD
Discard Filename
DISCARDS
SKIP
LOAD
ERRORS
ROWS
BINDSIZE
SILENT
Command Line
Parameter
Description
DIRECT
PARFILE
Parameter Filename
PARALLEL
FILE
Illustrative Examples
SQLLDR PARFILE=Load.PAR
Note
Command-Line Parameters Can Be Placed in A Parameter
File in Short Called As ParFile And Can Be Referenced on
The Command Line.
Illustrative Example
Pseudo Structure of Parameter File
DATA=Load.DAT
USERID=SCOTT/TIGER
CONTROL=Load.CTL
LOG=Load.LOG
BAD=Load.BAD
DISCARD=Load.DSC