Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: "create table as" statement versus an "insert into" statement (performance
I don't think that the entire object is created when you do a create table
as select * ... Check the space usage, constraints etc to verify...
Hth,
Frank
-----Original Message-----
From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of
Heidi_Schmidt_at_gillette.com
Sent: Monday, October 23, 2000 8:02 PM
To: Multiple recipients of list ORACLE-L
Subject: "create table as" statement versus an "insert into" statement
(performance
I could use some help.
Does someone know why a create table as statement would perform better than a truncate table, and then insert into statement? Gut instinct tells me the create table is cleaner and the insert into has to find free chunks, but that can't be all of it.
The background is that we have some developers who are executing large data loads and have to recreate objects every evening as part of a hierarchical OLAP tool process. They are looking to shave time wherever they can to get it all into their batch window.
I am not sure where to begin to look for information that would show why one way would perform better than the other. I think it would be under parsing algorithms, which would be cool to learn if there was a list of them or a chart.
Thanks in advance,
Heidi
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Heidi_Schmidt_at_gillette.com 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: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Tue Oct 24 2000 - 01:23:12 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |