Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Large Roll Back Segment

Status
Not open for further replies.

naushi

ISP
Jan 18, 2002
89
0
0
US
I run a script that refreshes a materialized view. I force the script to use a specific RBS
say 'VLRB1' for the large size it needs. Is it possible to dynamically turn the RBS online when I start the script and turn it off-line after the script is done. I want to do this to make sure that the RBS is available when I start the script and no other job can use it.

If there is another way to ensure the availability of the RBS please advise. Regards,
Naushi Hussain
Naushi.hussain@honeywell.com
 
alter rollback segment VLRB1 online;

run script .....

alter rollback segment VLRB1 offline;
 
thanks for your reply. one more question. What permission does this user need to be able to turn the RBS online and offline. I would not like to give DBA privs to this user. Regards,
Naushi Hussain
Naushi.hussain@honeywell.com
 
Need to grant Alter rollback segment priv.
Example: GRANT ALTER ROLLBACK SEGMENT TO SCOTT;


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top