Transportable tablespace and partitioned objects

Hi,
I have to transport tablespaces which have partitioned objects from one server to another. If anyone has a proven process to perform this operation, please share with us. Following is a sample of violation report sample I got for 1 tablespace:
VIOLATIONS
Partitioned table ARIES.A_BI_BOARD_USAGE is partially contained in the transport
able set: check table partitions by querying sys.dba_tab_partitions
Partitioned table ARIES.A_TESTING_SESSION is partially contained in the transpor
table set: check table partitions by querying sys.dba_tab_partitions
Default Partition (Table) Tablespace A_DATA_SML_000000 for A_BI_BOARD_USAGE not
contained in transportable set
Default Partition (Table) Tablespace A_DATA_SML_000000 for A_TESTING_SESSION not
contained in transportable set
Thanks
Satish

Hi,
I am trying to transport the whole tablespace. What happened is that during duplication process, somehow few tablespaces in target were in offline mode and so duplication did not ceate the files properly on auxiliary server. Now, I need to get the 3 tablespaces from production to integration enviornment. These tablespaces have lot of partitioned objects. So I am trying to find a way to transport these tablespaces.
Thanks
Satish

Similar Messages

  • Transportable Tablespace and Packages/Functions etc

    We are currently experimenting with transportable tablespaces. Is it possible to take functions/packages etc or are you limited to tables/data/triggers.
    Thanks
    Chris

    Transport tablespace is available in version 9.2. In that version you need to put the tablespace in read only mode, export the tablespace metadata, copy the tabalespace files, and then import the metadata. Now, I don't believe this will transport the other objects. Someone else chime in if I am incorrect.
    What you can do is transport the tabelspace and then run an export rows=n
    and then import this empty dump (that will include the procedures/functions.etc) with ignore=y

  • How to transport Enqueue and Dequeue Objects / Lock Objects / R3

    Hi Gurus,
    i have created two lock Objects.
    I transported those objects in Q system but the table tab has no objects.
    But in Dev every thing is correct.
    Could you please indicate how i can get the objects correctly transported?
    Thanks

    Easy and best approach is by getting them re transported by using transport of copy request (Type of request)
    1) Get the Transport of copy request created by basis team / urself under your user.
    2) Go to SE10 and highlight the request and click on include objects icon
    3) Later in the pop up window select the radio button which mentions "Include free objects"
    4) Then in the next screen mention the details based on the attributes of the Enque and deque object or else provide the package name and execute and in the next screen choose the concerned enque and deque objects and include them in the request.
    5) Transport the Transport of copy to quality.
    Also, more easiest is.
    Find out the task of the request with with the enque and deque objects were created with (if more than one select all), and then include the tasks in the transport of copy and transport it to next system
    If you are not able to do the above two steps then i think the object is $TMP object, kindly cross check.
    Cheers

  • Transportable Tablespace and Table Statistics

    We are loading a large datawarehouse of about 2Tb, with tables up to 100Gb full of raster images. The database is 9.2.0.7 on Solaris, and we are using Transportable Tablespaces to move datafiles and tablespaces from data integration server to production server.
    During the data integration, we calculate statistics on large tables, and it takes forever. We are wondering if these statistics are moved along with the metadata from data integration server to production server. In other words, should we calculate statistics before the tablespace export or after the tablespaces have been set online on the production server.
    Thanks,

    Hi,
    Upto my knowledge you dont need to calculate statistics.
    Even with export & import command there is a option for statistics.
    So when ever you export oracle by default export the statistics of that table.
    Hope this helps.
    Regards
    MMU

  • Stuck with transported tablespace and ASM

    Hi,
    I'm on 10.2.0.5.4 and playing with TTS feature .
    So I've made TTS on source DB 10.2.0.5 via rman tts feature (auxilary instance) , and copied to cloned database with ASM (same os solaris10).
    Now my situation is as follows :
    on target I can see TTS1 tablespace
    FILE_NAME                                          TABLESPACE_NAME                STATUS
    +DG1/sol10p/datafile/users.262.763395469           USERS                          AVAILABLE
    +DG1/sol10p/datafile/sysaux.260.763395447          SYSAUX                         AVAILABLE
    +DG1/sol10p/datafile/undotbs1.259.763395423        UNDOTBS1                       AVAILABLE
    +DG1/sol10p/datafile/system.258.763395387          SYSTEM                         AVAILABLE
    +DG1/sol10p/datafile/example.261.763395463         EXAMPLE                        AVAILABLE
    +DG1/sol10p/datafile/assm.257.763395311            ASSM                           AVAILABLE
    /u01/tts/tts1.274.763488147                        TTS1                           AVAILABLE
    /u01/tts/tts1.272.763487799                        TTS1                           AVAILABLEbut when trying to copy those files into ASM I'm getting
    RMAN> report schema;
    Report of database schema
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace           RB segs Datafile Name
    1    510      SYSTEM               ***     +DG1/sol10p/datafile/system.258.763395387
    2    310      UNDOTBS1             ***     +DG1/sol10p/datafile/undotbs1.259.763395423
    3    250      SYSAUX               ***     +DG1/sol10p/datafile/sysaux.260.763395447
    4    62       USERS                ***     +DG1/sol10p/datafile/users.262.763395469
    5    100      EXAMPLE              ***     +DG1/sol10p/datafile/example.261.763395463
    6    2048     ASSM                 ***     +DG1/sol10p/datafile/assm.257.763395311
    List of Temporary Files
    =======================
    File Size(MB) Tablespace           Maxsize(MB) Tempfile Name
    1    512      TEMP                 512         +DG1/sol10p/tempfile/temp.265.763396585
    RMAN> backup as copy datafile '/u01/tts/tts1.274.763488147' format '+DG1';
    Starting backup at 03-OCT-11
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 10/03/2011 20:00:34
    RMAN-20201: datafile not found in the recovery catalog
    RMAN-06010: error while looking up datafile: /u01/tts/tts1.274.763488147Please advice .
    Regards
    GregG

    I'm not using catalog (connecting as nocatalog) Hmm....
    The files are listed in V$DATAFILE and DBA_DATA_FILES but not in an RMAN REPORT SCHEMA ?
    That's curious. V$DATAFILE and RMAN REPORT SCHEMA would both be reading from the controlfile.
    What was the sequence of actions to transport the tablespace ? Have you tried reconnecting with RMAN ?
    Hemant K Chitale

  • Transportable tablespaces for migration and upgrade

    Hello All,
    I'm trying to find out some theory about transportable tablespace and upgrade in a single step. I've to move a DB from a Windows server to a Linux server. Win is running 10.1 and Linux 10.2 . It's possible to use RMAN to migrate the whole database and then on new node run startup upgrade and catupgrd.sql to upgrade catalog ?
    Should work?
    Thanks
    Raj

    The following doc for TDB says :-
    "Note: TDB requires the same Oracle Database software version on the source and target systems; hence, a database upgrade cannot be accomplished simultaneous with the platform migration. However, best practices for a database upgrade, as documented in the Oracle Upgrade Companion, also apply to any planned database maintenance activity, including platform migration."
    http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gR2_PlatformMigrationTDB.pdf
    There is also an Oracle Whitepaper called "Database Upgrade Using Transportable Tablespaces: Oracle Database 11g Release 1" but I am still trying to find a copy.

  • Transport of PCD and Content objects through JDI.

    Hi all,
    Pls share the views about the trasport procedure for PCD and Content objects.
    Is it possible to transport PCD and Content objects through JDI?
    If it is possible, could you pls share how to configure the JDI setup?
    Thanks in advance,
    Kishore.

    Hi Kishroe,
    First, there is no supported, out of the box way to handle content objects in the JDI (now NWDI- NetWeaver Development Infrastructure) With that said, since it is a repository you could export your content package. Make it a zip file or something like that and add it to the repository.
    Again, I believe this is theoretically possible. I'm sure some of the other SDN members can provide an automated approach to do this.
    Good luck,
    John

  • Is there any BAPI/FM to create a trasnport request and add objects into it?

    Hi Experts,
    Could anyone please assist me in finding a BAPI/FM to create a transport request and add objects to it.
    I could find a BAPI BAPI_REQUEST_CREATE, it creates trasnport request but doesn't have option to add objects.
    Thanks
    Yogesh Gupta

    Create a custom Function Module , in that write a BDC to create a transport request and add objects to it.
    Thats it.

  • Transport Tablespace using RMAN from 10.2.0.2 to 10.2.0.3 ??

    Hello all,
    Is it possible to do RMAN Transport Tablespace from 10.2.0.2 to 10.2.0.3 ??
    TIA,
    J J

    Are the two database on same platform?
    Yes, it's possible to move from 10.2.0.2 to 10.2.0.3
    You should check Oracle document,
    You cannot export transportable tablespaces and then import them into a database at a lower release level. The target database must be at the same or higher release level as the source database.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#i1006840

  • Explain local manage tablespace and dictionary manage tablespace

    hi all,
    kindly help me to understand local manage and dictionary manage tablespace
    i have read search result and oracle corporation book still unable to understand
    what i know that local is managed by bitmap(no redo) and dictionary is managed by dictionary(generates redo) plz explain this as well
    and also suggest me some documentation.
    thanks
    Navin

    Navin,
    These are excerpts from Oracle documentation
    Dictionary Managed Tablespace_
    If you created your database with an earlier version of Oracle, then you could be using dictionary managed tablespaces. For a tablespace that uses the data dictionary to manage its extents, Oracle updates the appropriate tables in the data dictionary whenever an extent is allocated or freed for reuse. Oracle also stores rollback information about each update of the dictionary tables. Because dictionary tables and rollback segments are part of the database, the space that they occupy is subject to the same space management operations as all other data.
    Lcaolly Managed Tablesapce_
    A tablespace that manages its own extents maintains a bitmap in each datafile to keep track of the free or used status of blocks in that datafile. Each bit in the bitmap corresponds to a block or a group of blocks. When an extent is allocated or freed for reuse, Oracle changes the bitmap values to show the new status of the blocks. These changes do not generate rollback information because they do not update tables in the data dictionary (except for special cases such as tablespace quota information).
    Locally managed tablespaces have the following advantages over dictionary managed tablespaces:
    Local management of extents automatically tracks adjacent free space, eliminating the need to coalesce free extents.
    Local management of extents avoids recursive space management operations. Such recursive operations can occur in dictionary managed tablespaces if consuming or releasing space in an extent results in another operation that consumes or releases space in a data dictionary table or rollback segment.
    The sizes of extents that are managed locally can be determined automatically by the system. Alternatively, all extents can have the same size in a locally managed tablespace and override object storage options.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/physical.htm#sthref518
    Regards

  • Error ORA-39125 and ORA-04063 during export for transportable tablespace

    I'm using the Oracle Enterprise Manager (browser is IE) to create a tablespace transport file. Maintenance...Transport Tablespaces uses the wizard to walk me through each step. The job gets created and submitted.
    The 'Prepare' and 'Convert Datafile(s)' job steps complete successfully. The Export step fails with the following error. Can anyone shed some light on this for me?
    Thank you in advance!
    =======================================================
    Output Log
    Export: Release 10.2.0.2.0 - Production on Sunday, 03 September, 2006 19:31:34
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Username:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "SYS"."GENERATETTS000024": SYS/******** AS SYSDBA dumpfile=EXPDAT_GENERATETTS000024.DMP directory=EM_TTS_DIR_OBJECT transport_tablespaces=SIEBEL job_name=GENERATETTS000024 logfile=EXPDAT.LOG
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    Processing object type TRANSPORTABLE_EXPORT/TABLE
    Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while calling DBMS_METADATA.FETCH_XML_CLOB [TABLE_STATISTICS]
    ORA-04063: view "SYS.KU$_IOTABLE_VIEW" has errors
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.KUPW$WORKER", line 6241
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    2CF48130 14916 package body SYS.KUPW$WORKER
    2CF48130 6300 package body SYS.KUPW$WORKER
    2CF48130 2340 package body SYS.KUPW$WORKER
    2CF48130 6861 package body SYS.KUPW$WORKER
    2CF48130 1262 package body SYS.KUPW$WORKER
    2CF0850C 2 anonymous block
    Job "SYS"."GENERATETTS000024" stopped due to fatal error at 19:31:44

    More information:
    Using SQL Developer, I checked the view SYS.KU$_IOTABLE_VIEW referred to in the error message, and it does indeed report a problem with that view. The following code is the definition of that view. I have no idea what it's supposed to be doing, because it was part of the default installation. I certainly didn't write it. I did, however, execute the 'Test Syntax' button (on the Edit View screen), and the result was this error message:
    =======================================================
    The SQL syntax is valid, however the query is invalid or uses functionality that is not supported.
    Unknown error(s) parsing SQL: oracle.javatools.parser.plsql.syntax.ParserException: Unexpected token
    =======================================================
    The SQL for the view looks like this:
    REM SYS KU$_IOTABLE_VIEW
    CREATE OR REPLACE FORCE VIEW "SYS"."KU$_IOTABLE_VIEW" OF "SYS"."KU$_IOTABLE_T"
    WITH OBJECT IDENTIFIER (obj_num) AS
    select '2','3',
    t.obj#,
    value(o),
    -- if this is a secondary table, get base obj and ancestor obj
    decode(bitand(o.flags, 16), 16,
    (select value(oo) from ku$_schemaobj_view oo, secobj$ s
    where o.obj_num=s.secobj#
    and oo.obj_num=s.obj#),
    null),
    decode(bitand(o.flags, 16), 16,
    (select value(oo) from ku$_schemaobj_view oo, ind$ i, secobj$ s
    where o.obj_num=s.secobj#
    and i.obj#=s.obj#
    and oo.obj_num=i.bo#),
    null),
    (select value(s) from ku$_storage_view s
    where i.file# = s.file_num
    and i.block# = s.block_num
    and i.ts# = s.ts_num),
    ts.name, ts.blocksize,
    i.dataobj#, t.bobj#, t.tab#, t.cols,
    t.clucols, i.pctfree$, i.initrans, i.maxtrans,
    mod(i.pctthres$,256), i.spare2, t.flags,
    t.audit$, t.rowcnt, t.blkcnt, t.empcnt, t.avgspc, t.chncnt, t.avgrln,
    t.avgspc_flb, t.flbcnt, t.analyzetime, t.samplesize, t.degree,
    t.instances, t.intcols, t.kernelcols, t.property, 'N', t.trigflag,
    t.spare1, t.spare2, t.spare3, t.spare4, t.spare5, t.spare6,
    decode(bitand(t.trigflag, 65536), 65536,
    (select e.encalg from sys.enc$ e where e.obj#=t.obj#),
    null),
    decode(bitand(t.trigflag, 65536), 65536,
    (select e.intalg from sys.enc$ e where e.obj#=t.obj#),
    null),
    (select c.name from col$ c
    where c.obj# = t.obj#
    and c.col# = i.trunccnt and i.trunccnt != 0
    and bitand(c.property,1)=0),
    cast( multiset(select * from ku$_column_view c
    where c.obj_num = t.obj#
    order by c.col_num, c.intcol_num
    ) as ku$_column_list_t
    (select value(nt) from ku$_nt_parent_view nt
    where nt.obj_num = t.obj#),
    cast( multiset(select * from ku$_constraint0_view con
    where con.obj_num = t.obj#
    and con.contype not in (7,11)
    ) as ku$_constraint0_list_t
    cast( multiset(select * from ku$_constraint1_view con
    where con.obj_num = t.obj#
    ) as ku$_constraint1_list_t
    cast( multiset(select * from ku$_constraint2_view con
    where con.obj_num = t.obj#
    ) as ku$_constraint2_list_t
    cast( multiset(select * from ku$_pkref_constraint_view con
    where con.obj_num = t.obj#
    ) as ku$_pkref_constraint_list_t
    (select value(ov) from ku$_ov_table_view ov
    where ov.bobj_num = t.obj#
    and bitand(t.property, 128) = 128), -- IOT has overflow
    (select value(etv) from ku$_exttab_view etv
    where etv.obj_num = o.obj_num)
    from ku$_schemaobj_view o, tab$ t, ind$ i, ts$ ts
    where t.obj# = o.obj_num
    and t.pctused$ = i.obj# -- For IOTs, pctused has index obj#
    and bitand(t.property, 32+64+512) = 64 -- IOT but not overflow
    -- or partitioned (32)
    and i.ts# = ts.ts#
    AND (SYS_CONTEXT('USERENV','CURRENT_USERID') IN (o.owner_num, 0) OR
    EXISTS ( SELECT * FROM session_roles
    WHERE role='SELECT_CATALOG_ROLE' ));
    GRANT SELECT ON "SYS"."KU$_IOTABLE_VIEW" TO PUBLIC;

  • To capture all the objects from an tablespace and restore.

    Hi All,
    I have a situation in the  Schema  refresh process where i may have  to delete a tablespace  and its datafiles.
    Then I have to recreate it as it was before and restore all it objects .
    Is there any way that i can capture all the objects of that tablespace before it is deleted  and then later restore it back as it was .
    Any Expert sugggestion is highly apprciated .
    The Platform is as below ..
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Thanks In Advance .

    There are 2 methods you could use with Data Pump.
    1. tablespace mode export.  expdp user/password tablespaces=<your list here> ...
    2. transportable tablespace mode.  expdp user/password transport_tablespaces=<your tablespace list here> ...
      NOTE:  for #2, you need to have your tablespaces in read only mode, then you need to copy the data files, and the
                    tablespaces need to be self contained.
    Hope this helps.
    Dean

  • Migrating a new partition table with transportable tablespace

    I created a partitioned table with 2 partitions (2010 and 2011) and used transportable tablespace to migrate the data over to a new envionment. My question is, if I decide to add a partition (2012) in the future, can I simply move that new partition along with the associated datafile via transportable tablespace or would I have to move all the partitions (2010, 2011, 2012).

    user564785 wrote:
    I created a partitioned table with 2 partitions (2010 and 2011) and used transportable tablespace to migrate the data over to a new envionment. My question is, if I decide to add a partition (2012) in the future, can I simply move that new partition along with the associated datafile via transportable tablespace or would I have to move all the partitions (2010, 2011, 2012).Yes why not.
    1) create a table as CTAS from 2012 in new Tablespace on source
    2) transport the tablespace
    3) Add partition to existing partition table Or exchange partition
    Oracle has also documented this procedure:
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/tspaces013.htm#i1007549

  • Transport request and objects

    hi experts,
    can anybody tellme how u transport requets and how u transport objects.

    hi,
    You can check all the requests in SE01 or STMS.
    You should know how STMS works at least.
    In STMS you normally select the system (DEV/QA/PRD) for which you want to look at transport requests. After selecting the relevant system, you normally get to see the 'IMPORT QUEUE'. This means the following:
    (make sure you press the REFRESH button first)
    1) transport requests in the import queue of your QA system are not imported yet. (imported ones, you can find back via the menu by selecting the 'IMPORT HISTORY'.
    So if you want to find out about requests that are already on your QA system, but NOT on your productive system, you just select PRD , and look at your import queue for this particular system. These transports that you see there are ALREADY imported on QA , but not yet on the production system.
    Case Closed I would say, not??
    The only thing that might make my statement 'uncertain' is if the company has a specific 'approval procedure'. For example, suppose you have released a new development on your development system. An automatic job imports every hour all released transports from your development system into your QA system. (ofcourse you can always manually import a request).
    Now after an hour the request is automatically imported on your QA system and you can do the necessary Unit and Integration testing.
    Now, under normal circumstances, after import of your request on the QA system, in STMS it will automatically appear in the import list of the production system.
    In case of the approval procedure however, you first might need to select tested requests, select them, approve them (via an approval button ) and run a job to release all approved requests. Only after they are released by the job, they will appear in the Import Queue of the production system.
    But ok, I only saw this in practice at one customer so far...but just that you know
    regs,
    hema.

  • Transportable tablespace between 10.1 and 11.1 database

    Platform: Solaris
    From: 10.2.0.4
    To: 11.1.0.7
    I did some google searches and I don't see anything about transporting tablespaces between a 10.1 database and an 11.1 database
    Edited by: user11990507 on Oct 19, 2010 4:24 AM

    user11990507 wrote:
    Platform: Solaris
    From: 10.2.0.4
    To: 11.1.0.7
    I did some google searches and I don't see anything about transporting tablespaces between a 10.1 database and an 11.1 database
    It should work fine. check MOS :
    Compatibility and New Features when Transporting Tablespaces with Export and Import *[ID 291024.1]*
    Regards
    Rajesh

Maybe you are looking for

  • International calls problem

    Over the last day I have had 2 phone calls come through to my z10 on tesco mobile, starting +92 which are from pakistan and an article I read theres fraudsters. Can my z10 block them from even getting through in the first place.  I have look at call

  • Query about XAResource.end() API in JMS context

    Hi All, I have a small query regarding the behavior of an XAResource supplied by a JMS server. Suppose I start a transaction using XaResource.start() method and I create a publisher and registered durable subscriber on the XASession that supplied the

  • Problem: Oracle auditing and Coldfusion pages.

    Oracle 10g has robust auditing functionality.  If you want to see who is inserting records into account.staff, you issue this command. audit insert on account.staff by access; It's done.   All inserts into the table are tracked by Oracle automaticall

  • Dynamic change link to data base

    Hello. I have project with 40 pages, in each page I have SQL request , like "select * from table@dbtest". I want dynamically change link to my test data base on to real data base. What should I do for that would when I selecting another base, link to

  • Which Logic Boards will work in a 1.25Ghz eMac?

    I have a emac that has a possible bad logic board, it wont fully install OSX. I have tried several different versions with formating the drive everytime clean. I am just looking for a logic board now to replace out. I have seen some 1Ghz boards and w