Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Breaking a Table Data into Partitions
Joe
AIM A Sample Test to Convert a NON-partitioned Table into a Partitioned Table Failing :-
7 rows selected.
Qs. WHERE IS THE PROBLEM ? Where am i making a mistake ?
NOTE - OBSERVATIONS - Following Commands Succeeding though
SQL> insert into sol2 select * from sol1; 7 rows created.
SQL> select sol_id from sol2 partition (solrg1); SOL_ID
SQL> select sol_id from sol2 partition (solrg2); SOL_ID
SQL> select sol_id from sol2;
SOL_ID
7 rows selected.
Qs. Is the Above Approach Taken for Conversion from NON-partitioned to partitioned Table Correct OR are there better ways ?
Qs. What Happens after the Exchange partition is Successful ?
Should the Original Table be Dropped & the NEW partitioned Table be RENAMED as the Original
NON-partitioned Table ?
Qs. Is as much FREE SPACE Required for The Partitioned Table as is Taken Up by the Original NON-partitioned Table OR Will the Used Space in the NON-partitioned Table be Simply RE-Assigned to the NEW Partitioned Table Assuming that Both the NON-partitioned Table & the partitioned Tableexist in the SAME Tablespace ?
> -----Original Message----- > From: Joseph S. Testa [SMTP:teci_at_oracle-dba.com] > Sent: Wednesday, February 14, 2001 5:40 PM > To: Multiple recipients of list ORACLE-L > Subject: Re: Breaking a Table Data into Partitions > > the easiest is to figure out your partition key, split the data into > separate table based on the partition key, then do a alter table > exchange partition command. > > joe > VIVEK_SHARMA wrote: > > > > To Convert a Regular NON-Partitioned Table into Partitions , what > approaches > > may be Taken ? > > > > -- > >
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: VIVEK_SHARMA INET: VIVEK_SHARMA_at_infy.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing ListsReceived on Fri Feb 16 2001 - 03:06:52 CST
--------------------------------------------------------------------
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).
![]() |
![]() |