|
-
Can I use session set events for cold back up
I wanted to write a script for cold backup. The below is a part of script.
connect internal
set echo on;
alter database backup controlfile to '$ARCH_CTRL_DIR/control.ctl' reuse;
alter database backup controlfile to trace;
alter session set events '10400 trace name context forever, level 1';
shutdown immediate;
exit;
Can i use alter session ser events after I back up the control file or it should be be before backing up control file. What exactly does the alter session event does?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|