Solved

Specific Rollback segment

Posted on 2004-08-04
4
385 Views
Last Modified: 2008-02-01
Hello experts, I want to make that one procedure use a  specific rollback segment.
I'm programming in Developer 2000 (Forms 6i)

How I can try it?
0
Comment
Question by:karencita78
4 Comments
 
LVL 7

Accepted Solution

by:
BobMc earned 25 total points
Comment Utility
set transaction use rollback segment <segment name>;

This must be the first line in your transaction, and the specified rollback segment will be in use until you end the transaction.

I have to say, except for a very few situations (like using a very large rbs for a big update), I think you should be wary of using such a statement - Oracle is usually very good at allocating the best/least used  rollback segment.

Oracle 9 does away with it all together in favour of UNDO


HTH
Bob
0
 
LVL 8

Assisted Solution

by:sapnam
sapnam earned 25 total points
Comment Utility
Bob is right about the command, but please note that you cannot give that command directly in Forms. You have to use the forms_ddl built in.  An example is given below :

DECLARE
  rbs_stmnt VARCHAR2(200);
BEGIN
  rbs_stmnt := 'set transaction use rollback segment rbs1';
  forms_ddl(rbs_stmnt);
end;

Please read the forms_ddl built in description given in forms help
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This article describes some very basic things about SQL Server filegroups.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now