Dear All,
In this post i am sharing Oracle 19C DB How to export the dumpfile using LOGTIME parameter step by step lab .
This parameter LOGTIME give us the timestamp for each and every export operation during expdp., therefore its easy to check the diagnise/elapsed time taken for execution.
default LOGTIME=NONE, If you want to use this feature use this parameter in expdp command.
Types of LOGTIME parameters:
LOGTIME=NONE : Default value which will not display timestamp in both command prompt as well as export log file.
LOGTIME=ALL : Display the timestamp in both command prompt as well as export log file.
LOGTIME=LOGFILE : Display the timestamp in only export log file, not in command prompt.
LOGTIME=STATUS : Display the timestamp in only command prompt and not in export log file.
Check the DB version and status :
create schema and that schema we can use it for this lab
grant the schema and connect to that schema create some objects
if schema exist in CDB$ROOT use below command :
expdp directory=DATA_PUMP_DIR dumpfile=racsdev_sch.dmp logfile=racsdev_sch.log schemas=racsdev LOGTIME=ALL
If schema exist in PDB use below command
Logtime parameter for all option ::
expdp system/****@pdb1 directory=DATA_PUMP_DIR dumpfile=racsdev_sch1.dmp logfile=racsdev_sch1.log schemas=racsdev LOGTIME=ALL
Without logtime parameter output
Logtime parameter with logfile option :
Display the timestamp in only export log file, not in command prompt.
Logtime parameter STATUS option
Display the timestamp in only command prompt and not in export log file
Hope this will help when you are working with real-time tasks, with LOGTIME options.
Thanks,
Srini
No comments:
Post a Comment
No one has ever become poor by giving