Should I consider index tablespace too?

Hello

We have 6 Tablespaces that represent DATA and 6 other TABLESPACES which represent the INDEX, we db backup using RMAN.

In order to cover ourself completely against the loss of a single table, I intend to perform the backup of data by Data Pump (expdp/impdp).

The question I have is... what I have to do an EXPDP of Tablespaces INDEX also? If this isn't the case, then when I go to restore DATA STORAGE spaces on my test server, how can ensure me that the index entries are created automatically in the TS of the INDEX, so that data access is faster?


Concerning

Learner

Dear learner1,

This thread is going in recovery and the backup policy Manager, but I'll try to address your concerns.

You can always use the flashback of the Oracle 10 g database feature (if it is already enabled) and you can use the recyclebin in flashback the paintings from before the fall.

If there is a critical table or diagram of your database, you can use the datapump or the classic export for the operation of separate backup utility. However, as damorgan has already stated that the most reliable way to backup/restore/recover the database is the RMAN. This does not mean that you should not use other means as cold, utility backup etc export.

You can separate the index and storage of data in your database and when you lost the index tablespace, you can recreate the indexes and storage space if you already have the DDL of the relevant indices. Restoration of databases with the impdp will not recover the index tablespaces because you did not save the front index tablespaces.

Also, we have an application that uses separate storage for the data and the indexes and I had a problem once with a data index file and he was not very tall, so I simply removed the tablespace, data files, indexes and recreate the tablespace, index and its partitions because I had the index DDL. Of course, this is not connected with storage of data. If you lose the tablespace data, your data is lost and the recovery should be used.

Hope that helps.

Ogan

Tags: Database

Similar Questions

  • index to around index tablespace

    Hello

    I want to move the index of old to new index tablespace tablespace?

    who controls what should I use?

    Thanks in advance.

    Select index_name, tablespace_name of dba_indexes where index-name = "PK_CUSTOMER";

    You probably have the same index name (and table name) in two different patterns.

    Integrate INDEX_OWNER and valid in your request on DBA_INDEXES

    Hemant K Collette

  • Getting slower PC. No virus, fast PC. Should I consider a certified registry cleaner microsoft I already tried PC Tools, but it made no difference?

    (Vista 64-bit) PC getting slower.  No virus, fast PC.  Should I consider a certified registry cleaner microsoft I already tried PC Tools, but it made no difference?

    (Vista 64-bit) PC getting slower.  No virus, fast PC.  Should I consider a certified registry cleaner microsoft I already tried PC Tools, but it made no difference?

    Don't use registry cleaner.
    In the hands of computer experts, it may be a useful tool, perhaps.
    In the hands of regular users, it's a time bomb.
    Here are 2 articles about why not to use registry cleaner:
    Why not use registry cleaner
    http://www.techsupportforum.com/Microsoft-support/Windows-Vista-Windows-7-support/483829-why-not-use-Registry-cleaners.html

    Why I don't use registry cleaner
    http://www.edbott.com/weblog/2005/04/why-i-Don ' t-use - Registry cleaners.

    I don't have many ideas on making your PC run faster.
    Disk defrag is a way to improve the performance of the computer.
    I use a 3rd party software called Augslogics.
    We will user decide disk defrag, it shows the defragmentation in action, and he gives a summary report later.
    If you are interested, here is the link. It's a FREE program:
    http://download.CNET.com/Auslogics-Disk-Defrag/3000-2094_4-10567503.html

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Remove the constraint of PK to win space on INDEX tablespace

    I dropped a huge table (which has recently imported for testing) INDEX by deleting the PK constraint to win space on INDEX tablespace. But INDEX tablespace is not reduced image.

    Please notify.

    Kind regards

    Veera

    The tablespace not to shrink because it's a performance inhibitor.

    However, you can see the free space within the increase of tablespace, and this space is generally available for other objects.

  • What factor or things should be consider in Composite SOA design for Cluster environment

    Hello

    I have to develop SOA Composite that must be deployed in the Cluster environment, but I don't know what are the important things, should be considered before and during the creation of composite SOA SOA suite. For example a specific model design property or some plan JCA ports or confg properties or or etc...

    Do I have to look at (take care) if I'm the composite design of soa in a cluster environment.

    Thank you

    All the work is already done for you by Oracle.

    The only rule you need to follow is a common one for clusters: do not keep the (local) State. If you need save some State uses a shared storage (database, distributed cache, distributed file system distributed HTTP session - when it is configured as).

    Vlad

    http://genericparallel.com

  • by specifying the index tablespace in to disable the primary key constraint

    Hello
    during the ETL I want to disable constraints PK/UK to speed up the load;
    on activation of the constraint, the corresponding indices are created in a different tablespace while they were initially on the creation of the table itself
    I tried to disable PK / UK with the option 'keep the index', the index value corresponding to the status of "unusable" and use ' alter session set skip_unusable_indexes = true', but then I can't insert rows with the error.
    Error: ORA-01502: index 'xxx' or partition of such index is in unusable state
    can anyone tell if there is a way to allow the PK/UK constraint and specify the storage space for the corresponding indices, or keep the index and inserts works?
    I'd like to avoid to drop constraints / indexes and re-create them both from scratch after the load
    Thank you for the advice
    Thank you
    Rgds

    >
    can anyone tell if there is a way to allow the PK/UK constraint and specify the storage space for the corresponding indices, or keep the index and inserts works?
    I'd like to avoid to drop constraints / indexes and re-create them both from scratch after the load
    >
    Have you tried specifying the table space in the USING clause when you activate the constraint?

    ALTER TABLE emp ENABLE PRIMARY KEY USING INDEX TABLESPACE myTS;
    

    See DBA guide
    http://docs.Oracle.com/CD/B28359_01/server.111/b28310/indexes003.htm
    >
    Creating an Index associated with a constraint

    Oracle database applies a UNIQUE key or a constraint integrity PRIMARY KEY on a table by creating a unique index on the unique key or primary key. This index is created automatically by the database when the constraint is enabled. No action is required by you when you run the CREATE TABLE or ALTER TABLE statement to create the index, but you can optionally specify an ESCALATION using clause to exercise control over his creation. This includes them when a constraint is defined and enabled, and when a constraint defined but disabled is selected.
    >
    Note the last sentence two sentences:
    >
    You can optionally specify an ESCALATION using clause to exercise control over his creation. This includes them when a constraint is defined and enabled, and when a constraint defined but disabled is selected.
    >
    You realize, I hope, that the only way can Oracle KNOWS that the index contains valid values is to rebuild?

  • Siebel Database Configuration Assistant unable to identify the indexes tablespace

    Hello

    I install Siebel CRM 8.1.1 on AIX platform. We have a RAC database has allowed the backend and that two tablespace is created, other data and another for the index. Now in the wizrd of configuration database to the name of these two storage spaces; provide us with the name of tablespae of data in the Tablespace filed Table and index tablespace in the tablespace index rating of the Setup Wizard. Now when we click on the next button. The wizrd of configuration gives error of unable to identify the indexes tablespace.

    Why is - what happens as index tablespace is correctly created in the database. Please help me in this. Quick Respance you will be appreciated.

    Kind regards

    Abgrall

    If you ran:

    change the quota unlimited on user SIEBEL

    ?

  • How to import tables, index, tablespace, etc. of a DMP.

    Hello

    I would like to know how to import tables, index, tablespace, etc. of an export an Oracle 10.2.0.1 to apply on an Oracle 11.2.0 DMP. When I import the DMP file a unique Tablespace, for example, will users tablespace data.

    On the basis of origin, we have different tablespace each separated with different content (tables, index) and I would like to know if it is posible to import the same schema, tables, index, tablespace quite with a DMP alone, Export. I can't use DBUA because the database on the 10.2 software is missing, I have only one file (24 GB) DMP DMP!.

    Thanks for the reply,

    Sorry for my English :).

    Kind regards.

    The standard solution is

    -Make sure that the target user doesn't have the UNLIMITED TABLESPACE privilege, using REVOKE
    -Make sure that the target user has no QUOTA on the default tablespace using ALTER USER... QUOTA
    -Make sure that there is quota on the tablespace (s) of the target, using ALTER USER... QUOTA
    -import indexes = n
    -empty the index orders in a separate file
    IMP indexfile =...
    -run this file

    --------------
    Sybrand Bakker
    Senior Oracle DBA

  • DataPump to a single index tablespace sqlfile gives ORA-31655

    Hi, try to use the tablespaces of data pump export functions to create a sqlfile of DDL to create indexes for a table index. When I run this command:

    System expdp tablespaces dumpfile = directory = DATA_PUMP_DIR idx_ts = idx_ts.dmp

    I get the following error:

    ORA-31655: no data or metadata of objects selected for employment

    My "Workaround" (which is not all that good) was therefore proceed as follows:

    the schemaname = expdp system schemas include = index directory = DATA_PUMP_DIR dumpfile = test.dmp

    and then do:

    Directory = DATA_PUMP_DIR dumpfile = test.dmp sqlfile = Impdp system indexes .sql

    which gives a nice script to create ALL the indexes belonging to schemaname. But what is sought is to simply create a script for the IDX_TX tablespace sqlfile.

    The questions are:

    1. is there some other expdp command-line syntax that successfully exports the DDL for this index tablespace only in a dump file?
    2 is there a way (other than a script - I have those) use of data pump succcessfully 'export' an index tablespace only?
    3. Why is this command faililng?

    Thank you! Gil

    create a sqlfile of DDL to create indexes for a table of index

    DBMS_METADATA. GET_DDL can also be used.

    [http://www.morganslibrary.org/reference/dbms_metadata.html]
    [http://www.orafaq.com/node/59]

  • MATERIALIZED View Log Index Tablespace

    Is anyone aware of the syntax or a framework to be able to specify the index of a materialized view of the journal storage space?

    We chunk our objects by tablespace - index, tables, CLOB.

    Creating a materialized view log and specifying the storage space in which it should be created created the mv log in the correct location, but the index that is created uses the default tablespace for the user.

    And Yes, I Googled it. LMGTFY

    create materialized view log on MY_TEST tablespace my_tablespace ;
    

    select table_name, tablespace_name
      from user_tables
     where table_name like 'MLOG%';
    

    TABLE-NAMETABLESPACE_NAME
    MLOG$ _MY_TESTMY_TABLESPACE

    select table_name, index_name, tablespace_name
      from user_indexes
     where table_name like 'MLOG%';
    

    TABLE-NAMEINDEX_NAMETABLESPACE_NAME
    MLOG$ _MY_TESTI_MLOG$ _MY_TESTUSERS

    I found these documents:

    Index on MLOG$ (materialized view Log): difference in behavior between 11.2.0.3 and 11.2.0.4 (Doc ID 1959657.1)

    Materialized View Log (Mlog$) Index not created in its default Tablespace (Doc ID 1959658.1)

    I guess you are running 11.2.0.4, right?

    In previous versions, no index has been created automatically for the journal of MV.

    Kind regards

    Bashar

  • ORA-1683 cannot extend index - and too many size of the Index.

    Hello

    I took "ORA-1683: impossible to extend the index TS001." Partition TEMP_PK P20110925 of 64 in the TS001_TEMP_I_ tablespace 'in the alert.log. You can find system information on below;
    Size of the index = 140 GB (it's too big, I am open to any suggestion for the reduction of the size).
    Table size = 600 GB
    OS disk percentage is 85% usage.

    Thus, our performance very slowly. How can I solve our problems?


    Thank you...

    perhaps already reached TS001_temp_index.dbf can use max, you check?

    Select file_name, bytes/1024/1024, user_bytes/1024/1024, maxbytes/1024 CanGrow in dba_temp_files;

  • Reclaim the storage space for the Index tablespace. The fastest approach

    Hello world
    My version of the database is 10.2.0.4
    I have a partitioned table that has divided the indexes that are found on a tablespace called INDEX01.
    the space allocated to the tablespace INDEX01 is about 10 terabytes, however the space used is about 1.5 tera-bytes.
    I need to recover to the level of the storage space. I decided to recreate the tablespace INDEX01.
    I did not create index scripts so I came with two approaches
    1. to move the index partitions in a different tablespace, drop the tablespace INDEX01, recreate the tablespace INDEX01 and then replace the index partitions.
    2. intentionally mark the unusable index partitions, drop the tablespace INDEX01, recreate the tablespace INDEX01 and then rebuild the index partitions.

    step 2 seems faster but I need to know if it would work and impact? (the tablespace would pass with the marked index unsable partitions) and I hope that the original table is not affected?

    concerning
    Samuel

    Samuel K wrote:
    Hello world
    My version of the database is 10.2.0.4
    I have a partitioned table that has divided the indexes that are found on a tablespace called INDEX01.
    the space allocated to the tablespace INDEX01 is about 10 terabytes, however the space used is about 1.5 tera-bytes.
    I need to recover to the level of the storage space. I decided to recreate the tablespace INDEX01.
    I did not create index scripts so I came with two approaches
    1. to move the index partitions in a different tablespace, drop the tablespace INDEX01, recreate the tablespace INDEX01 and then replace the index partitions.
    2. intentionally mark the unusable index partitions, drop the tablespace INDEX01, recreate the tablespace INDEX01 and then rebuild the index partitions.

    Since you're talking about the abolition of the index, I guess that you have application downtime. Since this is the case, you may want to consider the fact that an index rebuild can analyze the existing index in order to collect relevant data - provides the index is not unusable, and you do not have a reconstruction in line.

    The fastest option - if INDEX01 is a locally managed tablespace - would probably be:


    Find partitions of index holding at the beginning of the file and rebuild (nologging, parallel, perhaps for speed) in a different tablespace.
    Find the clues that are 'next' in the repository and rebuild in the same tablespace. If the tablespace is locally managed, then the index will fill the empty space at the beginning of the files.
    Work on the files gradually moving toward the front of the space of tables, indexes, and leaving the 'next' bit of the empty file.
    Finish by copying back the small number of partitions of index you rebuilt in the tablespace to spare (and drop this tablespace).
    Shrink the large tablespace.

    Concerning
    Jonathan Lewis

    p.s. I wrote a small script some time ago to report the measure ordering in a tablespace - it can help you to choose the order of rebuild.
    http://jonathanlewis.WordPress.com/2010/02/06/shrink-tablespace/

  • index tablespace space


    Hello

    I have a spatial table in a tablespace (USERS) and I created a spatial index for this table in a different tablespace (IDXDATA) to the following help.

    Index is created, but its tablespace does not appear when I saw ALL_INDEXES query dictionary.

    CREATE INDEX pl_vpoint_sidx ON pl_vpoints (geometry) INDEXTYPE IS MDSYS. SPATIAL_INDEX

    parameters ('tablespace = idxdata');

    Select index_name, index_type, table_name, tablespace_name of all_indexes where owner = "XYZ";

    XYZ FIELD PL_VPOINTS NULL PL_VPOINT_SIDX

    Hi Don,

    I'm not sure but I think this happens because a spatial index is a 'normal' table in your schema (tables MDRT_ # $). So if you created in a different tablespace, you will need to use the SDO-views to get the index table name, then search what tablespace this table is:

    Select sii.table_name, sii.column_name, sii.index_name, sii.sdo_index_table, ut.tablespace_name sdo_index_tablespace

    of user_sdo_index_info sii, ut user_tables

    where ut.table_name = sii.table_name;

    Check the user_sdo_index_metadata and the user_sdo_index_info a view, they contain a lot of useful information (replace user with s/n If you have rights, then you will get an additional column, 'owner' according to the usual data dictionary views).

    HTH,

    Stefan

  • Updates a slower non indexed column too?

    Hello

    I learned that indexes slow down DML operations.

    My question is specific to an update statement. It will be slower if Im trying to update a column that is indexed on my table or it is generally slower (even when a non indexed column is getting updated in the table)

    How did he behave in case of pads & delete operation.

    Please throw some light on these concepts.

    Thank you

    With updates, there are two steps:

    (1) oracle must find the lines that you want to update - this can be done much more quickly if you have indexes on the appropriate columns.

    (2) If you update the values of any type or column on which an index was built, the index must be updated as well - that will take extra time.

    Depending on the size of your table and the nature of your update, the effect of one may significantly outweigh the other.

    With inserts, the only factor that comes into play is (2): insertion of a new row in the table also means insert in the index. For this reason, it should be sometimes when inserting large amounts of data into an empty table to drop the index before inserting and create them again later.

    In the end, the only way to be sure is to experiment and see what a difference it is your particular staements in your particular database on your particular hardware.

  • Audit trail Tables should be in SAMS tablespaces in 9i / 10g?

    Hello

    I know that a strong recommendation for 11g is that we house the SYS. AUD$ and SYS. FGA_LOG$ table in a tablespace SAMS and certainly NOT the system tablespace.

    However, I am struggling to find anywhere where it says the same for previous versions of the database - specific 9i and 10g.

    I thought I had read somewhere that Oracle do not support move the tables out of the SYSTEM tables audit trail in previous versions, but I can't find where I read that.

    Basically, I presume I can create a tablespace of VERIFICATION that uses the SAMS and move the tables on 9i / 10g? (Yes, I know things being out-of-support - application vendor has not yet certified 11 g!)

    Mark

    Erman Arslan says:
    Yes... interesting... maybe he can perform certain operations such as upgrade version and that is why it s not supported...

    But knowing how do has been public knowledge for several versions and is very common. I have been at this since 7.3 and have never heard a question resulting from travel sys.aud$ and he associated with the index another tablespace. And that's really it, that is. If you look at the script "unsupported" provided by oracle, you will set it's just move a table and rebuild its indexes. No tricks Super hidden guru.

    The question is not SAMS vs non-SAMS. It is a very volatile table of the TS system.

Maybe you are looking for