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

Similar Messages

  • 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

  • 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

  • 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

  • Tablespace and tables

    Can we know -- which table resides on which tablespace?

    Either you can also use... dba_segments view....
    select segment_name, tablespace_name from dba_segments where segment_name='<table name>';
    Regards,
    Karthik

  • 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 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

  • 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;

  • 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

  • OWM and transportable Tablespace

    Hi,
    Is there any restrictions regarding using OWM and transportable Tablespaces??
    Thanks for any hint.
    haitham

    Hi,
    OWM does not currently support transportable tablespaces. The reason for this is that only the table metadata and rows are preserved after importing the tablespace. None of the triggers, views or procedures that are created by workspace manager and defined on the table are maintained.
    Also, the metadata that is maintained would become out of sync with the imported data and would lead to unexpected results.
    Workspace manager currently only supports a full database import/export or a workspace level import/export using the dbms_wm.export and dbms_wm.import procedures. Further documentation on this can be found in the user guide.
    Regards,
    Ben

  • Transporting table and table maintainance generator

    Hi,
    Can i transport the table and table maintainace generator and function group of the table with in single request or not.
    One more thing is when i transport the table maintainance generator,will the entries also be transport to another system or not.
    Thanks in advance,
    Suresh

    Hi Suresh,
    Go to SE54-> Utilities-> Total Transport. The following things are transported.
    The total transport transports the complete maintenance dialog:
    authorization group
    authorization group assignment
    control entry
    events
    function groups
    maintenance objects
    variants
    Content wont be transported it seems.
    Thanks & Regards,
    Nagaraj Kalbavi

  • Import dumpfile with seperate tablespaces for table and index

    Hi,
    We have a schema for which the its tables are stored in seperate tablespace and indexes are stored in different tablespace. Now we have take full schema export. Now we want to import it on another schema. Now I want to know if the we have difference in the tablespace name we use REMAP_TABLESPACE clause of the impdp command but what about the seperate tablespace for table and indexes. How would Oracle handle this.
    Regards,
    Abbasi

    Hi,
    I hope you created the same tablespace structure on the target side if not so remap_tablespace option you have to use for specifying different tablespaces.Oracle will take care of putting data and index.Any how if a index is moved from one tablespace to other you have to rebuild them,once you rebuild them than only stattistics are gathered otherwise you
    might face some performance issue.
    Better option is to keep same tablespace structures in source and target environment.
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com
    Edited by: Rafi (Oracle DBA) on May 9, 2011 7:07 AM

  • EBS architecture regarding DB, tablespace, users and tables

    Hi All,
    I do have some questions regarding the database, data model, table space... architecture of an EBS 12.1.1 installation (I use Windows 2008 as platform):
    1)
    Table space:
    Is it correct that the table space used for EBS Apps tables is applsys? Is there more than one table space used for EBS tables?
    2)
    User:
    The Database user used by EBS to connect to the DB is "apps", right? The users mfg, sysadmin... are logical users which do not have a correspondent db account. Is that correct as well?
    3)
    DB Access:
    How can I setup the right environment to access the DB. In order to execute sqlplus, I need to set a proper environment. There is a script called "c:\oracle\VIS\apps\apps_st\appl\VIS_ebs1.cmd". Is that the right script?
    I do have more that one script with that name. Example: C:\oracle\VIS\inst\apps\VIS_ebs1\ora\10.1.3\VIS_ebs1.cmd
    How do I know, which one is the right script for what purpose?
    4)
    Data model and tables:
    I found etrm which should give an overview of the EBS data model (and much more), but up to know, I'm not wuite sure how to use it to find the information I'm looking for.
    Example: I would like to know where EBS items are stored. I found these tables:
    INVFG_ITEMS
    INVFV_ITEMS.
    In INVFG_ITEMS I was able to find my newly created items, but is it the "main" table for items. How can I find that out? Is etrm the right tool for this?
    In etrm, there is a section with FND and another section with DBA. What is the difference and when would I use which section?
    I'm sorry for that much questions but right now, my understanding of the EBS and it's architecture is still very basic and these are things which I need to know in order to get a better picture...
    Many thanks,
    Konrad

    Hi Konrad;
    1)
    Table space:
    Is it correct that the table space used for EBS Apps tables is applsys? Is there more than one table space used for EBS tables?There are some other tablespace for EBS. Please check Oracle Application Concept manuel Part 3-4
    For r12.1.1:
    http://download.oracle.com/docs/cd/B53825_01/current/html/docset.html
    2)
    User:
    The Database user used by EBS to connect to the DB is "apps", right? The users mfg, sysadmin... are logical users which do not have a correspondent db account. Is that correct as well?For windows installation there is only one user for can connect db and apps and also run utulity liek (adpatch etc)
    For unix/linux we can use 2 users,1 for dbtier and other for appstier.
    MFG sysadmin etc... those are EBS user which is pre-define before.
    Please check user guide and also installation guide
    For r12.1.1:
    http://download.oracle.com/docs/cd/B53825_01/current/html/docset.html
    3)
    DB Access:
    How can I setup the right environment to access the DB. In order to execute sqlplus, I need to set a proper environment. There is a script called "c:\oracle\VIS\apps\apps_st\appl\VIS_ebs1.cmd". Is that the right script?For Windows, for can accsess apps or db you have top run env file, This file contains information about your ebs. You have to run below cmd for can access for db or apps
    For db:
    c:\oracle\VIS\db\tech_st\11.1.0\VIS_ebs1.cmd (SID_Hostname.cmd)
    For apps:
    c:\oracle\VIS\apps\apps_st\appl\APPSVIS_ebs1.cmd (APPSSID_Hostname.cmd)
    4)
    Data model and tables:
    I found etrm which should give an overview of the EBS data model (and much more), but up to know, I'm not wuite sure how to use it to find the information I'm looking for.
    Example: I would like to know where EBS items are stored. I found these tables:
    INVFG_ITEMS
    INVFV_ITEMS.
    In INVFG_ITEMS I was able to find my newly created items, but is it the "main" table for items. How can I find that out? Is etrm the right tool for this?Please check below:
    table and column name in R12 web screen
    Check the table and column name in R12 web screen
    Re: What is Best Way to Get Table Name in Oracle Applications : 12.1.1 (web)
    Hope those are helps
    Regard
    Helios

  • 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

  • Transport table and table entries

    Hi,
    I need to create a table and table entries, here I need to transport table and its entries to another system,
    what steps i need to follow for this?
    Please help me

    Entries
    Create entries by Se11-> utilities-> table content -> create entries
    For Transport
    Go to SE10.
    Click on the 'Create' icon.
    Select 'Workbench Request'(assuming your table is not customizing table).
    Enter description and click 'Save'.
    Put cursor on the task (lower number of the two) and in menu, 'Request/task>Change Type>Development/correction'.
    With cursor on the task(lower number), click 'Object List' icon on the toolbar.
    Once in, you need to toggle to 'Change' mode using the pencil icon.
    Then click on 'New Entries'. Now add the R3TR, TABU, <ZTAB> in the first row.
    Again in the menu, select 'Extras>Change object function>Key according to key list'.
    Now go to the menu, 'Goto-->Key list'. In the subsequent screen, click on 'Insert line' icon(with a + sign).
    Click on 'Key fields' button and it will now allow you to enter the values for each key field.
    Regards
    Shashi

Maybe you are looking for

  • How to schedule a job poles for a entry in a table.

    Hi All , I have to schedule a job which runs somw stored procedures only on sunday and monday of a week at 3 AM in the morning. The condition is that another application puts an entry into a table around 3 AM (some times before and some times late),

  • Incorrect url getting generated for content server download

    Hi, In the MIC(Management for Internal Controls) system, the standard functionality of downloading attachments after they have been uploaded into content server (FOPC_DB) is not working. When this download link is clicked, it opens another webpage an

  • HT1212 I CANT GET IT TO RESTORTE CAN SOMEBODY PLEASE HELP ME

    please somebody please tell what do i click on to restore my ipad please i really need help please

  • Problem with email hang

    hello,when i open the apple mail client it hangs after a few seconds the a spinng beach ball appears ,i force it to quit it wants to send a report to apple ,i click on the middle box to copy the report and then post so the some kind person could look

  • Yahoo Messenger doesn't work in Yahoo Mail since Firefox's newest update

    I have some friends on Yahoo Messenger via Yahoo Mail. If they have the newest version of messenger, since Firefox's most recent update I can't chat with them in a window or tab. Sometimes when I click their name to chat nothing comes up. Other times