How to move data from one DB (non-partitioned) to another DB (partitioned)

I have a huge database (2 TB) that is storing data in non-partitioned tables. I want to create another database to store the exact same data but in partitioned tables. How can I do this in the most efficient manner? Good old export and import should work but this would take ages.

Let me give you guys a full picture and see if you could help me.
The existing Unix server is running an Oracle 8i Database (datawarehouse) and I'm planning to create a new 10g database on a new Unix server. After which I will do parallel loading on both databases until I am ready to switch over to the new database. Most of the tables in the existing database is not partitioned and I need it to be partitioned on the new database. My database is around 2.4 TB and it is residing on a SAN (4.4 TB). I am planning only to have the 10g binary files on the new unix server, thus the new database would be on the SAN. Disk space availability is my most immediate concern as I would also have to set aside 600 GB on the SAN for another server.
Any suggestions on how can I do this best?

Similar Messages

  • How to move data from one database to another oracle database

    Hi
    All,
    AIX 5.3
    Oracle 10.2.0.3
    I want to move data between one oracle database to another oracle database.
    I know two method those are
    export/import
    dblink
    is there any other way I can move data?
    Thanks,
    Vishal

    I know below methods. However, using a perticular method is based on volume and type of data.
    1. imp/exp
    2. impdp/expdp
    3. SQL COPY command
    4. Transportable tablespace mathod
    5. dblink
    6. Export to flatfile and then use SQL Loader
    7. Oracle Migration Workbench
    Cheers
    Sameer

  • How to move data from one database to another one?

    I 'd like to build up a new database, some of the data would come from an old database, then I have to make two connection objects to both databases, (two statement objects...) retrieving the data from the old one and inserting them to the new one.... sounds reasonable, huh? but it could not work this way... "........it would have caused the duplicated value , blah, blah..." even though I made two tables in two databases completely different, that errors are still there. seemed I cannot clone that table.
    could you guys have any better ideas? and why couldn't I go this way?
    the database: cloudscape3.01
    two databases are all on my local PC (WinNT4.0)
    thanks

    If you are getting dupicate record errors, then look at your recordset objects and make sure they are both pointing at seperate databases, and check the one you are using to output and make sure it isn't just writing NULL, if it is then trace up the line: your input (read) recordset may be reading NULL too.

  • How to move data from one account to another?

    Sheesh, I think I've created a monster for myself.  I got a new macbook pro and migrated my data from Time Machine.  As I was doing everything I didn't realize that the set up for the computer was in a different account than the migrated data went to.  So I have my main account on the computer and another account with all my emails, itunes pics etc. 
    I think the other account is considered the main account on the computer so just to make sure I have all my privileges etc, I want to transfer all this data into the main account.  Does that make sense? 
    I started figuring all of this out as a problem when my second account (the one with all my old data) could not download podcasts.  I can do that with the main account. 
    Anyway, can anybody tell me a simple way to transfer all of this?  Should I just try to start all over?
    Thanks!

    The Users -> shared folder is a common ground all accounts share.

  • How to select data from one nested table and into another nested table

    create or replace
    TYPE ctxt_code_rec as object
    ctxt_header varchar2(10),
    header_description varchar2(300),
    status varchar2(30),
    adjacent_code varchar2(300),
    adjacent_desc Varchar2(400),
    adjacent_flag varchar2(4000),
    adjacent_text_href varchar2(4000)
    create or replace
    type ctxt_code_table as table of CTXT_CODE_REC
    d_table ctxt_code_table ;
    v_tab ctxt_code_table ;
    Iam trying to select data from d_table to v_tab
    using and bulk collect into
    select m.*
    bulk collect into p_code_result
    from table(l_loop_diag_code_table1)m
    order by 1;
    Receiving error:
    ora 94007 : not enoughvalues
    Could you please let me know how to solve it?
    Thanks,
    in advance

    >
    create or replace
    TYPE ctxt_code_rec as object
    ctxt_header varchar2(10),
    header_description varchar2(300),
    status varchar2(30),
    adjacent_code varchar2(300),
    adjacent_desc Varchar2(400),
    adjacent_flag varchar2(4000),
    adjacent_text_href varchar2(4000)
    create or replace
    type ctxt_code_table as table of CTXT_CODE_REC
    d_table ctxt_code_table ;
    v_tab ctxt_code_table ;
    Iam trying to select data from d_table to v_tab
    using and bulk collect into
    select m.*
    bulk collect into p_code_result
    from table(l_loop_diag_code_table1)m
    order by 1;
    Receiving error:
    ora 94007 : not enoughvalues
    Could you please let me know how to solve it?
    >
    Not unless you provide the code you are actually using.
    There is no definition of 'p_code_result' in your post and you say you 'trying to select data from d_table' but there is no code that loads 'd_table' in what you posted.
    And the SELECT query you posted actuall selects from an object named 'l_loop_idag_code_table1' which isn't mentioned in your code.
    Post the actual code you are using and all of the structures being used.
    Also explain why you even need to use nested tables and PL/SQL for whatever it is you are really doing.

  • How to move data from one cell/sheet to another

    Hi - Help! I have a spreadsheet with multiple columns & rows for ordering clothes. The first column is  text of each item & it's size. What I want to do is:
    IF D15 has a number in it, I want that number and the text from A15 to populate into another sheet.
    Then I want to re-create this function in all the cells, so that if ANY cell has a number in it, that number and the text in the A column of that row shows up in the new sheet, in the corresponding cell.
    here's a screen shot of my sheet:
    Any help would be great!!
    Kim

    Hi Kim,
    I got the same error message when building the formula—it's easy to get lost in all the parentheses!
    Here's a breakdown of the formula I used.
    =IF(OFFSET(Data :: $A$1,ROW()-1,COLUMN())>0,OFFSET(Data :: $A$1,ROW()-1,COLUMN())&" - "&OFFSET(Data :: $A$1,ROW()-1,0),"")
    The overall stucture is an IF statement:
    IF(test,"Yes","No")
    IF(there is a value greater than zero in this cell's 'partner' on the main table,
      (then) copy that value here and append the label in column A of the main table, separated by a space, a dash, and a second space,
        (otherwise) put an empty text string here)
    Test: OFFSET(Data :: $A$1,ROW()-1,COLUMN())>0
    The 'partner' cell on the main table is the one on the same row and one column to the right of the cell containing the formula. (eg. for Summary::B2, the 'partner cell to be tested is Data::C2, the first data cell for Person 2)
    OFFSET(base,r,c)>0 compares the value in the cell r rows below and c columns to the right of the base cell with the value zero.
    Data::$A$1: A1 is my usual choice for the base cell, as it usually simplifies the calculations for r and c.
    ROW()-1: ROW() returns the row number of the row in which it is located. In B2, it will return 2. '-1' reduces that value to 1, the row offset necessary to get from Data::A1 to Data::b2.
    COLUMN(): COLUMN() returns the column number of the column in which it is located. In B2 it will return 2.  No adjustment is necessary, as 2 is the column offset necessary to get from Data::A1 to Data::C2
    OFFSET returns the value in Data::C2 and compares it with 0 (zero). The value (1) is greater than 0, so the test returns TRUE, and the IF function acts on the "yes" section.
    Yes: OFFSET(Data :: $A$1,ROW()-1,COLUMN())&" - "&OFFSET(Data :: $A$1,ROW()-1,0)
    This section contains two OFFSET statements.
    The first is the same as the one in Test, and returns the value in the tested cell (1).
    The second is the same, except for the third argument (c) which is fixed at 0 (zero). This returns the value in the cell in column A (zero columns to the right of A1) in the same row as the tested cell.
    The two returned values are linked by this expression: &" - "&
    "&" is the concatenation operator, which joins the values left and right of it into a text string. Here, the value returned by the first OFFSET (1) is joined to the text (space-space) contained between the double quotes, and that is joined to the value returned by the second OFFSET function (Item 1)
    No: ""
    If there is no number entered in the Data cell being tested, IF acts on the "no" section of the formula, and inserts an empty string ( "" ) in the cell containing the formula. An empty string displays as 'blank', and is the closest one can get to an 'empty' cell using a formula.
    Regarding your questions:
    "I seem to not understand what I'm supposed to put in the () and " " 's. I copied and pasted it and got the error message "the formula contains an invalid referance". DO i put certain row/cell numbers in somewhere?"
    ROW() and COLUMN() should have no argument entered between the parentheses. Each returns the row or column number of the cell containing the formula.
    The double quotes at the end of the IF statement define a text string with no text. You can put any text between them, but that text will then appear in all cells whose 'partner' cell does not contain a number greater than zero.
    The 'invalid reference' error message usually means a formula is referencing a cell that is not on the table. My guess is that your Summary table includes a copy of column A from your Data table. That would place "Person 1" in column B on both tables, and would require an adjustment of 'COLUMN()' to 'COLUMN()-1' in the first two OFFSET functions.
    Another possibility is a mismatch between the Data table name in the formula and the actual name of the Data table.
    Beyond those possibilities, I'd need to see either the document or screen shots of both tables and a copy of the actual formula as you've entered it.
    Regards,
    Barry

  • I need help figuring out how to Link Data from one table in Sharepoint to another table in Sharepoint and make it dynamic

    Hi Everyone,
    I am working on a project that uses SharePoint 2010 for repository and we have multiple tables that we are using.
    One table is a list of the various projects we are working on (workstreams)
    The other is a table with various notes and such, to include meeting notes for the various projects.
    Currently we are just copying the shortcut from the meeting notes table and adding it in as a link in the workstreams status table.
    I need to find out if there is some sort of way to make this process dynamic so that when a new note is added for, lets say workstream #1 in the notes table, it will automatically propogate into the notes link section for workstream #1.
    Is this even possible??
    And if so how would I do it
    I haven't done much with modifying SharePoint in several years, and would Truly appreciate any and all help with this.
    Thanks in advance
    IKE

    Hi IKE,
    According to your description, my understanding is that you want to create a link in the workstreams list linked to the associated item of the notes list.
    Assuming the workstreams list has  Title column and another column called “Note” used to linked to notes list, and the notes list has Title column and another column used to store note.
    Then you can create a workflow on the notes list with SharePoint Designer 2010, and in the workflow, using “Update ListItem” action. And in the workflow Start Options, select “Start workflow automatically when an item is created”.
    For the workflow action, you can set as the screenshot:
    For the string in the String Builder, you need to open an item of notes list, then copy the URL of the display form and paste here, the URL will look something like this:
    http://sp/Lists/notes/DispForm.aspx?ID=1&Source=http%3A%2F%2Fsp%2FLists%2Fnotes%2FAllItems%2Easpx&ContentTypeId=0x0100300025278693CE49A5E3A394B23AD9E1&IsDlg=1
    Now, you need to replace the ID of the item using [%Current Item:ID%], for example in the above link, delete the number 1 and add [%Current Item:ID%].
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to move data from a staging table to three entity tables #2

    Environment: SQL Server 2008 R2
    I have a few questions:
    How would I prevent duplicate records, when/ IF SSIS is executed many times?
    How would I know that all huge volume of data being loaded in the entity tables?
    In reference to "how to move data from a staging table to three entity tables ", since I am loading large volume of data, while using lookup transformation:
    which of the merge components is best suited.
    How to configure merge component correctly. (screen shot is preferred) 
    Please refer to the following link
    http://social.msdn.microsoft.com/Forums/en-US/5f2128c8-3ddd-4455-9076-05fa1902a62a/how-to-move-data-from-a-staging-table-to-three-entity-tables?forum=sqlintegrationservices

    You can use RowCount transformation in the path where you want to capture record details. Then inside rowcount transformation pass a integer variable to get count value inside
    the event handler can be configured as below
    Inside Execute SQL task add INSERT statement to add rowcount to your audit table
    Can you also show me how to Check against destination table using key columns inside a lookup task and insert only non
    matched records (No Match output)
    This is explained clearly in below link which Arthur posted
    http://www.sqlis.com/sqlis/post/Get-all-from-Table-A-that-isnt-in-Table-B.aspx
    For large data I would prefer doing this in T-SQL. So what you could do is dump data to staging table and then apply
    T-SQL MERGE between tables (or even a combination of INSERT/UPDATE statements)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Move data from one fs to another from a particular position.

    Hi all,
    i have a requirement where i want to move data from one field symbol to another from a particular
    position.
    I have a work area which contains string values. i have converted this string to hexadecimal value .
    in this hex string m lukin for a position where '0A' occurs. Now i have to pick the string till dis '0A' value and move it to some other field symbol. Can anybody tell me how to do that.
    The code i have written is as follows:
      FIELD-SYMBOLS: <fs> TYPE x.
                 data: temp1 type string,
                       p_word type string,
                       temp2 TYPE string,
                       w_len TYPE i.
                       temp1 = wa_value-value. "this wa containd the value
                       w_len = strlen( temp1 ).
             if temp1 cp '"*'.
               ASSIGN wa_value-value TO <fs> CASTING TYPE x.  " converting wa to hex value
                  DATA: VAR TYPE i,
                        COUNTER TYPE i,
                        line_feed_count type i,
                        temp_count type i.
             VAR = strlen( wa_value-value ).
             CLEAR: COUNTER, temp_count, line_feed_count.
               WHILE COUNTER LE VAR.
                IF <fs>+counter(1) = '0A'.
                line_feed_count = line_feed_count + 1.
                COUNTer = COUNTer + 1.
                ENDIF.
                COUNTER = COUNTER + 1.
               ENDWHILE.
            endif.
    Now , i want to pick data from starting till the position it gets '0A' and then again till it finds another '0A'.
    Thanks in advance.

    Hi,
    As everyone has rightly pointed out, there is no direct way of transferring the data from one appset to another. However, there are definitely few ways of doing it:
    1. Run export package. Export the data in flat file. Import the data using import DM package.
    2. Export the data from the cube of your application in excel file. Then run the import DM package to load the data.
    3. Run UJBR transaction in SAP. Take the backup of the transactional data. You will get few flat files. Run the import DM package.
    All the above steps will work only if the structure of the applications in both the appsets is the same. Otherwise, you will have to modify the flat file before uploading the file.
    Hope this helps.

  • How to move Tablespace from One disk group to another disk group in RAC

    Hi All,
    I have 11gR2 RAC env on Linux.
    As ofnow I have problem with disk group. I have 3 disk group which is almost full - 98%. I have added one NEW disk group and want to move some of the Tablespace(TBS) from OLD disk group to NEW diskgroup and make some free space in OLD disk group.
    Can any one suggest me how to move TBS from one disk group to another disk grup without shutting down the instance.
    DB is in Noarchive mode.
    Thanks...

    user12039625 wrote:
    Hi Helios,
    Thanks for doc id but I am looking for noarchive mode solution. becaues I got ORA-
    "ORA-01145: offline immediate disallowed unless media recovery enabled " when run alter database datafile '...' offline.
    Hence I am trying something and findout below steps but not sure how useful it is:
    1- put tablespace offine
    2- Copy the file to new diskgroup using Either RMAN or DBMS_FILE_TRANSFER.
    3- Rename the file to point to new location.
    4- Recover the file.
    5- Bring the file online.
    I had move 240M TBS from OLE to NEW.
    These steps run successfully so I think this is valid for noarchive mode.Hence want to confirm..so inform me please.
    Thanks :)I have doubt in my mind:
    1. You database is in noarchivelog mode
    2. You're taking tablespace offline
    3. Suppose you're moving a file of size 10GB(or any larger filesize) to another disk group
    4. Now after moving the file, you're trying to bring the tablespace online............NOW
    tablespace will need recovery. if the required data is inside the SGA then it is ok. But if the data has been flushed, then?
    if step 2 and 3 has taken significant time, then most probably you'll not be able to bring that tablespace online.
    Regards,
    S.K.

  • How to move data from 2 internal table to 1 internal table

    Can any body send me code that how to move data from 2 internal table into one internal table.
    Moderator message : Read ABAP documentation. Thread locked.
    Edited by: Vinod Kumar on Jun 13, 2011 11:45 AM

    Hi Mohdarif92;
    I don't know your full needs. But general method should be as below code.
    Please check exam below code.
    Best regards.
    data : begin of gt_result.
                ... like mkpf-...
                ... like mkpf-...
                ... like mseg-...
                ... like mseg-...
              end of gt_result
    select *
    into table gt_mkpf
    from mkpf where ...
    select *
    into table mseg
    from mseg where ...
    loop at gt_mkpf.
         loop at gt_mseg where ... = mkpf-...
            move-corresponding gt_mkpf to gt_result.
            move-corresponding gt_mseg to gt_result.
            append gt_result
         endloop.
    endloop.

  • Move data from one member to another existing member

    Can someone please advise how I can move data from one member to another existing member?  For example, I have data in member ID MT_160 and I want to move this data over to an existing member MT_130 as per business requirement.  How can I accomplish this?  I tried using the NEWID field but system complained that the new ID must be Unique, which makes sense.  I'm stuck now.  Any Ideas?  I'm using BPC version 5.0 on Microsoft.
    Thanks.

    David,
      one  of  the  ways  you  can  achieve  the  desired  result  is  Via  BPC  Excel
    1) from  menu Edata--> RUn  Package --> copy/Move .  OR
    2) You  an  write  Script  logic  to  Copy/Move  data.
    Hope this  helps..

  • ABAP Function Module Example to move data from one Cube into Another

    Hi experts,
    Can any please help out in this ..?
    A Simple ABAP Function Module Example to move data from one Cube into Another Cube
    (How do i send the data from one client to another client using Function moduel).
    Thanks
    -Upen.
    Moderator message: too vague, help not possible, please describe problems in all technical detail when posting again, BI related? ("cube"), also search for information before asking.
    Edited by: Thomas Zloch on Oct 29, 2010 1:19 PM

    This is the start routine to duplicate records in two currencies.
    DATA: datew   TYPE /bi0/oidateto,
          datew2  TYPE rsgeneral-chavl,
          fweek   TYPE rsgeneral-chavl,
          prodhier TYPE /bi0/oiprod_hier,
          market  TYPE /bic/oima_seg,
          segment TYPE /bic/oizsegment.
    DATA: BEGIN OF S_DATA_PACK OCCURS 0.
            INCLUDE STRUCTURE /BIC/CS8ZSDREV.
    DATA: END OF S_DATA_PACK.
    S_DATA_PACK[] = DATA_PACKAGE[].
      REFRESH DATA_PACKAGE.
      LOOP AT S_DATA_PACK.
        move-corresponding s_data_pack to DATA_PACKAGE.
        if DATA_PACKAGE-loc_currcy = 'EUR'.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
          DATA_PACKAGE-CURRENCY = 'USD'.
          APPEND DATA_PACKAGE.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalloc.
          DATA_PACKAGE-CURRENCY = 'EUR'.
          APPEND DATA_PACKAGE.
        else.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
          DATA_PACKAGE-CURRENCY = 'USD'.
          APPEND DATA_PACKAGE.
        endif.
      ENDLOOP.
    This is to load Quantity field
    RESULT = COMM_STRUCTURE-BILL_QTY.
    This is to load Value field
    RESULT = COMM_STRUCTURE-NETVAL_INV.
    UNIT = COMM_STRUCTURE-currency.

  • How to move value from one tlist to another tlist in same form?

    how to move value from one tlist to another tlist in same form on button press?
    Same like in data block wizard when we select value from 1st list it will go to 2nd list and can be move back. Please help i am new to forms .
    Regards

    just call the following proc in your add & add all buttons. Reverse the code for REMOVEs
    this proc will move one item at a time from list_item1 to list_item2.
    PROCEDURE add_an_item
    IS
      v_list_count    NUMBER;
      v_item1_label  VARCHAR2(60);
    BEGIN
      IF :list_item1 IS NOT NULL THEN v_list_count := nvl(Get_List_Element_Count('list_item1'),0);
          IF v_list_count >= 1 THEN FOR i IN 1..v_list_count
          LOOP
             IF   :list_item1    = Get_List_Element_Value('list_item1', i)
             THEN
                  v_item1_label := Get_List_Element_label('list_item1', i);                 
                  Add_List_Element('list_item2',1,v_item_label,:list_item1);         
               Delete_List_Element('list_item1',i);
               Exit;
             END IF;
          END LOOP;
           END IF;
       END IF;
    END;
    *********************************************************************************this proc will move all items from list_item1 to list_item2.
    PROCEDURE add_all_items
    IS
      v_list_count NUMBER;
      v_item_label VARCHAR2(60);
      v_item_value VARCHAR2(60);
    BEGIN
    v_list_count := nvl(Get_List_Element_Count('list_item1'),0);
    IF    v_list_count = 1 AND Get_List_Element_Value('list_item1', 1) IS NULL THEN NULL;
    ELSIF v_list_count >= 1 THEN
           FOR i IN 1..v_list_count
           LOOP
            v_item_value  := Get_List_Element_Value('list_item1', i);
            v_item_label  := Get_List_Element_label('list_item1', i);       
            Add_List_Element('list_item2',i,v_item_label,v_item_value);
           END LOOP;
           clear_list('list_item1');
    END IF;
    END;I added [ code ] tags to make this easier to read.
    Message was edited by:
    Jan Carlin

  • How to move table from one tablespace to other tablespace?

    how to move table from one tablespace to other tablespace?

    887274 wrote:
    how to move table from one tablespace to other tablespace?
    alter table <table_name> move  tablespace <new_tablespace_name>;
    Rebuild the indexes; alter index <index_name> rebuild <new_tablespace_name> online;Example;:
    SQL> create table ttt( ID NUMBER PRimary key);
    Table created.
    SQL> insert into ttt values (1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 VALID
    SQL> alter table ttt move tablespace users;
    Table altered.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 UNUSABLE
    SQL> alter index SYS_C0010863 rebuild tablespace users online;
    Index altered.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 VALID
    SQL>

Maybe you are looking for

  • Mac Mail on both my laptops suddenly will no longer sync with mobile me

    I have two macbooks - both of which sync with mobile me quite reliably. A couple of days ago, the Mac mail application stopped syncing with mobile me on both of my macbooks. When I tell it to syncronize with ".Mac" or get mail, I get the small triang

  • Pages won't open anything

    I am a new apple user. We have been used Pages successfully once but now suddenly it will not open anything - not a template, not a new document, not an existing document. The bar at the top opens when the pages icon is clicked but nothing else happe

  • FM 10 - Serious Internal Error When Copying/Pasting

    We regularly encounter a serious internal error when copying text from one FM doc to another. We also get the error (occasionally) when we run FrameScript. Does anyone know what could cause this? It appears to happen randomly (i.e. it doesn't appear

  • Can iPod shuffle be used with any FM recivers for car listening?

    Can my iPod Shuffle be used with any FM receivers so that I can listen to songs through my car radio? I know Alot of FM recievers say that they are compatable with variouse mp3 players. I just want to know if I can plug in my Ipod shuffle to any of t

  • No print size selected

    hp 5510 photosmart  When I try to print from my android I get the message print size not selected.  I can print pictures, but, not text