473,386 Members | 1,795 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,386 software developers and data experts.

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 3710
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.my>...
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.google.c om...
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.my>...
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
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...
1
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...
1
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...
0
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 ...
1
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... ...
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: ...
12
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...
2
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...
1
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)...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.