RE: rollback use query

2001-06-12 Thread Seema Singh


Yosi
I have tested and found CTAS use rollback.
Thanks
-Seema

From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Subject: RE: rollback use query
Date: Mon, 11 Jun 2001 13:20:27 -0800

I'd hate to argue with Anita, but I'm pretty sure that rollback
won't be used on CTAS, since it's ddl.

Somebody verify or correct please?

Thanx,

Yosi


  -Original Message-
  From: Seema Singh [mailto:[EMAIL PROTECTED]]
  Sent: Monday, June 11, 2001 1:21 PM
  To: Multiple recipients of list ORACLE-L
  Subject: rollback use query
 
 
  Hi Gurus
  I have one question.
  Create table tbl2 as select * from tbl1;
  will above query use the rollback segment or not? and why?
  Thx
  -Seema
 
  _
  Get your FREE download of MSN Explorer at http://explorer.msn.com
 
  --
  Please see the official ORACLE-L FAQ: http://www.orafaq.com
  --
  Author: Seema Singh
INET: [EMAIL PROTECTED]
 
  Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
  San Diego, California-- Public Internet access / Mailing Lists
  
  To REMOVE yourself from this mailing list, send an E-Mail message
  to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
  the message BODY, include a line containing: UNSUB ORACLE-L
  (or the name of mailing list you want to be removed from).  You may
  also send the HELP command for other information (like subscribing).
 
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
   INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

_
Get your FREE download of MSN Explorer at http://explorer.msn.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Seema Singh
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: rollback use query

2001-06-12 Thread A. Bardeen

Kirti and Yosi,

 It's a good idea to not argue with Anita! :)
  Oh puhleeze!!  Argue with me all you want,
especially when I'm wrong.  I'm a big girl, I can take
it ;)  Now if you want to convince my boyfriend not to
argue with me, be my guest!

You're both correct and I should have been more
specific in my response.  The rollback generated is
due to the dd changes for creating the new table and
extent allocation, so it's no where near the amount
used for the equivalent create table and conventional
inserts.  It's not exclusively DDL, though as it does
require a non-system RBS, whereas a simple create
table statement doesn't.

-- Anita

--- Deshpande, Kirti [EMAIL PROTECTED]
wrote:
 Hi Yosi, 
 It's a good idea to not argue with Anita! :) 
 Just do a simple test to confirm. Monitor 'writes'
 in v$rollstat before and
 after running the CTAS. Good, if you have a test db
 and no one but you are
 the sole user.
 You will never ever forget what you find.
 Just do it! 
 :) 
 
 Regards,
 
 - Kirti Deshpande 
   Verizon Information Services
http://www.superpages.com
 
  -Original Message-
  From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
  Sent:   Monday, June 11, 2001 4:20 PM
  To: Multiple recipients of list ORACLE-L
  Subject:RE: rollback use query
  
  I'd hate to argue with Anita, but I'm pretty sure
 that rollback
  won't be used on CTAS, since it's ddl.
  
  Somebody verify or correct please?
  
  Thanx,
  
  Yosi
  
  
   -Original Message-
   From: Seema Singh
 [mailto:[EMAIL PROTECTED]]
   Sent: Monday, June 11, 2001 1:21 PM
   To: Multiple recipients of list ORACLE-L
   Subject: rollback use query
   
   
   Hi Gurus
   I have one question.
   Create table tbl2 as select * from tbl1;
   will above query use the rollback segment or
 not? and why?
   Thx
   -Seema
   
  
 -- 
 Please see the official ORACLE-L FAQ:
 http://www.orafaq.com
 -- 
 Author: Deshpande, Kirti
   INET: [EMAIL PROTECTED]
 
 Fat City Network Services-- (858) 538-5051  FAX:
 (858) 538-5051
 San Diego, California-- Public Internet
 access / Mailing Lists


 To REMOVE yourself from this mailing list, send an
 E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of
 'ListGuru') and in
 the message BODY, include a line containing: UNSUB
 ORACLE-L
 (or the name of mailing list you want to be removed
 from).  You may
 also send the HELP command for other information
 (like subscribing).


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: A. Bardeen
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: rollback use query

2001-06-12 Thread Deshpande, Kirti

Anita,
 Now if you want to convince my boyfriend not to
 argue with me, be my guest!

 Just convince him to become an Oracle DBA ;) 
 
- Kirti 

 -Original Message-
 From: A. Bardeen [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, June 12, 2001 1:02 PM
 To:   Multiple recipients of list ORACLE-L
 Subject:  RE: rollback use query
 
 Kirti and Yosi,
 
  It's a good idea to not argue with Anita! :)
   Oh puhleeze!!  Argue with me all you want,
 especially when I'm wrong.  I'm a big girl, I can take
 it ;)  Now if you want to convince my boyfriend not to
 argue with me, be my guest!
 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Deshpande, Kirti
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: rollback use query

2001-06-12 Thread Yosi

Right. I knew that part too, and I'm feeling much better now.
I was beginning to get a queasy uneasy feeling there, where
your world spins out of focus type thing. :-)

Thanks, Anita.



 -Original Message-
 From: A. Bardeen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 12, 2001 2:02 PM
 To: Multiple recipients of list ORACLE-L
 Subject: RE: rollback use query
 
 
 Kirti and Yosi,
 
  It's a good idea to not argue with Anita! :)
   Oh puhleeze!!  Argue with me all you want,
 especially when I'm wrong.  I'm a big girl, I can take
 it ;)  Now if you want to convince my boyfriend not to
 argue with me, be my guest!
 
 You're both correct and I should have been more
 specific in my response.  The rollback generated is
 due to the dd changes for creating the new table and
 extent allocation, so it's no where near the amount
 used for the equivalent create table and conventional
 inserts.  It's not exclusively DDL, though as it does
 require a non-system RBS, whereas a simple create
 table statement doesn't.
 
 -- Anita
 
 --- Deshpande, Kirti [EMAIL PROTECTED]
 wrote:
  Hi Yosi, 
  It's a good idea to not argue with Anita! :) 
  Just do a simple test to confirm. Monitor 'writes'
  in v$rollstat before and
  after running the CTAS. Good, if you have a test db
  and no one but you are
  the sole user.
  You will never ever forget what you find.
  Just do it! 
  :) 
  
  Regards,
  
  - Kirti Deshpande 
Verizon Information Services
 http://www.superpages.com
  
   -Original Message-
   From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
   Sent: Monday, June 11, 2001 4:20 PM
   To:   Multiple recipients of list ORACLE-L
   Subject:  RE: rollback use query
   
   I'd hate to argue with Anita, but I'm pretty sure
  that rollback
   won't be used on CTAS, since it's ddl.
   
   Somebody verify or correct please?
   
   Thanx,
   
   Yosi
   
   
-Original Message-
From: Seema Singh
  [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 1:21 PM
To: Multiple recipients of list ORACLE-L
Subject: rollback use query


Hi Gurus
I have one question.
Create table tbl2 as select * from tbl1;
will above query use the rollback segment or
  not? and why?
Thx
-Seema

   
  -- 
  Please see the official ORACLE-L FAQ:
  http://www.orafaq.com
  -- 
  Author: Deshpande, Kirti
INET: [EMAIL PROTECTED]
  
  Fat City Network Services-- (858) 538-5051  FAX:
  (858) 538-5051
  San Diego, California-- Public Internet
  access / Mailing Lists
 
 
  To REMOVE yourself from this mailing list, send an
  E-Mail message
  to: [EMAIL PROTECTED] (note EXACT spelling of
  'ListGuru') and in
  the message BODY, include a line containing: UNSUB
  ORACLE-L
  (or the name of mailing list you want to be removed
  from).  You may
  also send the HELP command for other information
  (like subscribing).
 
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail - only $35 
 a year!  http://personal.mail.yahoo.com/
 -- 
 Please see the official ORACLE-L FAQ: http://www.orafaq.com
 -- 
 Author: A. Bardeen
   INET: [EMAIL PROTECTED]
 
 Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
 San Diego, California-- Public Internet access / Mailing Lists
 
 To REMOVE yourself from this mailing list, send an E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
 the message BODY, include a line containing: UNSUB ORACLE-L
 (or the name of mailing list you want to be removed from).  You may
 also send the HELP command for other information (like subscribing).
 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: rollback use query

2001-06-11 Thread Yosi

I'd hate to argue with Anita, but I'm pretty sure that rollback
won't be used on CTAS, since it's ddl.

Somebody verify or correct please?

Thanx,

Yosi


 -Original Message-
 From: Seema Singh [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 11, 2001 1:21 PM
 To: Multiple recipients of list ORACLE-L
 Subject: rollback use query
 
 
 Hi Gurus
 I have one question.
 Create table tbl2 as select * from tbl1;
 will above query use the rollback segment or not? and why?
 Thx
 -Seema
 
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com
 
 -- 
 Please see the official ORACLE-L FAQ: http://www.orafaq.com
 -- 
 Author: Seema Singh
   INET: [EMAIL PROTECTED]
 
 Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
 San Diego, California-- Public Internet access / Mailing Lists
 
 To REMOVE yourself from this mailing list, send an E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
 the message BODY, include a line containing: UNSUB ORACLE-L
 (or the name of mailing list you want to be removed from).  You may
 also send the HELP command for other information (like subscribing).
 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: rollback use query

2001-06-11 Thread Deshpande, Kirti

Hi Yosi, 
It's a good idea to not argue with Anita! :) 
Just do a simple test to confirm. Monitor 'writes' in v$rollstat before and
after running the CTAS. Good, if you have a test db and no one but you are
the sole user.
You will never ever forget what you find.
Just do it! 
:) 

Regards,

- Kirti Deshpande 
  Verizon Information Services
   http://www.superpages.com

 -Original Message-
 From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, June 11, 2001 4:20 PM
 To:   Multiple recipients of list ORACLE-L
 Subject:  RE: rollback use query
 
 I'd hate to argue with Anita, but I'm pretty sure that rollback
 won't be used on CTAS, since it's ddl.
 
 Somebody verify or correct please?
 
 Thanx,
 
 Yosi
 
 
  -Original Message-
  From: Seema Singh [mailto:[EMAIL PROTECTED]]
  Sent: Monday, June 11, 2001 1:21 PM
  To: Multiple recipients of list ORACLE-L
  Subject: rollback use query
  
  
  Hi Gurus
  I have one question.
  Create table tbl2 as select * from tbl1;
  will above query use the rollback segment or not? and why?
  Thx
  -Seema
  
 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Deshpande, Kirti
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: rollback use query

2001-06-11 Thread John Kanagaraj

Hi Yosi,

 I'd hate to argue with Anita, but I'm pretty sure that rollback
 won't be used on CTAS, since it's ddl.

CTAS or any DDL for that matter *will* need to write to SYS tables - (UET$,
FET$ in this simple case as it needs to preserve information about extents
allocated, etc.) and this generates a small amount of redo.

Not that I'd argue with Anita anyway 8-)

John Kanagaraj
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: John Kanagaraj
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).