Solved

Specific Rollback segment

Posted on 2004-08-04
4
386 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
ID: 11721595
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
ID: 11726828
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
postgres queries -- need opinions 1 71
Has anyone used domo? 1 57
Working with SharePoint Data 8 53
Can i Import Access Table Into Oracle Using Toad 36 169
SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
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…

774 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