473,698 Members | 2,132 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Rollback usage query

Hi all,

Given a rollback segment with storage as follows :
Initial Extent 5 MB
Next Extent 5 MB
Min Extents 20

Does this mean that every time a transaction uses this rollback segment it
allocates 100 MB ?
Does this mean that if there are two transactions using this rollback
segment, 200 MB is required ?

Thanks,
Alice
Jul 19 '05 #1
2 3726
No. A transaction will only use as much space as it requires.

The rollback segment tablespace is just like any other tablespace (as
far as storage is concerned). Therefore it will allocate storage in
multiples of database blocks (db_block_size) .

A rollback segment that has 20 extents of 5Mb each has 100Mb available
for use by any number of transactions concurrently.

Matt

"Alice" <al***@reply-to-group.com> wrote in message news:<40******* *@news.tm.net.m y>...
Hi all,

Given a rollback segment with storage as follows :
Initial Extent 5 MB
Next Extent 5 MB
Min Extents 20

Does this mean that every time a transaction uses this rollback segment it
allocates 100 MB ?
Does this mean that if there are two transactions using this rollback
segment, 200 MB is required ?

Thanks,
Alice

Jul 19 '05 #2
Thank Matt.

Regards,
Alice

"Matt" <mc***@hotmail. com> wrote in message
news:cf******** *************** ***@posting.goo gle.com...
No. A transaction will only use as much space as it requires.

The rollback segment tablespace is just like any other tablespace (as
far as storage is concerned). Therefore it will allocate storage in
multiples of database blocks (db_block_size) .

A rollback segment that has 20 extents of 5Mb each has 100Mb available
for use by any number of transactions concurrently.

Matt

"Alice" <al***@reply-to-group.com> wrote in message

news:<40******* *@news.tm.net.m y>...
Hi all,

Given a rollback segment with storage as follows :
Initial Extent 5 MB
Next Extent 5 MB
Min Extents 20

Does this mean that every time a transaction uses this rollback segment it allocates 100 MB ?
Does this mean that if there are two transactions using this rollback
segment, 200 MB is required ?

Thanks,
Alice

Jul 19 '05 #3

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

Similar topics

2
11347
by: Gert Schumann | last post by:
I want to delete just parts of tables, so I can't use 'TRUNCATE'. As I want to delete about millions of lines, I need a very big rollback segment. The best way would be to delete without using rollback because the delete really takes a lot of time copying all data into the rollback file. Is this possible with oracle? Many thanks for any help! Gert
1
3013
by: jacob.miles | last post by:
Hello. I'm trying to wrap a function call in a transaction, but when I intentionally throw an exception in the middle of the function it doesn't actually roll back the transaction. The debug output says 1/ROLLBACK, without any 1/COMMITs in there, but when I view the data in the command-line mysql utility the changes have been made. This is the code I'm using to connect to the mysql database and to wrap the function call in a...
1
2148
by: boston01 | last post by:
I am testing a database application. It works fine when only one user uses the application, however, when there are concurrent users, I saw rollbacks in event log. Can experts in this group tell me what is going on? Thanks, jz
0
5591
by: minapatel | last post by:
I have the following procedure CREATE OR REPLACE procedure FOL_PURGE_CASES as /* type "SET SERVEROUTPUT ON" in sqlplus to debug !! */ cursor all_cases is cursor all_cases is select c.id00_warehouse, c.id00_case_nbr, c.id00_status_flag, c.id00_dlm from phpick00 a, chcart00 b, idcase00 c
1
5744
by: cheesey_toastie | last post by:
I have a long query which I have set off and would like to stop, and rename one of the tables used. My query is due to my lack of understanding of the underlying structure of MSSQL-Server... So say and update updates TABLE_A and I stop it, whilst this transaction is rolling back I attempt to rename TABLE_A to TABLE_A_OLD and rename a different table to become TABLE_A. I am assuming that the rollback actions will use the object...
2
10800
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: "Application must execute a rollback. The unit of work has already been rolled back in the database but other resource managers involved in this unit of work might not. To ensure integrity of this application, all SQL requests will be rejected...
12
3958
priyan
by: priyan | last post by:
Hi all, I want to check the difference between the truncate and delete command. I know the difference between them ie., truncate is DDL and delete is DML statement. Delete can be rollbacked know but i tried it but it does not work out. I tried this command update employee set name='arun' where id=1; ROLLBACK;
2
153
by: Alice | last post by:
Hi all, Given a rollback segment with storage as follows : Initial Extent 5 MB Next Extent 5 MB Min Extents 20 Does this mean that every time a transaction uses this rollback segment it allocates 100 MB ? Does this mean that if there are two transactions using this rollback
1
3266
by: Laurence | last post by:
Hi, DB2/400 seems not able to auto-rollback one of transactions while dead- lock occurred. I called the procecure QSYS.CREATE_SQL_SAMPLE for creating sample database, and used ISQL (STRSQL) & Navigator (Run SQL Scripts) to evaluate it:
0
8600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9156
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9021
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8860
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7712
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4361
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4614
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3038
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.