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

Similar Messages

  • 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

  • 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

  • Doubt with parameters creating a tablespace and a table

    I've created a tablespace and a table with these data:
    CREATE TABLESPACE "TAB_FILE"
    LOGGING
    DATAFILE 'C:\TAB_FILE.ora' SIZE 20M
    AUTOEXTEND ON NEXT 5M MAXSIZE 500M
    EXTENT MANAGEMENT LOCAL
    SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLE FILE
    IDFILE NUMBER(16),
    VERSION VARCHAR2(5) NOT NULL,
    NAME VARCHAR2(40) NOT NULL,
    TABLESPACE TAB_FILE,
    PCTFREE 20,
    PCTUSED 40,
    INITRANS 6,
    MAXTRANS 12,
    STORAGE (INITIAL 1024K NEXT 1024K PCTINCREASE 0 MAXEXTENTS 8);
    Is it useless (or not advisable) to write the parameters
    PCTFREE,
    PCTUSED,
    INITRANS,
    MAXTRANS and
    STORAGE (INITIAL 1024K NEXT 1024K PCTINCREASE 0 MAXEXTENTS 8)
    if I've written in the tablespace creation
    EXTENT MANAGEMENT LOCAL
    SEGMENT SPACE MANAGEMENT AUTO?
    Thanks a lot

    I've read that autoallocate parameter is worse than uniform size:
    "Note - there is an autoallocate option for LMTs that can be used instead of uniform size X. This still slices the file up into uniform chunks (in this case always at 64K), and uses one bit per chunk. However, instead of equating one chunk with one extent, Oracle will consider past history and available gaps to decide what size extent to allocate. The extent will be one of a limited set of sizes - 64K, 1MB, 8MB, 64MB. For relatively small, simple systems where there isn't much information available about proper sizing requirements, this can be a minimum fuss mechanism to adopt; but in general I believe you should stick with uniform sizing.......But why is it so convenient to force every extent in the tablespace to be the same size ? (And at this point, you may appreciate my earlier comment about avoiding autoallocate LMTs, which allow for half a dozen sizes of extents). First, ease of monitoring space; secondly, convenience of data packing, and third, reliability of object rebuilds. "
    Is it right? If yes, could anyone tell me with size could be correct? Does it depend on the size of the table, for example? Is there any formula to get the uniform size?
    Message was edited by:
    user573997

  • Importing data tables into data tablespace and indexes into tablespaces

    Hi
    I want to import data into new schema and i want to store tables into data tablespaces and index into index tablespace ...can anyone tell me how it will possible...

    I want to import data into new schema and i want to store tables into data tablespaces and index into index tablespace ...can anyone tell me how it will possible...
    imp userid=/user/passwd show=y indexfile=import.sql indexes=n full=y
    imp userid=/user/passwd show=y indexfile=import2.sql full=y
    Edit the import.sql and import2.sql to modify the tables' tablespace and indexes tablespace.
    execute import.sql the script in the database. this will create the tables in their respective tablespace.
    imp userid=/user/passwd full=y ignore=y indexes=n constraints=y - to import just the data since the tables have already been created.
    imp userid=/user/passwd full=y ignore=y rows=n  - to import just the indexes since the tables and data have already been imported.

  • What are differences between the target tablespace and the source tablespac

    The IMPDP command create so manay errors. But the EXAMPLE tablespace is transported to the target database successfully. It seems that the transported tablespace is no difference with the source tablespace.
    Why create so many errors?
    How to avoid these errors?
    What are differences between the target tablespace and the source tablespace?
    Is this datapump action really successfull?
    Thw following is the log output:
    [oracle@hostp ~]$ impdp system/oracle dumpfile=user_dir:demo02.dmp tablespaces=example remap_tablespace=example:example
    Import: Release 10.2.0.1.0 - Production on Sunday, 28 September, 2008 18:08:31
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Master table "SYSTEM"."SYS_IMPORT_TABLESPACE_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_TABLESPACE_01": system/******** dumpfile=user_dir:demo02.dmp tablespaces=example remap_tablespace=example:example
    Processing object type TABLE_EXPORT/TABLE/TABLE
    ORA-39117: Type needed to create table is not included in this operation. Failing sql is:
    CREATE TABLE "OE"."CUSTOMERS" ("CUSTOMER_ID" NUMBER(6,0), "CUST_FIRST_NAME" VARCHAR2(20) CONSTRAINT "CUST_FNAME_NN" NOT NULL ENABLE, "CUST_LAST_NAME" VARCHAR2(20) CONSTRAINT "CUST_LNAME_NN" NOT NULL ENABLE, "CUST_ADDRESS" "OE"."CUST_ADDRESS_TYP" , "PHONE_NUMBERS" "OE"."PHONE_LIST_TYP" , "NLS_LANGUAGE" VARCHAR2(3), "NLS_TERRITORY" VARCHAR2(30), "CREDIT_LIMIT" NUMBER(9,2), "CUST_EMAIL" VARCHAR2(30), "ACCOUNT_MGR_ID" NU
    ORA-39117: Type needed to create table is not included in this operation. Failing sql is:
    ORA-39117: Type needed to create table is not included in this operation. Failing sql is:
    CREATE TABLE "IX"."ORDERS_QUEUETABLE" ("Q_NAME" VARCHAR2(30), "MSGID" RAW(16), "CORRID" VARCHAR2(128), "PRIORITY" NUMBER, "STATE" NUMBER, "DELAY" TIMESTAMP (6), "EXPIRATION" NUMBER, "TIME_MANAGER_INFO" TIMESTAMP (6), "LOCAL_ORDER_NO" NUMBER, "CHAIN_NO" NUMBER, "CSCN" NUMBER, "DSCN" NUMBER, "ENQ_TIME" TIMESTAMP (6), "ENQ_UID" VARCHAR2(30), "ENQ_TID" VARCHAR2(30), "DEQ_TIME" TIMESTAMP (6), "DEQ_UID" VARCHAR2(30), "DEQ_
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "SH"."CUSTOMERS" 9.850 MB 55500 rows
    . . imported "SH"."SUPPLEMENTARY_DEMOGRAPHICS" 695.9 KB 4500 rows
    . . imported "OE"."PRODUCT_DESCRIPTIONS" 2.379 MB 8640 rows
    . . imported "SH"."SALES":"SALES_Q4_2001" 2.257 MB 69749 rows
    . . imported "SH"."SALES":"SALES_Q1_1999" 2.070 MB 64186 rows
    . . imported "SH"."SALES":"SALES_Q3_2001" 2.129 MB 65769 rows
    . . imported "SH"."SALES":"SALES_Q1_2000" 2.011 MB 62197 rows
    . . imported "SH"."SALES":"SALES_Q1_2001" 1.964 MB 60608 rows
    . . imported "SH"."SALES":"SALES_Q2_2001" 2.050 MB 63292 rows
    . . imported "SH"."SALES":"SALES_Q3_1999" 2.166 MB 67138 rows
    Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'USER1' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."REGIONS" TO "USER1"
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'EXAM_03' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."REGIONS" TO "EXAM_03"
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'USER1' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."COUNTRIES" TO "USER1"
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'EXAM_03' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."COUNTRIES" TO "EXAM_03"
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'USER1' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."LOCATIONS" TO "USER1"
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'EXAM_03' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."LOCATIONS" TO "EXAM_03"
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'USER1' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."DEPARTMENTS" TO "USER1"
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'EXAM_03' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."DEPARTMENTS" TO "EXAM_03"
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'USER1' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."JOBS" TO "USER1"
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'EXAM_03' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."JOBS" TO "EXAM_03"
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'USER1' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."EMPLOYEES" TO "USER1"
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'EXAM_03' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."EMPLOYEES" TO "EXAM_03"
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'USER1' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."JOB_HISTORY" TO "USER1"
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'EXAM_03' does not exist
    Failing sql is:
    GRANT SELECT ON "HR"."JOB_HISTORY" TO "EXAM_03"
    ORA-39112: Dependent object type OBJECT_GRANT:"OE" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type OBJECT_GRANT:"OE" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
    ORA-39112: Dependent object type INDEX:"OE"."CUSTOMERS_PK" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type INDEX:"OE"."CUST_ACCOUNT_MANAGER_IX" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type INDEX:"OE"."CUST_LNAME_IX" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type INDEX:"OE"."CUST_EMAIL_IX" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type INDEX:"PM"."PRINTMEDIA_PK" skipped, base object type TABLE:"PM"."PRINT_MEDIA" creation failed
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    ORA-39112: Dependent object type CONSTRAINT:"OE"."CUSTOMER_CREDIT_LIMIT_MAX" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type CONSTRAINT:"OE"."CUSTOMER_ID_MIN" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type CONSTRAINT:"OE"."CUSTOMERS_PK" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type CONSTRAINT:"PM"."PRINTMEDIA__PK" skipped, base object type TABLE:"PM"."PRINT_MEDIA" creation failed
    ORA-39112: Dependent object type CONSTRAINT:"IX"."SYS_C005192" skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
    Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"OE"."CUSTOMERS_PK" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"OE"."CUST_ACCOUNT_MANAGER_IX" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"OE"."CUST_LNAME_IX" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"OE"."CUST_EMAIL_IX" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"PM"."PRINTMEDIA_PK" creation failed
    Processing object type TABLE_EXPORT/TABLE/COMMENT
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    ORA-39112: Dependent object type REF_CONSTRAINT:"OE"."CUSTOMERS_ACCOUNT_MANAGER_FK" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39083: Object type REF_CONSTRAINT failed to create with error:
    ORA-00942: table or view does not exist
    Failing sql is:
    ALTER TABLE "OE"."ORDERS" ADD CONSTRAINT "ORDERS_CUSTOMER_ID_FK" FOREIGN KEY ("CUSTOMER_ID") REFERENCES "OE"."CUSTOMERS" ("CUSTOMER_ID") ON DELETE SET NULL ENABLE
    ORA-39112: Dependent object type REF_CONSTRAINT:"PM"."PRINTMEDIA_FK" skipped, base object type TABLE:"PM"."PRINT_MEDIA" creation failed
    Processing object type TABLE_EXPORT/TABLE/TRIGGER
    ORA-39082: Object type TRIGGER:"HR"."SECURE_EMPLOYEES" created with compilation warnings
    ORA-39082: Object type TRIGGER:"HR"."SECURE_EMPLOYEES" created with compilation warnings
    ORA-39082: Object type TRIGGER:"HR"."UPDATE_JOB_HISTORY" created with compilation warnings
    ORA-39082: Object type TRIGGER:"HR"."UPDATE_JOB_HISTORY" created with compilation warnings
    Processing object type TABLE_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
    ORA-39112: Dependent object type INDEX:"OE"."CUST_UPPER_NAME_IX" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"OE"."CUST_UPPER_NAME_IX" creation failed
    Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
    ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"PM"."PRINT_MEDIA" creation failed
    ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"PM"."PRINT_MEDIA" creation failed
    ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
    Processing object type TABLE_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
    Processing object type TABLE_EXPORT/TABLE/POST_INSTANCE/PROCACT_INSTANCE
    ORA-39112: Dependent object type PROCACT_INSTANCE skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
    ORA-39083: Object type PROCACT_INSTANCE failed to create with error:
    ORA-01403: no data found
    ORA-01403: no data found
    Failing sql is:
    BEGIN
    SYS.DBMS_AQ_IMP_INTERNAL.IMPORT_SIGNATURE_TABLE('AQ$_ORDERS_QUEUETABLE_G');COMMIT; END;
    Processing object type TABLE_EXPORT/TABLE/POST_INSTANCE/PROCDEPOBJ
    ORA-39112: Dependent object type PROCDEPOBJ:"IX"."AQ$_ORDERS_QUEUETABLE_V" skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
    ORA-39112: Dependent object type PROCDEPOBJ:"IX"."ORDERS_QUEUE_N" skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
    ORA-39112: Dependent object type PROCDEPOBJ:"IX"."ORDERS_QUEUE_R" skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
    ORA-39112: Dependent object type PROCDEPOBJ:"IX"."AQ$_ORDERS_QUEUETABLE_E" skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
    ORA-39112: Dependent object type PROCDEPOBJ:"IX"."ORDERS_QUEUE" skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
    Job "SYSTEM"."SYS_IMPORT_TABLESPACE_01" completed with 63 error(s) at 18:09:14

    Short of trying to then reverse-engineer the objects that are in the dump file (I believe Data Pump export files contain some XML representations of DDL in addition to various binary bits, making it potentially possible to try to scan the dump file for the object definitions), I would tend to assume that the export didn't include those type definitions.
    Since it looks like you're trying to set up the sample schemas, is there a reason that you wouldn't just run the sample schema setup scripts on the destination database? Why are you using Data Pump in the first place?
    Justin

  • Tablespace and performance issue

    Hi,
    I have Tablespace X and tablespace Y.
    I have seven transaction tables in X, which has image tables in Y. X tablespace is my Online tablespace and Y my archive tablespace and I use the archive tablespace to store old data.
    I use the same algorithm, only wrapped up in two processes, with only the source and destination alternating. The code performs extremely well for moving data X->Y. And ridiculously slow for Y-> X.
    I have just started doing this process of archiving, so the data volume in both the sets of tables are the almost the same.
    Any clue on what I could check up for here ?? What should be the problem ??
    The trace file shows the similar plans both sides, only there are wait times in process Y->X.
    Thanks for your time on this.
    Ashok.

    ahhh ... you are talking now about "internal" (vs. "external"?) volume instances. This implies probably you have really to talk to the responsible dba, as Justin already proposed.
    One small correction, you always can do an "insert /*+ append */ ...". As Oracle will write into new datablocks then, you only would loose the last allocated free blocks. But in the case of the offline tables, this is not a problem as you only add data anyway therefore you'll not loose a lot. And disk space is not really a concern anymore these days.
    For the other way around, you only had to do an "alter table X move tablespace <online-tbs>" afterwards to clean up all the unused blocks.
    For the truncating, may be you can think about it again. You have a processing going on there ie there is some grouping/selecting criteria. Probably one of these criterias is a partitioning candidate? And with a partitioned table you would be back in the truncating game.
    For the "I'm not let to DDL on the objects from inside the code" seems a rather funny restriction, as this doesn't let you do a truncate and instead you need a lot of (probably unnecessary) undo-tablespace for a delete. But as some dba's don't really know, what the job of a good developer is, you can probably ask your dba for a packaged procedure, where this table/partition gets truncated.

  • How to restore limited tablespace for table (drop table import)

    Hi All,
    Application user has drop one master table in database i want to restore it but now i don't hv logical backup
    i hv only rman backup,Is it possible to restore only limited tablespace and open the database n import that required table from tablespace.
    If its possible by auxiliary instance pls send me the required steps to create auxiliary instance for limited tablespace
    Waiting for immediate responce.
    Thanks & Regards,
    .......

    user9161658 wrote:
    Hi All,
    Application user has drop one master table in database i want to restore it but now i don't hv logical backup
    i hv only rman backup,Is it possible to restore only limited tablespace and open the database n import that required table from tablespace.
    If its possible by auxiliary instance pls send me the required steps to create auxiliary instance for limited tablespace
    Waiting for immediate responce.PLease note asking for an immediate response is not a good thing on a public and free forum. For immediate assistance, OSS is the place to go for.
    What you want to do is certainly possible and its possible to recover only the dropped object form the tablespace with the help of TSPITR . Please see the following link to understand and know about it. Since you haven't mentioned your version, I am giving 11.2's link.
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmtspit.htm#BRADV89787
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmtspit.htm#BRADV009
    HTH
    Aman....

  • EXPDP tablespace and IMPDP tablespace - who owns the tablespace data?

    Hi Gurus
    Sorry - new to this. Thank you for replies in advance.
    10.2.0.3 - Windows 2003. Done some googling but not got the answer.
    Have been asked by developer to export multiple tablespaces (on one server) into a new database (on another server) but import into just one tablespace.
    Unable to use transportable tablespaces because software owner says it doesn't work.
    However, developer says can use data-pump in 10g to do this.
    Have created the same repository on both databases under the system account and same path name on both servers.
    Have used expdp system/password tablespace=(tablespace_name1, tablespace_name2, etc) to create the dmp file and copied it over to the new database server.
    Now about to import it into the new database into just one tablespace.
    If I export all the multiple tablespaces and then import them into the one tablespace - under the system account - how does Oracle work out who owns the tables in the tablespace?
    The tables, themselves, are owned by multiple owners (not all these users are created in the new database as the developer's ultimate idea is that it is only one new schema is created for the multiple tablespace data).
    Before doing it I wonder - even though I've specified no schema etc - seems to me that system owns this data and all the data in the tablespace if I do import it successfully using remap tablespace=source: new tablespace.
    I saw the system tablespace increase (thought it would but not what is desired, I'm guessing as I can't identify it clearly when looking - so it maybe there unnecessarily forever.
    Seems to me I've put stuff into my system tablespace that will be there forever (unless I do something about it) on database1.
    But if I impdp to database2 to new tablespace - under the system owner - then it will still be in the system tablespace and still owned by the system schema.
    Is this correct thinking?
    Should I create the old owners of the schemas in order for the impdp to succeed?
    And if correct - is it possible to then allocate those tables in that tablespace to a new schema owner - and is there a way to do it at the time of import or do I have to then do some clever magical guru stuff to change it?
    Thanks Gurus.
    Please ask questions if I've not made myself clear.
    Thanks again.

    Thank you Guru for your reply.
    No, I am not trying to create the same database elsewhere.
    I am definitely not trying to not create a clone.
    I would like to understand that, as I have a dmp file created for multiple tablespaces via expdp - under the system user - as I now want to dmp that file under one user - and can do via impdp - who owns the data - and if I have transferred via system user - is it the system user who owns the data in the tablespace now - or can I transfer it to a new named user?
    Thanks Gurus.

  • Tablespace and LOB

    Hi all,
    Is it possible to have a logging TABLESPACE with a nologging LOB?

    The target tablespace must already exists: if it does not exist you need to create it with a user account having DBA role like SYSTEM or SYS.
    This is just an example that you should adapt (path name and size):
    SQL> create tablespace tnew datafile 'c:\oraclexe\oradata\xe\tnew01.dbf' size 100M;
    Tablespace created.
    SQL>Once target tablespace exists you can move LOB columns to new tablespace:
    SQL> create table tl(x clob) tablespace users;
    Table created.
    SQL> alter table tl move lob(x) store as (tablespace tnew);
    Table altered.
    SQL>Edited by: P. Forstmann on 19 févr. 2011 09:43

  • HTTP 404 error after changed tablespace and password of schema FLOWS_FILES

    Hi I have a problem of having HTTP 404 not found error for file upload in my apex app by submiting a page. When it goes to http://xxx.xxx.xxx:8080/apex/wwv_flow.accept after unlocked , changed password and change tablespace for the account FLOWS_FILES.
    Is there anyone can help ?
    Thanks in advance.

    Hi Scott,
    Yes, I have modified the bug tracker application to support file upload by using a file browser object and created a "file_upload" table under the workspace schema to keep the linkage with the table WWV_FLOW_FILE_OBJECTS$. The application works fine before but after I realize that the FLOWS_FILES schema can be unlocked and the free space in default tablespace SYSAUX has almost been used up more than 99%, so I first unlock the account FLOWS_FILES, then changed the password and move the table WWV_FLOW_FILE_OBJECTS$ to tablespace FLOW_1 and changed the default tablespace and then rebuilt the index. I have moved the table back to SYSAUX tablespace now and have rebuilt the index also. However, upload a file and then press 'apply change' in the 'create issue log details' page, it gets the error HTTP 404 but if I do not attach any file. It goes without an error. The only thing I changed is on the database side of the FLOWS_FILES schema, so I think the problem resides on it but I don't know why even I moved the table WWV_FLOW_FILE_OBJECTS$ back to SYSAUX, rebuilt the index but still it doesn't work.
    Is that good even explanation ?
    btw, I am using IIS and how can I see the webserver error ?
    Regards,
    Edward

  • Using exp dump file, how to know schema/tablespace/database/table....

    Hi
    I have export dump file. I don't have any information other then that about the dumpfile.
    1. How do I know what version of exp was used(or database version)?
    2. what does the exp contain, whether it is table/schema/tablespace/database level export?
    3. Is it possible that I can used impdp command to export a file which was exported using "exp" command?

    1. Sorry for my ignorance but in first case how do I know if i have to use "imp or impdp".
    As discussed in the above mentioned thread strings might reveal something but not sure. Otherwise you can always confirm by trying to run it.
    And assuming that if I imported the dump(using trial and error rule), how do I know what level of export was the dump file created... ie
    how do I know the present object(object imported in target) was belonging to which tablespace and schema in source database(question 2 of "Sidhu")?
    When you will import it back in a new database, everything will be same as the original database. All objects will belong to their respective tablespaces,schemas blah blah...(where they were in the original database).
    Sidhu

  • ASSM and table with LOB column

    I have a tablespace created with ASSM option. I've heard about that tables with LOB columns can't take the advantage of ASSM.
    I made a test : create a table T with BLOB column in a ASSM tablespace. I succeeded!
    Now I have some questions:
    1. Since the segments of table T can't use ASSM to manage its blocks, what's the actrual approach? The traditional freelists??
    2. Will there be some bad impacts on the usage of the tablespace if table T becomes larger and larger and is used frequently?
    Thanks in advance.

    Can you explain what you mean by #1 because I believe it is incorrect and it does not make sense in my personal opinion. You can create a table in an ASSM tablespace that has a LOB column from 9iR2 on I believe (could be wrong). LOBs don't follow the traditional PCTFREE/PCTUSED scenario. They allocate data in what are called "chunks" that you can define at the time you create the table. In fact I think the new SECUREFILE LOBs actually require ASSM tablespaces.
    HTH!

  • ORA-20015: Invalid tablespace for table

    I have a table partioned by range and have done interval partitioning on a date column.
    when i apply the lifecycle definition on this table i get the following error ORA-20015: Invalid tablespace for table .
    Also in the list of candidate tables,it shows Table Partioning Not Available.
    Any help on this

    any resolution so far?

Maybe you are looking for

  • SkillBuilders Modal Page-Closing window

    Hello, i have a html button. With the following attributes: onclick="return false" class="upd_description" A dynamic Action is listening on this button. Event: Click Selection-Type: jQuery Selector JQuery Selector: .upd_description static_URL: f?p=&A

  • How to set PDF version for the output file in ES4

    I am using LiveCycle ES4 for converting word docs to PDF. In our client we invoke createPDF method of GeneratePdfServiceClient class. We are using a custom PDF setting in LiveCycle in which we have defined configuration as per the business requiremen

  • Can I use flashback database to flashback a pluggable database?

    Hi All, I created a container database and then created a pluggable database. In the pluggable 12.1 datbase, I loaded the user data. I performed the below sqlplus / as sysdba; create restore point CLEAN_DB guarantee flashback database; And I performe

  • "Error Connecting to the server" What do i do?

    Whenever i try to log in, a widow appears like this: apparently there is an error with registration. What should i do? I have tried this with many apple ID accounts and it doesnt work. The same occurs with my game center log in and face time as well.

  • Despite setting a Home Page Firefox always opens in the last page viewed. How do I solve this?

    I have followed the instructions for setting a Home Page. Firefox always opens in the last page I viewed. Clicking on the Home icon does take me to my Home Page once Firefox has opened.