Re: undo and insert

2003-12-26 Thread Akshay Kumar
What is ITL ? - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 4:59 PM Just the previous version of the changed columns, plus an overhead of about 80 bytes which relates to ITLs, linked lists, operation descriptions

Re: undo and insert

2003-12-26 Thread Jared . Still
Please respond to ORACLE-L To:Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:Re: undo and insert What is ITL ? - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 4:59 PM

Re: undo and insert

2003-12-24 Thread zhu chao
For insert, in order to rollback, Oracle will still have to get the rowid of the new inserted rows, so that it can rollback when needed. So there will still be undo. - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Thursday, December 25, 2003 1:49

Re: undo and insert

2003-12-24 Thread A Joshi
I have a related question : What about update? In rollback segment : Will it store the whole row for before image or just the changed column and rowid. Is there a way to get the size of the rollback from some where in the database. or v$ views. Like we can get an idea about redo size from redo log

Re: undo and insert

2003-12-24 Thread Jonathan Lewis
And then there's the previous version of whichever ITL entry gets taken by the transaction doing the insert. Regards Jonathan Lewis http://www.jlcomp.demon.co.uk The educated person is not the person who can answer the questions, but the person who can question the answers -- T. Schick

Re: undo and insert

2003-12-24 Thread Jonathan Lewis
Just the previous version of the changed columns, plus an overhead of about 80 bytes which relates to ITLs, linked lists, operation descriptions etc. Bear in mind that undo relating to indexes is not the same as undo relating to tables, though. An update to an indexed column results in one

RE: UNDO Tablespace

2003-08-14 Thread Stephane Faroult
Given the answer you got, you can bet that their application must be fun to look at ... Undo space is basically born-again rollback segments; look for Dan Fink's papers on the topic, you'll probably find all the answers you need there. I presume that you must be getting something like ORA-1555.

Re: UNDO Tablespace

2003-08-14 Thread rgaffuri
otn.oracle.com click documentation, books. answer is in the concepts document. The DBA is correct, but the answer could be simplified. Undo creates before images of transactions. It only captures the before images of 'rows' involved in insert,update, and delete statements. Not all the rows in

Re: UNDO Tablespace

2003-08-14 Thread Rachel Carmichael
Sherrie, First, the Oracle documentation does a pretty good job of explaining how undo works. check out the concepts manual. Second, you might want to read Dan Fink's papers on Undo Internals, you can find them on his website at http://www.optimaldba.com/library.html He does a very good job of

Re: UNDO Tablespace

2003-08-14 Thread Daniel Fink
Sherrie, Also check out Tim Gorman's paper/presentation Cat's, Dog's and ORA-1555s on his website www.evdbt.com. It is a great place to start, then move on to my papers which are more geeky in nature (reading block dumps, following the undo chain, etc.). Daniel Fink (Gotta run, just checking

Re: UNDO Tablespace

2003-08-14 Thread Tanel Poder
Hi! What exact error message you get? Maybe it's ORA-1555, not running out of free space in undo seg? If you got 1555's, then increase your undo retention to the lenght of longest query. Or redesign. The DBA is wrong, no physical copies of any tables are made in undo (well, unless you update all

RE: UNDO Tablespace

2003-08-12 Thread Hately, Mike (LogicaCMG)
The answer for this from our vendor is to increase the size of the UNDO based on their DBAs statement that UNDO is consumed rapidly because every query makes a physical copy of all tables and holds on to them for the retention period. Sherrie, In my considered opinion: Woohoohoohoo. That's a

Re: undo tablespace and rollback segments in oracle9i

2003-07-30 Thread Kirtikumar Deshpande
Your question is not very clear. Sorry. Can you please post results of following commands? Thanks. - Kirti SQL show parameter undo SQL select segment_name, tablespace_name from dba_rollback_segs; SQL select a.usn, a.name, b.status 2 from v$rollname a, 3 v$rollstat b 4

Re: undo tablespace and rollback segments in oracle9i

2003-07-30 Thread Daniel Fink
The scenario you describe is not consistent with manual undo. Was the database created/started with automatic undo and you have switched to manual? [EMAIL PROTECTED] wrote: I use manual managed undo tablespace but there are some system named rollback segments on that tablespace ( I did

RE: undo tablespace and rollback segments in oracle9i

2003-07-30 Thread A.Bahar
hi , please look attached file ; -Original Message- Sent: Wednesday, July 30, 2003 3:52 PM To: [EMAIL PROTECTED] Cc: Bahar, Arslan Your question is not very clear. Sorry. Can you please post results of following commands? Thanks. - Kirti SQL show parameter undo SQL select

RE: undo tablespace and rollback segments in oracle9i

2003-07-30 Thread A.Bahar
yes . What should i do -Original Message- Sent: Wednesday, July 30, 2003 5:30 PM To: Multiple recipients of list ORACLE-L The scenario you describe is not consistent with manual undo. Was the database created/started with automatic undo and you have switched to manual? [EMAIL

Re: undo tablespace and rollback segments in oracle9i

2003-07-30 Thread Daniel Fink
If you are now running in manual undo mode and have created rollback segments, you can remove the undo segments. Verify that the segments are offline and you are not using them. Then drop the undo tablespace. This is the only way to get rid of them. [EMAIL PROTECTED] wrote: yes . What should

RE: undo tablespace and rollback segments in oracle9i

2003-07-30 Thread Kirtikumar Deshpande
Your attachment was removed by the list server. However, your direct e-mail to me had the following: SQL show parameter undo ; NAME TYPEVALUE --- --

Re: Undo Analyze Table

2003-06-16 Thread jo_holvoet
Analyze table ... delete statistics; regards Jo Hussain Ahmed Qadri [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 06/16/2003 08:54 Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:Undo Analyze Table

Re: Undo Analyze Table

2003-06-16 Thread Darrell Landrum
You might try playing with different values for optimizer_index_cost_adj. If this is still at the default of 100, it may be allowing the optimizer to consider the index more expensive than it should. You can change this parameter at the session level, but may consider testing to lower it system

Re: Undo Analyze Table

2003-06-16 Thread Mladen Gogala
The answer is found in the Jonathan Lewis book Building Efficient Databases. You should set OPTIMIZER_INDEX_COST_ADJ and OPTIMIZER_INDEX_CACHING. Explanation: It is realistic to expect a part of an index to be cached and it is also realistic to expect the index access to be somewhat cheaper then

RE: Undo Analyze Table

2003-06-16 Thread Hussain Ahmed Qadri
Title: RE: Undo Analyze Table Thank you all, I'll test and see what helps, Regards, Hussain -Original Message- From: Mladen Gogala [mailto:[EMAIL PROTECTED]] Sent: Monday, June 16, 2003 5:37 PM To: Multiple recipients of list ORACLE-L Subject: Re: Undo Analyze Table The answer

Re: Re: Undo Analyze Table

2003-06-16 Thread Zhai Jingmin
There's a good document about this two interesting parameters: http://www.evdbt.com/SearchIntelligenceCBO.doc and also see asktom http://asktom.oracle.com/pls/ask/f?p=4950:8:308736813964790489::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:6601251003901, === At 2003-06-16, 04:37:00 you wrote:

RE: undo tablespace

2003-01-29 Thread Hately, Mike (NESL-IT)
Breno, There's no way to do this because it's the central pillar of Oracle's read consistency mechanism. It's possible to minimise or suppress redo but undo is out of your control. regards, Mike Hately -Original Message- Sent: 29 January 2003 11:39 To: Multiple recipients of list

RE: Undo Segment of 4GB for 1mn 4col update ?

2003-01-21 Thread Hemant K Chitale
At the next set of runs, I did increment the counter variable. However as it is in a cursor and loop, the loop should still loop through all the records in the table and then error out with sql%notfound after the last record ? Anyway, see my next mail on the timings when I ran it thrice with

RE: Undo Segment of 4GB for 1mn 4col update ?

2003-01-20 Thread Richard Ji
It seems like you are in an infinte loop. Your counter cntr never gets incremented. -Original Message- Sent: Monday, January 20, 2003 8:19 PM To: Multiple recipients of list ORACLE-L I have been trying to run a benchmark of a server [9iRel2 on HPUX] The database is 9.2.0.2 with

Re: UNDO segments in 9.2

2003-01-08 Thread Arup Nanda
Gene, First of all, the out of space failure may be perfectly normal. Even if you do a 200M table import there are several other recursive statements that generate a lot of undo information, including but not limited to segment expansion, extent creation, partition operation process, etc. Some

RE: UNDO segments in 9.2

2003-01-08 Thread Fink, Dan
Gene, Are you using Automatic (System Managed) UNDO? or the traditional Rollback segment method? If you are using Automatic UNDO, you should have more than 2 segments in the UNDO tablespace. The number of segments initially created is the function of processes and the minimum I

Re: UNDO segments in 9.2

2003-01-08 Thread Jonathan Lewis
Is the table a pre-existing empty table, or is it being created on the fly by the import ? In the latter case, does your table have a primary key, or other index - as this could explain why you are seeing two large rollback segments. (Although 200M of table plus an index shouldn't take anything

RE: UNDO RETENTION

2002-12-12 Thread Paula_Stankus
Title: RE: UNDO RETENTION Having had frustration with rollback segments from time to time over the years I am happy to let Oracle handle it with their recommended automatic undo management and a defined undo tablespace. However, it isn't that simple is it? I imagine that undo retention

RE: UNDO RETENTION

2002-12-12 Thread Connor McDonald
v$undostat has a maxquerylen column - thats a good starting point in terms of avoiding ora-1555's if that's your primary concern hth connor --- [EMAIL PROTECTED] wrote: Having had frustration with rollback segments from time to time over the years I am happy to let Oracle handle it with

RE: UNDO RETENTION

2002-12-12 Thread DENNIS WILLIAMS
Paula - Oracle has added a new table in 9i to help your analysis. V$UNDOSTAT has a column MAXQUERYLEN that lists the longest query time, and can provide a guide. SSOLDERRCNT column counts the number of snapshot too old errors in a time period. In theory this should assist you in deciding whether

RE: UNDO

2002-07-17 Thread DENNIS WILLIAMS
John - I am running a 9iR2 database. I figured that Oracle development might have fixed undo by now, so I created the database using the automated Oracle GUI tool. I notice that it left the SYSTEM rollback segment online. HTH. Dennis Williams DBA Lifetouch, Inc. [EMAIL PROTECTED] -Original

RE: UNDO

2002-07-17 Thread Fink, Dan
John, The system rollback segment must be kept online for use by the kernel calls (recursive sql). I admit that I have never tried taking it offline in automatic undo mode, so I'm not sure exactly what would happen. However, my educated guess is that it would not be pretty! Dan Fink

RE: UNDO

2002-07-17 Thread John Weatherman
I've noticed the create tool for R1/2 seem to leave the segment on-line. I just wondered if it were an oversight and I need to clean it up or if it's being used by Oracle itself for some strange reason/under some circumstances. If the latter, I'd really like to know when before it bites me. :)

RE: UNDO

2002-07-17 Thread Freeman, Robert
An attempt to take the system tablespace offline, while in automated undo mode, will result in a hologram of Larry appearing and then he slaps you upside the head. This is followed by the more typical ORA-01597: Cannot alter system rollback segment online or offline. Just one of those nice new

Re: UNDO

2002-07-17 Thread Danisment Gazi Unal (ubTools)
Hello Fink, I guess you meant recursive transaction. Because, user SQLs in stored codes run as recursive SQLs, but they are not recursive transactions. Recursive transactions don't have to be use SYSTEM rollback segment. If the RBS of parent statement can not be binded to its recursive

Re: Undo x Rollback Segments in 9i

2001-09-25 Thread Eca Eca
[EMAIL PROTECTED] Subject: Re: Undo x Rollback Segments in 9i Date: Mon, 24 Sep 2001 06:00:22 -0800 I'm testing it for potential demo at ioug 2002, since i've got a abstract in for undo management and flashback query. does that help any? joe [EMAIL PROTECTED] 09/24/01 09:15AM Thursday

Re: Undo x Rollback Segments in 9i

2001-09-24 Thread Jonathan Gennick
Thursday, September 20, 2001, 9:40:17 PM, you wrote: EE does anyone use it or know how to use Automatic Undo ? EE What is the best option : I don't know which is best. I did recently notice that the default database you get when you install Oracle9i uses automatic undo. I also discovered that

Re: Undo x Rollback Segments in 9i

2001-09-24 Thread JOE TESTA
I'm testing it for potential demo at ioug 2002, since i've got a abstract in for undo management and flashback query. does that help any? joe [EMAIL PROTECTED] 09/24/01 09:15AM Thursday, September 20, 2001, 9:40:17 PM, you wrote:EE does anyone use it or know how to use Automatic Undo ?EE

Re: Undo x Rollback Segments in 9i

2001-09-22 Thread Jonathan Lewis
One issue I have observed with System-Managed Undo is that Oracle seems to be very aggressive about keeping the rollback segments the 'right' size for the keep-time. In the one set of tests I ran, this resulted in frequent extends and shrinks of the generated rollback segment, with a resulting

RE: Undo x Rollback Segments in 9i

2001-09-21 Thread Christopher Spence
There are two modes of rollback in 9i, undo and rollback. You either use the old way, or the new automatic way, but not both. You would need to turn off the new feature if you want to use the old method of doing redo. Do not criticize someone until you walked a mile in their shoes, that way

RE: Undo x Rollback Segments in 9i

2001-09-21 Thread Cherie_Machler
: pot.com Subject: RE: Undo x Rollback Segments in 9i Sent by: [EMAIL PROTECTED

RE: Undo x Rollback Segments in 9i

2001-09-21 Thread Christopher Spence
: pot.com Subject: RE: Undo x Rollback Segments in 9i Sent by: [EMAIL PROTECTED] om 09/21/01 02:30 PM Please respond

RE: Undo x Rollback Segments in 9i

2001-09-21 Thread Godlewski, Melissa
in order to do that? Thanks, Cherie Christopher Spence To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cspence@FuelS cc: pot.com Subject: RE: Undo x

Re: Undo x Rollback Segments in 9i

2001-09-20 Thread Joe Testa
have u read the docs on the differences yet? there is a bit to read about(as i'm going thru it all for a potential presentation on automatic undo management). i think the verdict has not been decided yet as to whether its good or not as its too new for alot of people. joe Eca Eca wrote:

RE: Undo x Rollback Segments in 9i

2001-09-20 Thread MacGregor, Ian A.
I would not use automatic undo management with 9i until they debug it. We had a posting a few weeks ago on bug 1904199 or a variant thereof. Here are the last few lines from the mail detailing the problem Then one day on trying to reopen the database following Errors in file