473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Rollback problem

Hi all,

I have a problem with rollback segment. I am a beginner and do not have
much knowledge of DBA.

Anyways, the problem is there is a transaction of around 105 MB. This would
not fit into the normal rollbacks created and gave an error of "maxextents
for rollback reached", so our DBA created a rollback of 500 MB and I used
this rollback for the transaction by using the "set transaction" command.
But even then the error continued. So I split the transaction by giving
"commits" (and then set transaction again) in the transaction. But the
error continued. The DBA then gave next extent of 50 MB and maxextents 80.
But, yes, the error continued. Now I have given a commit after *every*
insert and update and each transaction is less the 5 K, but the error still
continues.

I don't know what else I can do and the DBA is asking me to split the
transaction further. This I cannot do unless I give an insert, for say 10
columns, commit it and then update the same record for balance 10 columns. I
am at a total loss. I don't think I need to split the transaction further
as it is less than 5 K. Can someone please suggest what could be the
problem?

Thanks and regards,
Alice
Jul 19 '05 #1
2 2918
Please post the error message and Oracle version, and then we might be able to help.

Daniel
Jul 19 '05 #2
"Alice" <al***@reply-to-group.com> wrote in message news:<40********@news.tm.net.my>...
Hi all,

I have a problem with rollback segment. I am a beginner and do not have
much knowledge of DBA.

Anyways, the problem is there is a transaction of around 105 MB. This would
not fit into the normal rollbacks created and gave an error of "maxextents
for rollback reached", so our DBA created a rollback of 500 MB and I used
this rollback for the transaction by using the "set transaction" command.
But even then the error continued. So I split the transaction by giving
"commits" (and then set transaction again) in the transaction. But the
error continued. The DBA then gave next extent of 50 MB and maxextents 80.
But, yes, the error continued. Now I have given a commit after *every*
insert and update and each transaction is less the 5 K, but the error still
continues.

I don't know what else I can do and the DBA is asking me to split the
transaction further. This I cannot do unless I give an insert, for say 10
columns, commit it and then update the same record for balance 10 columns. I
am at a total loss. I don't think I need to split the transaction further
as it is less than 5 K. Can someone please suggest what could be the
problem?

Thanks and regards,
Alice


dear Alice,
with my little experience I have few suggetions.
1.try it with new installation of Oracle with minimal data and keeping
all the settings to default as possible.If it works,you get a clue.
2.You can always manualy rollback the transaction if you can handle
all the
side effects properly.e.g. delete for insert and update for update
with values maintained in temp table(you need pl-sql).It is bad
way,but something is better
than nothing
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Tuhin Kumar | last post by:
Hi, Is It possible to disable rollback in Oracle 9i. I am running it in a loop deleting 2000 records at a time. The maximum performance I am able to get is 3 lakhs records in 20 minutes. I am...
0
by: Brent Mondoux | last post by:
Hey everyone, I have a set of stored procedures that call each other to perform a set of tasks. I have decided to do this for database performance reasons rather than doing it from a ColdFusion...
3
by: level8 | last post by:
Hi, Everybody, I'm a Hungarian SQL user and I need a little help for SQL Server 7 ! I protect my table against bad data with a trigger. I use ROLLBACK and RAISERROR statement in this trigger....
2
by: mahajan.sanjeev | last post by:
I have two SQLConnection objects having the same connection string and two corresponding SQLCommand objects for each connection object. I am using SQLTransaction with the first SQLConnection object...
2
by: mahajan.sanjeev | last post by:
Hi, I am having problems with rollback using the SQLTransaction object. I am trying to insert records in two tables in a transaction. I want to rollback all the changes if any exception occurs...
1
by: João Santa Bárbara | last post by:
Hi all i have this problem . i have 2 tables ( they are not master detail ) 2 simple tables, and i´m doing a simple update just like this try Trans = Con.BeginTransaction .............
2
by: Ian Boyd | last post by:
We're encountering a situation where we're encountering a deadlock, and someone's been made the deadlock victim. But after that, DB2 refuses to run any SQL, and instead we get the error message: ...
0
by: yogeeswar | last post by:
Hi All I wrote SP with number of delete commands in an atomic block.And there is a possibility of deleting records from parent table before child table so I wrote a handler to handle the...
2
by: Alice | last post by:
Hi all, I have a problem with rollback segment. I am a beginner and do not have much knowledge of DBA. Anyways, the problem is there is a transaction of around 105 MB. This would not fit...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.