Loading of data into table from ctl file
Hello,
Yesterday I have facing problem while loading data from ctl file.
here is some of finding
Step 1. open cmd.
step 2. enter below command
C:\>sqlldr DATABASE CREDENTIALS control = control_filename/filepath.ctl
log=log_filename/filepath.log direct=false parallel=true skip_index_maintenance=false;
check for other option & keywords, set value according to database.
------------------------------------------------------------------------------------------------------
Valid Keywords:
userid -- ORACLE username/password
control -- control file name
log -- log file name
bad -- bad file name
data -- data file name
discard -- discard file name
discardmax -- number of discards to allow (Default all)
skip -- number of logical records to skip (Default 0)
load -- number of logical records to load (Default all)
errors -- number of errors to allow (Default 50)
rows -- number of rows in conventional path bind array or between direct
ath data saves
(Default: Conventional path 64, Direct path all)
bindsize -- size of conventional path bind array in bytes (Default 256000)
silent -- suppress messages during run (header,feedback,errors,discards,par
itions)
direct -- use direct path (Default FALSE)
parfile -- parameter file: name of file that contains parameter specificatio
s
parallel -- do parallel load (Default FALSE)
file -- file to allocate extents from
skip_unusable_indexes -- disallow/allow unusable indexes or index partitions (
efault FALSE)
skip_index_maintenance -- do not maintain indexes, mark affected indexes as unu
able (Default FALSE)
commit_discontinued -- commit loaded rows when load is discontinued (Default F
LSE)
readsize -- size of read buffer (Default 1048576)
external_table -- use external table for load; NOT_USED, GENERATE_ONLY, EXECUTE
columnarrayrows -- number of rows for direct path column array (Default 5000)
streamsize -- size of direct path stream buffer in bytes (Default 256000)
multithreading -- use multithreading in direct path
resumable -- enable or disable resumable for current session (Default FALSE)
resumable_name -- text string to help identify resumable statement
resumable_timeout -- wait time (in seconds) for RESUMABLE (Default 7200)
date_cache -- size (in entries) of date conversion cache (Default 1000)
no_index_errors -- abort load on any index errors (Default FALSE)
partition_memory -- direct path partition memory limit to start spilling (kb)
Default 0)
table -- Table for express mode load
date_format -- Date format for express mode load
timestamp_format -- Timestamp format for express mode load
terminated_by -- terminated by character for express mode load
enclosed_by -- enclosed by character for express mode load
optionally_enclosed_by -- optionally enclosed by character for express mode loa
characterset -- characterset for express mode load
degree_of_parallelism -- degree of parallelism for express mode load and extern
l table load
trim -- trim type for express mode load and external table load
csv -- csv format data files for express mode load
nullif -- table level nullif clause for express mode load
field_names -- field names setting for first record of data files for express m
de load
dnfs_enable -- option for enabling or disabling Direct NFS (dNFS) for input dat
files (Default FALSE)
dnfs_readbuffers -- the number of Direct NFS (dNFS) read buffers (Default 4)
Yesterday I have facing problem while loading data from ctl file.
here is some of finding
Step 1. open cmd.
step 2. enter below command
C:\>sqlldr DATABASE CREDENTIALS control = control_filename/filepath.ctl
log=log_filename/filepath.log direct=false parallel=true skip_index_maintenance=false;
check for other option & keywords, set value according to database.
------------------------------------------------------------------------------------------------------
Valid Keywords:
userid -- ORACLE username/password
control -- control file name
log -- log file name
bad -- bad file name
data -- data file name
discard -- discard file name
discardmax -- number of discards to allow (Default all)
skip -- number of logical records to skip (Default 0)
load -- number of logical records to load (Default all)
errors -- number of errors to allow (Default 50)
rows -- number of rows in conventional path bind array or between direct
ath data saves
(Default: Conventional path 64, Direct path all)
bindsize -- size of conventional path bind array in bytes (Default 256000)
silent -- suppress messages during run (header,feedback,errors,discards,par
itions)
direct -- use direct path (Default FALSE)
parfile -- parameter file: name of file that contains parameter specificatio
s
parallel -- do parallel load (Default FALSE)
file -- file to allocate extents from
skip_unusable_indexes -- disallow/allow unusable indexes or index partitions (
efault FALSE)
skip_index_maintenance -- do not maintain indexes, mark affected indexes as unu
able (Default FALSE)
commit_discontinued -- commit loaded rows when load is discontinued (Default F
LSE)
readsize -- size of read buffer (Default 1048576)
external_table -- use external table for load; NOT_USED, GENERATE_ONLY, EXECUTE
columnarrayrows -- number of rows for direct path column array (Default 5000)
streamsize -- size of direct path stream buffer in bytes (Default 256000)
multithreading -- use multithreading in direct path
resumable -- enable or disable resumable for current session (Default FALSE)
resumable_name -- text string to help identify resumable statement
resumable_timeout -- wait time (in seconds) for RESUMABLE (Default 7200)
date_cache -- size (in entries) of date conversion cache (Default 1000)
no_index_errors -- abort load on any index errors (Default FALSE)
partition_memory -- direct path partition memory limit to start spilling (kb)
Default 0)
table -- Table for express mode load
date_format -- Date format for express mode load
timestamp_format -- Timestamp format for express mode load
terminated_by -- terminated by character for express mode load
enclosed_by -- enclosed by character for express mode load
optionally_enclosed_by -- optionally enclosed by character for express mode loa
characterset -- characterset for express mode load
degree_of_parallelism -- degree of parallelism for express mode load and extern
l table load
trim -- trim type for express mode load and external table load
csv -- csv format data files for express mode load
nullif -- table level nullif clause for express mode load
field_names -- field names setting for first record of data files for express m
de load
dnfs_enable -- option for enabling or disabling Direct NFS (dNFS) for input dat
files (Default FALSE)
dnfs_readbuffers -- the number of Direct NFS (dNFS) read buffers (Default 4)
Comments
Post a Comment