Solved

Specific Rollback segment

Posted on 2004-08-04
4
390 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

624 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