A, SQLLDR grammar
grammar
SQLLDR keyword=value [,keyword=value,...]
Effective keyword
userid - ORACLE username / password
control - control file name
log - log file name
bad - wrong filename
data - data file name
discard - discard filename
Zhengzhou infertility hospital: http://jbk.39.net/yiyuanzaixian/zztjyy/
discardmax - allow the number of abandoned documents (all by default)
skip - The number of records to skip logic (default 0)
load - the number of the logical record to be loaded (all default)
errors - number of errors allowed (default 50)
rows - conventional path or direct path bind array stored number of lines between the data (default: conventional path 64, all of the direct path)
bindsize - conventional path bind array size (in bytes) (default 256000)
silent - during operation hidden message (title, feedback, errors, waste, partition)
direct - direct path (default FALSE)
parfile - parameter file: Parameter Description contains the name of the file
parallel - to perform a parallel load (default FALSE)
file - from the object file allocation area
skip_unusable_indexes - Disable / Enable the use of useless index or index partition (default FALSE)
skip_index_maintenance - no maintenance of the index, the index will be affected labeled as useless (default FALSE)
commit_discontinued - line interrupted when submitting loaded loaded (default FALSE)
readsize - read buffer size (default 1048576)
external_table - using external loading tables; NOT_USED, GENERATE_ONLY, EXECUTE
columnarrayrows - direct path column number of rows in the array (default 5000)
streamsize - direct flow path buffer size (in bytes) (default 256000)
multithreading - use multithreading in direct path
resumable - to enable or disable the current session restore (default FALSE)
resumable_name - help text string to identify recoverable statement
resumable_timeout - RESUMABLE latency (in seconds) (default 7200)
date_cache - date conversion cache size (in terms entry) (default 1000)
no_index_errors - suspended load any index errors (default FALSE)
partition_memory - a direct path partition memory limit (kb) (default 0) start overflow
table - a table for quick loading mode
date_format - mode for fast loading date format
timestamp_format - timestamp format for rapid loading mode
terminated_by - terminated by character mode for fast loading
enclosed_by - loaded by character mode for quick closure
optionally_enclosed_by - (optional) mode for fast loading of a character closed
characterset - Character Set for quick loading mode
degree_of_parallelism - parallelism mode for fast loading and loading of the external table
trim - intercepting mode for fast loading and type of external loading table
csv file format data mode for fast loading - csv
nullif - mode for fast loading table level nullif clause
field_names - fast mode for loading a data file record field name to the first set
dnfs_enable - to enable or disable input data files Direct NFS (dNFS) options (default FALSE)
dnfs_readbuffers - Direct NFS (dNFS) read the number of buffers (default 4)
sdf_prefix - to attach to the beginning of each LOB files and auxiliary data file prefix
help - displays a help message (default FALSE)
empty_lobs_are_null - blank LOB set to null value (default FALSE)
defaults -- 直接路径默认值加载; EVALUATE_ONCE, EVALUATE_EVERY_ROW, IGNORE, IGNORE_UNSUPPORTED_EVALUATE_ONCE, IGNORE_UNSUPPORTED_EVALUATE_EVERY_ROW
direct_path_lock_wait - When is currently locked, waiting tables access (default FALSE)
Second, the sample
CTL: LDR_TEST.CTL
LOAD DATA
INFILE *
INTO TABLE BONUS
FIELDS TERMINATED BY ","
(ENAME, JOB, SAL)
START DATES
SMITH,CLEAK,3904
ALLEN,SALESMAN,2891
WARD,SALESMAN,3128
KING,PRESIDENT,2523
Import command
SOLLDR SCOTT/TIGER CONTROL=LDR_TEST.CTL
Check
select * from scott.BONUS;