Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How do I create a temp table with no logging?
Jake - The syntax is
create table test2 nologging as select * from test;
Taking the advice of the experts on this list, I decided to confirm this, I ran the query Mike Hatley posted a few days ago:
select s.sid,s.value
from v$sesstat s
where s.statistic#=99
and s.value!=0
I found some interesting results I can't understand:
Small table (75 rows) nologging - 673,776 (bytes??) Medium table (35,000 rows) nologging - 84,424 Medium table with default (logging) - 84,040
Can anyone offer a theory?
Dennis Williams
DBA, 80%OCP, 100% DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com
-----Original Message-----
Sent: Friday, August 08, 2003 2:44 AM
To: Multiple recipients of list ORACLE-L
Hello,
I am trying to make a temp table with no logging as select * from table.
Does anyone have a good example? THanks a ton!
Jake
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Jake Johnson
INET: plutoid_at_plutoid.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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).
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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). Received on Fri Aug 08 2003 - 12:39:23 CDT