RMAN clone - only subset of data

I have a requirement to clone the Production to Test database with the minimum size (subset of data).
Can some one help me how to extract only subset of data from prod ?

You could consider using SKIP TABLESPACE with the RMAN DUPLICATE command to create a test database that is a subset of the production, but it may depend on what you mean by "subset" of data.

Similar Messages

  • How to move only subset of data from one database to another?

    Both source & destination are Oracle11g databases.
    The requirement details are as below,
    1) The database contains static as well as transactional data for telecom domain.
    2) We have to move region-wise data from one database to another.
    3) There are around 10 regions.
    4) The region wise data extraction from source db is based on around 40 to 50 tables. Rest of the tables contains
    static data & it will not change.
    5) The volume is around 1 million subscribers per region.
    6) The migration is required because
    a) The client is upgrading its base product which uses this database
    b) There is a change in structure of static tables
    c) Hardware upgrade
    d) The client want to start with single region on new database & rest of the regions will be operated from old
    database.
    7) Keep execution time to very minimum.
    I am thinking to have solution as below,
    1) Create destination database with upgraded db structure (as mentioned in 6b)
    2) Create database links to access source db in destination db.
    3) Write SQL queries to fetch data from all the respective tables for a specific region
    4) Write separate PL/SQL blocks for each table to fetch data from source db & insert into respective table in
    destination db
    a) Use FOR ALL & bulk collect to improve the performance
    b) Divide table data into multiple chunks & execute parallel batches (around 10) to insert the data
    5) Validate pre & post counts to verify the success of migration
    Is there any other better way?
    Regards,
    Sandeep

    How to move only subset of data from a partiular table by using transportable tablespace?
    E.g. SUB table using SMP_SUB tablespace contains subscriber data in source database.
    The indexes defined on SUB table are under SMP_IDX_SUB tablespace
    The subscribers data can be categorized by different regions, say region_id column. Then how to move data & indexes of SUB table from source db to destination db?
    any specific example would be helpful.

  • Rman clone ? duplicate database ? data guard ? standby database?

    hey there !!
    What is the difference between Rman clone , duplicate database , data Guard , standby db?
    1 more thing , standby database and duplicate database are same??

    RMAN Clone : you take backup of a database on one server ,then take it to other server ,again use RMAN to restore the database,A lot manual intervention is needed in this method
    RMAN DUPLICATE: same as above just that manual intervention is less. With 11gR2 there active database duplication in which you can clone your test database directly from production database without taking and then transferring the backup to test server.
    Standby Database :they are of two types Physical and logical.The setup is done using RMAN with any of the above methods.Standby is the in-sync (can have some delay) version of primary database either block by block which is physical standby configuration or SQL statment wise which is logical standby.
    Data Guard:This is also a standby configuration.Here the failover and switchover are automated with the help of DGMGRL utility.In manual standby this same can be done via SQL*PLUS using sql commands

  • What is the Best way to extract a subset of data from a Production database

    Hi,
    One of our cleint want to to extract a subset of data from a Production databases in order to build a dev or test database. Since it is a banking sector they do not want to clone the db.
    Can anybdoy suggests any tool or any info
    Regards
    Manoj

    DataBee is one option. Depending on circumstances, you may also want their DataMasker utility in addition...
    Of course, depending on your particular system and your particular requirements, this sort of thing can rather quickly get quite complicated since you may need very particular types of subsets of data...
    Justin

  • Propogating Only the required data to destinition

    We are planning to use replication using streams.
    We have following scenario
    'Site M' is a master site
    'Site A' and 'Site B' are the secondary sites.
    The updations on 'Site M' are to be propogated to site A/Site B.
    Only the records which are ment for site A should be
    PROPOGATED to site A and
    Only the records which are ment for site B should be
    PROPOGATED to site B.
    How do we do this.
    We just know one way that using row subsetting at apply process level
    at destinition site (dml_condition) or using dml_handler (again at destinition site) we camn achieve this.
    But this has a problem of transferring the unnecessary data to destinition.
    So we are looking for an approach which will allow us to transfer only the needed data to the destinition site and hence reduce the network traffic. How do we doit.
    Is there a way whereby we can do it tgrough PROPOGATION process ... or
    any other way.

    Rules define what is captured, propagated, and applied with Oracle Streams. You can write your own custom rules for propagation that will limit the propagated changes to a particular subset to simulate the effect of ADD_SUBSET_RULES. See chapter 6 in the Oracle Streams Manual (9.2.0.2) available at
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96571/strm_rules.htm#49200
    In the section on System Generated Rules, there is a discussion of the rules generated by ADD_SUBSET_RULES. You will need to write rules that are similar to these. In addition, you will need to assign a rule-based transformation to the custom rules so that the LCR can be manipulated appropriately. For example, an UPDATE at the source database might need to result in a DELETE at one apply site and an INSERT at the other apply site. You will need to write a transformation on the propagation rule where the DELETE should occur to:
    a) change the command_type to DELETE
    b) remove the NEW values from the LCR.
    Similary for the apply site where the INSERT should occur, the transformation on the propagation should
    a) change the command_type to INSERT
    b) move the OLD values to NEW values
    You can simplify the rules shown in the documentation by creatin[i]Long postings are being truncated to ~1 kB at this time.

  • I made a new Apple ID and I want to delete my iCloud account on my iPhone, will it delete only documents or data or it will reset my whole iPhone?

    I made a new Apple ID and I want to delete my iCloud account on my iPhone, will it delete only documents or data or it will reset my whole iPhone, like deleting my apps, contacts. Please I need your help.

    All you have to do is this: Sync your 3GS to create a current backup. Then either: Settings>General>Reset>Erase All Content & Settings or restore it as a "New" device in iTunes. Both accomplish the same thing, erasing all of your data & settings from the phone. You can now give it to your sister, she can plug it into her computer, name it what she wants & sync her content to it. You then restore your 4S from the backup of the 3GS you created when you started. Follow this by syncing your content to your new phone & your 4S will look just like your 3GS.

  • Can I store only the aggregate data in OLAP cube

    Hi All,
    I know that the OLAP cubes store the leaf data and then builds the aggregate data on top of it and stores with in it. I have huge amounts of data ( like billions of data in my fact table and 6-8 dimension tables). If you keep the leaf data along with the agg data with in the cube would be too large to build.
    So I am thinking to have to store only the agg data within the OLAP cube and for the leaf data it should still read from the Relational tables. Something like Hybrid OLAP.
    (what I mean is
    1. create the dimensions and cube in the AWM on 11g.
    2. I will also specifiy the levels that I want the agg data to be calculated and stored in the OLAP cube.
    (what I want is
    1. I want to store only the agg data in the cube and leaf data still in the relatlional tables.
    2. when I read the cube and drill down to the leaf level , it should fetch the leaf level data.
    Is this possible in Oracle OLAP, if yes please provide some pointers
    Thanks
    S

    First you should try out storing and aggregating data to atleast see if the cube-loading time, query-time and AW-size is within acceptable limit or not. 11gOLAP especially 11gR2 OLAP is very efficient on all three fronts.
    Regarding specifying levels, you can either use Cost-based-aggregation and pick the %age that should be pre-aggregated OR you can use Level-based-aggregation and pick the levels from each dimension that should be pre-aggregated.
    Try these out before venturing into anything else. You will be surprised by the results. There are other ways to store the data in smaller multiple-cubes and joining those cubes through formulas. Make sure you don't mistake an attribute for a dimension.
    Not sure what you mean by just storing aggregated data in olap cubes. You can just do a SUM .. GROUP BY .. of relational data before loading it into olap cubes. For example, if you source data is at DAY level, you can SUM.. GROUP BY .. at MONTH-level and then load month-level data into olap cubes where leaf-level is month-level.
    The sql view (used by reporting tools) could then be a join between month-level "olap" data and "day-level" relational data. When you are drilling-down on the data, the sql view will pick up data from appropriate place.
    One more thing. Drill-Thru to detail data is a functionality of reporting tools also. If you are using OBIEE or Discoverer Plus OLAP, then you can design the reports in a way that after you reach the olap leaf-level, then it will take the user to a relational detail-report.
    These are all just quick suggestions (on a Friday evening). If possible, you should get Oracle OLAP Consulting Group help, who can come up with good design for all your reporting needs.

  • Read only field in data manager

    Hi,
    if we set a field permission as read only in console.
    in data manager this field will be read only.
    in import manager during process of import will this field be receiving value or it will be read only
    Sonali

    Hello,
    I tested (MDM 5.5 sp6) and if you import data, and for a read-only fied mapped, data can be created and updated ( import done with same role/user than the one with read/only rules)
    I haven't see this behaviour on documentation, but don't look as a trouble for me.
    If this role/user try to update from the data manager, it is not possible to update a read-only fied
    Hope helps you
    regards
    Vincent

  • How to make specific cell(s) read-only in a data-grid

    Hi there!
    Is there a way to make an specific cell read-only in a data-grid?
    Best regards,
    Ciro

    Hi !
    After some months... here is the solution:
    Private WithEvents _gridTaste As DataGrid
    Private Sub MyScreen_Created()
    AddHandler FindControl("GridTaste").ControlAvailable,
    Sub(s, e)
    _gridTaste = CType(e.Control, DataGrid)
    End Sub
    End Sub
    Private Sub _gridTaste_BeginningEdit(sender As Object, e As DataGridBeginningEditEventArgs) Handles _gridTaste.BeginningEdit
    ' I want do set the cell (2,0) as read only:
    If e.Row.GetIndex = 2 AndAlso e.Column.DisplayIndex = 0 Then
    e.Cancel = True
    End If
    End Sub
    I hope this post help you too!
    Best regards,
    Ciro

  • Sample ABAP routine code to load only previous month data in INFOPACKAGE

    Hi all,
    I want to create one ABAP routine in InfoPackage (Variables change to selection values with background processing) for 0CALMONTH ( Calender year month) so that whenever this infopackage is executed it should fetch only previous month data.
    Can anyone please provide any sample code for that.
    Thanks in advance.
    Uday shankar.

    Hi
    Please check with below code, hope this will resolve your issue
    WHEN: 'ZLASTP'.
         CLEAR: h_period, h_gjahr.
         CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
           EXPORTING
             i_date               = sy-datum
       I_MONMIT             = 00
             i_periv              = 'AF'
          IMPORTING
            e_buper              = h_period
            e_gjahr              = h_gjahr
    EXCEPTIONS
       INPUT_FALSE          = 1
       T009_NOTFOUND        = 2
       T009B_NOTFOUND       = 3
       OTHERS               = 4
         IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ENDIF.
         IF h_period = '001'.
           h_gjahr = h_gjahr - 1.
           h_period = '012'.
         ELSE.
           h_period = h_period - 1.
         ENDIF.
         CLEAR l_s_range.
         CONCATENATE h_gjahr h_period INTO l_s_range-low.
         l_s_range-sign = 'I'.
         l_s_range-opt  = 'EQ'.
         APPEND l_s_range TO e_t_range.

  • A string that can be displayed as both ASCII and hex in an indicator will only save the data to a file in ASCII format

    We can see the data in an indicator just fine, but when we try to write that string of hexadecimal data to a file, it will only save the data in ASCII format.  
    This sounds fairly simple, as the indicator can be selected to display the data in several different formats (VI>Properties>Appearance>Display Style: Normal, Backslash...., Hexadecimal).  However, I have been unable, as of yet, to save the data in different formats.
    Solved!
    Go to Solution.

    altenbach wrote:
    ... or you could just read the string:text.text property to get whatever is actually displayed.
    like this...
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    texttextString.PNG ‏6 KB

  • Why is there not an option to only print form data in Adobe XI?

    I have created a form in Adobe Acrobat XI Pro and saved it.  Then I want to open it in Adobe Reader, fill it in and then only print the form data but there is not an option to only print form data in Adobe Reader XI.  I'm not sure if it is in the way I created the form or something else.  Any help will greatly appreciated.  Thanks!

    Basically you need to place the file's contents on a non-printing layer. Try this:
    Create a new blank file and open the Layers panel on the left.
    Click the Options button and select Import As Layer.
    Select your pre-existing PDF file (maybe save a copy of it without the form fields first and use that version).
    Right-click the layer you created and select Properties. Change the layer's Print option to "Never Prints".
    Now copy the fields from the other file and place them in their correct location on the page.
    Save the file and you have a file that can be used to print only the form fields data, even in Reader.
    This process can be automated, by the way, but that would require a script.

  • RMAN clone feature query

    Hello DBA's,
    Using a 9i Solaris box and i need to perfom a RMAN clone of prod (target db) to train database. Train database does already exist.
    I've performed "backup database plus acrhivelog all delete input" (on prod)
    My query is when i do run "duplicate target database to traindb" will it refresh all the existing datafiles already in TRAIN db or will i need to manually drop the datafiles or even 'drop' the TRAIN database?
    Many thanks!

    You should remove or drop TRAIN DB before you clone over from PROD.
    However, you can use the NOFILENAMECHECK clause
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta028.htm#sthref466

  • RMAN clone error

    Hi:
    I got error at end when doing a RMAN clone on linux, RMAN 11.1.0.7. 89163 is the next to last highest sequence
    number in the backup log file. So in the clone script I put 89165.
    ORA-19870: error while restoring backup piece
    ORA-19504: failed to create file
    ORA-17502: ksfdcre:4 Failed to create file
    ORA-15173: entry 'archive' does not exist in directory '/'
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/19/2012 17:36:15
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-20506: no backup of archived log found
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of archived log for thread 1 with sequence 89163 and starting SCN of 11158664662 found to restore
    What is the problem here?
    Can I bring up the database up?
    Thank you for your help.

    Then you may get an error as below
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of archived log for thread 1 with sequence 89165you can try to open the database with resetlogs as you would not be having the archive sequence 89165
    Also, 1 suggestion. Since you are on 11g, why not use the feature "active database" ?
    rman target sys/pwd@target catalog xxxx auxiliary wwww
    RMAN>duplicate target database to 'CLONEDB' from active database;This does not require you to take the backup first and then start the cloning activity

  • Clonning only the DB Tier

    Hi all.
    I have a scenario like the following:
    I have a production server and a testing server(the clone of the production server).
    I want to clone(refresh), only the database from production to testing server.
    I have read the metalink doc 230672.1.
    In section 4 of this document it is said, that it is possible to clone only the db.
    My questions are?
    1. After i have done the pre clonning process on the source, i have to copy both proddata and product folders(sid=prod) into the target?
    2. when i run the adcfgclone.pl, is it necessary to specify the database target context file? (in both servers i have the same structure of folders)
    3. As i understand, i have to follow the doc 230672.1. but only regarding the dbTier, right?
    Thanks in advance, Soni

    1. After i have done the pre clonning process on the source, i have to copy both proddata and product folders(sid=prod) into the target?Correct.
    2. when i run the adcfgclone.pl, is it necessary to specify the database target context file? (in both servers i have the same structure of folders)Since no changes have been done on the database tier, then you have to specify the database context file.
    3. As i understand, i have to follow the doc 230672.1. but only regarding the dbTier, right?You have to follow the steps under "Refreshing a target system" section in this note to refresh the target system database.

Maybe you are looking for

  • APEX 3.1.2 Interactive Report bug

    When you click on a column header of an Interactive Report, a dropdown menu appears which contains a text field that filters the list that is shown beneath it. When you TYPE some text into the field in Internet Explorer 7 and then select a value from

  • Oracle Workflow Inbound Processing Protocol

    Hi Gurus, Is there any other Oracle supported method to use a protocol different from IMAP for setting up the Inbound processing of the Oracle Workflow ? This is in response to an unexpected shutdown of the POP and IMAP in our organization ? I curren

  • Comparision of Product category qualifier with item category segments

    I am working on one component in which i need to compare the product category qualifier value of a territory with ordered item category segment1||segment2. But when a value is entered in product category qualifier in oracle sales and telesales, Item

  • New CUDA Driver 6.0.37 for Mac: Safe for Pr CC?

    As some of you learned the hard way, the CUDA driver version 5.5.47 was a no-go for Premiere.  Now, the nVidia site has version 6.0.37 available (which I suppose is a Mavericks 10.9.x compatible upgrade.  I'm still on 10.8.5). Has anybody tried it wi

  • Client working with different charset than server

    Hi, My name is Tal and I work in Mercury. We have a situation that requires setting the client nls_lang to “AMERICAN_AMERICA.UTF8”, but the server is required to work with either “WE8DEC” or “WE8MSWIN1252” charset. A. Is “WE8DEC” a va