Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> strange (?) ora7 behaviour using CTAS

strange (?) ora7 behaviour using CTAS

From: Rahul <rahul_at_ratelindo.co.id>
Date: Fri, 08 Nov 2002 01:28:28 -0800
Message-ID: <F001.004FE9D2.20021108012828@fatcity.com>


list... this is something i cannot explain..

goal: to CTAS in a newly created tablespace

  1. i created two raw devices test01 and test02
  2. create tablespace test datafile '/dev/rtest01' size 1040m;
  3. alter tablespace test add datafile '/dev/rtest02' size 1040m;
  4. create table ratedlocal_test tablespace test storage(initial 1016m next 896 minextents 2 pctincrease 0 freelists 2) unrecoverable parallel 3 as (select * from ratedlocalcalls) /

when the table creation was going on.. i happen to look at the v$filestat numbers, i found
that the raw device TEST02 was being written to first !!! (it's the SECOND datafile in the tablespace creation)

my understanding is that when a table is created, the extents are
(initially) taken from the datafile which is
the first file when the tbs was created !!!

what could be the logic behind this ??

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rahul
  INET: rahul_at_ratelindo.co.id

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 Nov 08 2002 - 03:28:28 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US