Rebuild Oracle 11g R1 clustered DB

I have oracle 11g R1 clustered(two nodes) on Linux boxes, with ASM. Now the cluster is down due to lost connection to SAN. We might not be able to restore the SAN the way as it was, meaning we lost all datafiles(diskgroup). I can not start cluster, asm and DB.
We have backup(rman and export) from production. I'm trying to find the best way to rebuild this clustered database.
Thank you for your help!
Hanping

I have oracle 11g R1 clustered(two nodes) on Linux boxes, with ASM. Now the cluster is down due to lost connection to SAN. We might not be able to restore the SAN the way as it was, meaning we lost all datafiles(diskgroup). I can not start cluster, asm and DB.Where the backup is exist? is it also in disk groups or local file system?
We have backup(rman and export) from production. I'm trying to find the best way to rebuild this clustered database.After setting up everything like, creating disk groups, You can go with two options. However you have backup of RMAN & EXPORT
1) export/import
You can create a RAC database using DBCA and then import the dumpfile.
2) RMAN.
You can restore the database on one node, later you can covnert this database as RAC

Similar Messages

  • Clustering in Oracle 11g/10g

    Hi
    We have 40000 records in our database (Oracle 11g/10g), in which each record holds 2 to 3 images and so each record will be of some MBs.
    Do we need to perform clustering to get a better performance?
    Thanks
    Shoba Anandhan

    Thanks for the immediate replies.
    We have a Windows 2003 Server, where in we have the Microsoft Visual Studio 2008 and Oracle 11g database.
    Our web application will be developed using Microsoft Visual Studio 2008 having Oracle as backend.
    At at time we are assuming 100 users to work with the web applications. We connect to the database everytime to display data in the web page.
    100% performance is expected.
    The Windows 2003 Server has a 4 GB of RAM. Is 4 GB enough to process these database requests or do we need more?

  • Oracle 11g: Oracle insert/update operation is taking more time.

    Hello All,
    In Oracle 11g (Windows 2008 32 bit environment) we are facing following issue.
    1) We are inserting/updating data on some tables (4-5 tables and we are firing query with very high rate).
    2) After sometime (say 15 days with same load) we are feeling that the Oracle operation (insert/update) is taking more time.
    Query1: How to find actually oracle is taking more time in insert/updates operation.
    Query2: How to rectify the problem.
    We are having multithread environment.
    Thanks
    With Regards
    Hemant.

    Liron Amitzi wrote:
    Hi Nicolas,
    Just a short explanation:
    If you have a table with 1 column (let's say a number). The table is empty and you have an index on the column.
    When you insert a row, the value of the column will be inserted to the index. To insert 1 value to an index with 10 values in it will be fast. It will take longer to insert 1 value to an index with 1 million values in it.
    My second example was if I take the same table and let's say I insert 10 rows and delete the previous 10 from the table. I always have 10 rows in the table so the index should be small. But this is not correct. If I insert values 1-10 and then delete 1-10 and insert 11-20, then delete 11-20 and insert 21-30 and so on, because the index is sorted, where 1-10 were stored I'll now have empty spots. Oracle will not fill them up. So the index will become larger and larger as I insert more rows (even though I delete the old ones).
    The solution here is simply revuild the index once in a while.
    Hope it is clear.
    Liron Amitzi
    Senior DBA consultant
    [www.dbsnaps.com]
    [www.orbiumsoftware.com]Hmmm, index space not reused ? Index rebuild once a while ? That was what I understood from your previous post, but nothing is less sure.
    This is a misconception of how indexes are working.
    I would suggest the reading of the following interasting doc, they are a lot of nice examples (including index space reuse) to understand, and in conclusion :
    http://richardfoote.files.wordpress.com/2007/12/index-internals-rebuilding-the-truth.pdf
    "+Index Rebuild Summary+
    +•*The vast majority of indexes do not require rebuilding*+
    +•Oracle B-tree indexes can become “unbalanced” and need to be rebuilt is a myth+
    +•*Deleted space in an index is “deadwood” and over time requires the index to be rebuilt is a myth*+
    +•If an index reaches “x” number of levels, it becomes inefficient and requires the index to be rebuilt is a myth+
    +•If an index has a poor clustering factor, the index needs to be rebuilt is a myth+
    +•To improve performance, indexes need to be regularly rebuilt is a myth+"
    Good reading,
    Nicolas.

  • Oracle 11G password case sensitive option is not working.

    Hello,
    I am facing problem in Oracle 11G. I installed and created a database. I disabled password case sensitive option by setting it to false (Pls see the below output). but case sensitive option is not disabled and i am not able to logon using the lower case password.
    SQL> connect sys/<pwd in lower case>@<connect string> as sysdba;
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Warning: You are no longer connected to ORACLE.
    SQL> connect sys/<pwd in uppper case>@<connect string> as sysdba;
    Connected.
    SQL> show parameter SEC_CASE_SENSITIVE_LOGON
    NAME TYPE VALUE
    sec_case_sensitive_logon boolean FALSE
    Any idea.... should i open the case in the metalink ?
    With Regards
    Hemant Joshi.

    Can you execute:
    SQL> select USERNAME, PASSWORD_VERSIONS from dba_users where username = 'SYS';Have you tried reseting the sys password? When you create the password file by default the passwords stored on it are case sensitive, maybe you also need to rebuild it...
    Enrique
    PS. See Note:429465.1 +11g R1 New Feature : Case Sensitive Passwords and Strong User Authentication+
    Edited by: Enrique Orbegozo on Oct 15, 2008 1:20 AM

  • How to uninstall Oracle 11g Database Options?

    I've come across a problem. A company that developed an application, installed Oracle 11g EE.
    I guess they would use all default options. Some of them are licensed separately, and are not used. So I need to uninstall them.
    For example, I see that it is installed "Advanced Compression". I tried to uninstall it from the Universal Installer, but there isn't an option.

    Good news for my company.
    There has never been used "Advanced Compression" and for everything else we are licensed.
    NAME                                                     VERSION     DETECTED_USAGES CURRENTLY_USED LAST_USAGE_DATE
    Active Data Guard - Real-Time Query on Physical Standby  11.2.0.2.0                0 FALSE                         
    ADDM                                                     11.2.0.2.0                0 FALSE                         
    Advanced Replication                                     11.2.0.2.0                0 FALSE                         
    Application Express                                      11.2.0.2.0                0 FALSE                         
    Automatic SGA Tuning                                     11.2.0.2.0                0 FALSE                         
    Automatic Storage Management                             11.2.0.2.0                0 FALSE                         
    Automatic Workload Repository                            11.2.0.2.0                0 FALSE                         
    AWR Baseline                                             11.2.0.2.0                0 FALSE                         
    AWR Baseline Template                                    11.2.0.2.0                0 FALSE                         
    Backup BASIC Compression                                 11.2.0.2.0                0 FALSE                         
    Backup BZIP2 Compression                                 11.2.0.2.0                0 FALSE                         
    Backup Encryption                                        11.2.0.2.0                0 FALSE                         
    Backup HIGH Compression                                  11.2.0.2.0                0 FALSE                         
    Backup LOW Compression                                   11.2.0.2.0                0 FALSE                         
    Backup MEDIUM Compression                                11.2.0.2.0                0 FALSE                         
    Backup Rollforward                                       11.2.0.2.0                0 FALSE                         
    Backup ZLIB Compression                                  11.2.0.2.0                0 FALSE                         
    Baseline Adaptive Thresholds                             11.2.0.2.0                0 FALSE                         
    Baseline Static Computations                             11.2.0.2.0                0 FALSE                         
    Bigfile Tablespace                                       11.2.0.2.0                0 FALSE                         
    Block Media Recovery                                     11.2.0.2.0                0 FALSE                         
    Change Data Capture                                      11.2.0.2.0                0 FALSE                         
    Change-Aware Incremental Backup                          11.2.0.2.0                0 FALSE                         
    Character Semantics                                      11.2.0.2.0                0 FALSE                         
    Client Identifier                                        11.2.0.2.0                0 FALSE                         
    Clusterwide Global Transactions                          11.2.0.2.0                0 FALSE                         
    Compression Advisor                                      11.2.0.2.0                0 FALSE                         
    Crossedition Triggers                                    11.2.0.2.0                0 FALSE                         
    CSSCAN                                                   11.2.0.2.0                0 FALSE                         
    Data Guard                                               11.2.0.2.0                0 FALSE                         
    Data Mining                                              11.2.0.2.0                0 FALSE                         
    Data Recovery Advisor                                    11.2.0.2.0                0 FALSE                         
    Database Replay: Workload Capture                        11.2.0.2.0                0 FALSE                         
    Database Replay: Workload Replay                         11.2.0.2.0                0 FALSE                         
    Deferred Open Read Only                                  11.2.0.2.0                0 FALSE                         
    Direct NFS                                               11.2.0.2.0                0 FALSE                         
    Dynamic SGA                                              11.2.0.2.0                0 FALSE                         
    Editioning Views                                         11.2.0.2.0                0 FALSE                         
    Editions                                                 11.2.0.2.0                0 FALSE                         
    EM Database Control                                      11.2.0.2.0                0 FALSE                         
    Encrypted Tablespaces                                    11.2.0.2.0                0 FALSE                         
    Exadata                                                  11.2.0.2.0                0 FALSE                         
    Extensibility                                            11.2.0.2.0                0 FALSE                         
    File Mapping                                             11.2.0.2.0                0 FALSE                         
    Flashback Data Archive                                   11.2.0.2.0                0 FALSE                         
    Flashback Database                                       11.2.0.2.0                0 FALSE                         
    GoldenGate                                               11.2.0.2.0                0 FALSE                         
    HeapCompression                                          11.2.0.2.0                0 FALSE                         
    Hybrid Columnar Compression                              11.2.0.2.0                0 FALSE                         
    Instance Caging                                          11.2.0.2.0                0 FALSE                         
    Internode Parallel Execution                             11.2.0.2.0                0 FALSE                         
    Label Security                                           11.2.0.2.0                0 FALSE                         
    Locator                                                  11.2.0.2.0                0 FALSE                         
    Long-term Archival Backup                                11.2.0.2.0                0 FALSE                         
    Materialized Views (User)                                11.2.0.2.0                0 FALSE                         
    Messaging Gateway                                        11.2.0.2.0                0 FALSE                         
    Multi Section Backup                                     11.2.0.2.0                0 FALSE                         
    Multiple Block Sizes                                     11.2.0.2.0                0 FALSE                         
    Object                                                   11.2.0.2.0                0 FALSE                         
    OLAP - Analytic Workspaces                               11.2.0.2.0                0 FALSE                         
    OLAP - Cubes                                             11.2.0.2.0                0 FALSE                         
    Oracle Database Vault                                    11.2.0.2.0                0 FALSE                         
    Oracle Java Virtual Machine (user)                       11.2.0.2.0                0 FALSE                         
    Oracle Managed Files                                     11.2.0.2.0                0 FALSE                         
    Oracle Multimedia                                        11.2.0.2.0                0 FALSE                         
    Oracle Multimedia DICOM                                  11.2.0.2.0                0 FALSE                         
    Oracle Secure Backup                                     11.2.0.2.0                0 FALSE                         
    Oracle Text                                              11.2.0.2.0                0 FALSE                         
    Oracle Utility External Table                            11.2.0.2.0                0 FALSE                         
    Oracle Utility SQL Loader (Direct Path Load)             11.2.0.2.0                0 FALSE                         
    PL/SQL Native Compilation                                11.2.0.2.0                0 FALSE                         
    Read Only Tablespace                                     11.2.0.2.0                0 FALSE                         
    Real Application Clusters (RAC)                          11.2.0.2.0                0 FALSE                         
    Real-Time SQL Monitoring                                 11.2.0.2.0                0 FALSE                         
    Recovery Area                                            11.2.0.2.0                0 FALSE                         
    Recovery Manager (RMAN)                                  11.2.0.2.0                0 FALSE                         
    Resource Manager                                         11.2.0.2.0                0 FALSE                         
    Restore Point                                            11.2.0.2.0                0 FALSE                         
    Result Cache                                             11.2.0.2.0                0 FALSE                         
    RMAN - Disk Backup                                       11.2.0.2.0                0 FALSE                         
    RMAN - Tape Backup                                       11.2.0.2.0                0 FALSE                         
    Rules Manager                                            11.2.0.2.0                0 FALSE                         
    SecureFile Compression (system)                          11.2.0.2.0                0 FALSE                         
    SecureFile Compression (user)                            11.2.0.2.0                0 FALSE                         
    SecureFile Deduplication (system)                        11.2.0.2.0                0 FALSE                         
    SecureFile Deduplication (user)                          11.2.0.2.0                0 FALSE                         
    SecureFile Encryption (system)                           11.2.0.2.0                0 FALSE                         
    SecureFile Encryption (user)                             11.2.0.2.0                0 FALSE                         
    Semantics/RDF                                            11.2.0.2.0                0 FALSE                         
    Server Flash Cache                                       11.2.0.2.0                0 FALSE                         
    Services                                                 11.2.0.2.0                0 FALSE                         
    Shared Server                                            11.2.0.2.0                0 FALSE                         
    Spatial                                                  11.2.0.2.0                0 FALSE                         
    SQL Access Advisor                                       11.2.0.2.0                0 FALSE                         
    SQL Performance Analyzer                                 11.2.0.2.0                0 FALSE                         
    SQL Plan Management                                      11.2.0.2.0                0 FALSE                         
    SQL Profile                                              11.2.0.2.0                0 FALSE                         
    SQL Repair Advisor                                       11.2.0.2.0                0 FALSE                         
    SQL Tuning Set (system)                                  11.2.0.2.0                0 FALSE                         
    SQL Tuning Set (user)                                    11.2.0.2.0                0 FALSE                         
    SQL Workload Manager                                     11.2.0.2.0                0 FALSE                         
    Streams (system)                                         11.2.0.2.0                0 FALSE                         
    Streams (user)                                           11.2.0.2.0                0 FALSE                         
    Transparent Data Encryption                              11.2.0.2.0                0 FALSE                         
    Transparent Gateway                                      11.2.0.2.0                0 FALSE                         
    Transportable Tablespace                                 11.2.0.2.0                0 FALSE                         
    Tune MView                                               11.2.0.2.0                0 FALSE                         
    Undo Advisor                                             11.2.0.2.0                0 FALSE                         
    Very Large Memory                                        11.2.0.2.0                0 FALSE                         
    Workspace Manager                                        11.2.0.2.0                0 FALSE                         
    XDB                                                      11.2.0.2.0                0 FALSE                         
    XStream In                                               11.2.0.2.0                0 FALSE                         
    XStream Out                                              11.2.0.2.0                0 FALSE                         
    XStream Streams                                          11.2.0.2.0                0 FALSE                         
    ASO native encryption and checksumming                   11.2.0.2.0                1 FALSE          20/10/12       
    Segment Advisor (user)                                   11.2.0.2.0                1 FALSE          08/03/13       
    SQL Tuning Advisor                                       11.2.0.2.0                2 FALSE          09/02/13       
    AWR Report                                               11.2.0.2.0                3 FALSE          09/02/13       
    Oracle Utility Datapump (Import)                         11.2.0.2.0                3 FALSE          26/05/12       
    EM Performance Page                                      11.2.0.2.0                5 FALSE          20/10/12       
    SQL Monitoring and Tuning pages                          11.2.0.2.0                5 FALSE          20/10/12       
    Job Scheduler                                            11.2.0.2.0                6 TRUE           13/04/13       
    Segment Shrink                                           11.2.0.2.0                6 TRUE           13/04/13       
    EM Grid Control                                          11.2.0.2.0               27 FALSE          15/03/13       
    Automatic SQL Execution Memory                           11.2.0.2.0               35 TRUE           13/04/13       
    MTTR Advisor                                             11.2.0.2.0               41 TRUE           13/04/13       
    Parallel SQL DDL Execution                               11.2.0.2.0               56 TRUE           13/04/13       
    Parallel SQL DML Execution                               11.2.0.2.0               56 TRUE           13/04/13       
    Parallel SQL Query Execution                             11.2.0.2.0               61 TRUE           13/04/13       
    Oracle Utility Datapump (Export)                         11.2.0.2.0               93 TRUE           13/04/13       
    Oracle Utility Metadata API                              11.2.0.2.0               93 TRUE           13/04/13       
    Automatic Segment Space Management (user)                11.2.0.2.0               95 TRUE           13/04/13       
    Automatic SQL Tuning Advisor                             11.2.0.2.0               95 TRUE           13/04/13       
    LOB                                                      11.2.0.2.0               95 TRUE           13/04/13       
    Partitioning (user)                                      11.2.0.2.0               95 TRUE           13/04/13       
    Audit Options                                            11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Maintenance - Optimizer Statistics Gathering   11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Maintenance - Space Advisor                    11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Maintenance - SQL Tuning Advisor               11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Memory Tuning                                  11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Segment Space Management (system)              11.2.0.2.0               96 TRUE           13/04/13       
    Automatic Undo Management                                11.2.0.2.0               96 TRUE           13/04/13       
    Character Set                                            11.2.0.2.0               96 TRUE           13/04/13       
    Deferred Segment Creation                                11.2.0.2.0               96 TRUE           13/04/13       
    Locally Managed Tablespaces (system)                     11.2.0.2.0               96 TRUE           13/04/13       
    Locally Managed Tablespaces (user)                       11.2.0.2.0               96 TRUE           13/04/13       
    Logfile Multiplexing                                     11.2.0.2.0               96 TRUE           13/04/13       
    Oracle Java Virtual Machine (system)                     11.2.0.2.0               96 TRUE           13/04/13       
    Partitioning (system)                                    11.2.0.2.0               96 TRUE           13/04/13       
    SecureFiles (system)                                     11.2.0.2.0               96 TRUE           13/04/13       
    SecureFiles (user)                                       11.2.0.2.0               96 TRUE           13/04/13       
    Server Parameter File                                    11.2.0.2.0               96 TRUE           13/04/13       
    Virtual Private Database (VPD)                           11.2.0.2.0               96 TRUE           13/04/13 thanks again

  • Advaced compression in oracle 11g

    Hi,
    We are migrating databases from oracel 10g to 11g and we are using advance compression, i have few question please help me to understand
    1. if i enable compression on tables is index also get compressed if not how i can enable compression on indexes
    2.For table compression i will take the DDL of tables from oracle 10g databases and i create the tables in oracle 11g with COMPRESS FOR ALL OPERATIONS is this the right approach
    Appreciated the inputs
    thanks

    Hi,
    I checked for one of the table ALTER TABLE MOVE COMPRESS FOR ALL OPERATIONS after upgrading to 11g from 10g and rebuild the index
    SQL> select index_name,COMPRESSION,STATUS from dba_indexes where table_name='POSITION_CUBE';
    INDEX_NAME                     COMPRESS STATUS
    TEST                           DISABLED VALIDstill compress column in dba_indexes show disabled
    so i need to compress index also , how i can achive this
    Thanks

  • Object Invalidation in Oracle 11g R2

    Hi All,
    I found a distinct behaviour in oracle 11gR2 which is not even available in previous releases . Let me explain with an example.
    --creating a small table
    create table TEMPSAMPLE (COL1 VARCHAR2(10),COL2 VARCHAR2(10),COL3 VARCHAR2(15),COL4 VARCHAR2(15));
    -- Now Creating an Primary key index for table TEMPSAMPLE
    ALTER TABLE TEMPSAMPLE ADD CONSTRAINT PKTEMPSAMPLE PRIMARY KEY (COL1,COL2);
    ---CREATING A VIEW ON THE ABOVE TABLE
    CREATE OR REPLACE VIEW VWTEMPSAMPLE AS
    SELECT * FROM TEMPSAMPLE;
    -- CREATING A PACKAGE WHICH USES TEMPSAMPLE AND VWTEMPSAMPLE OBJECTS.
    CREATE OR REPLACE PACKAGE PKGSAMP AS
    VAL1 TEMPSAMPLE.COL1%TYPE;
    VAL2 CONSTANT TEMPSAMPLE.COL1%TYPE:='11';
    PROCEDURE VERIFYSAMP(INVAL IN NUMBER);
    END PKGSAMP;
    CREATE OR REPLACE PACKAGE BODY PKGSAMP IS
    PROCEDURE VERIFYSAMP(INVAL IN NUMBER)
    AS
    VAL1 TEMPSAMPLE.COL1%TYPE;
    VAL2 CONSTANT TEMPSAMPLE.COL1%TYPE:='11';
    BEGIN
    VAL1:='RAVI';
    FOR RC IN (SELECT * FROM VWTEMPSAMPLE)
    LOOP
    DBMS_OUTPUT.PUT_LINE('COL1 '||RC.COL1);
    DBMS_OUTPUT.PUT_LINE('COL2 '||RC.COL2);
    DBMS_OUTPUT.PUT_LINE('COL3 '||RC.COL3);
    END LOOP;
    INSERT INTO TEMPSAMPLE VALUES('REC05','RAVI','EEE','CK');
    DELETE FROM TEMPSAMPLE WHERE COL1='RECO1';
    UPDATE TEMPSAMPLE SET COL4='CKR' WHERE COL1='RECO2';
    DBMS_OUTPUT.PUT_LINE('VALUE IS '||INVAL);
    DBMS_OUTPUT.PUT_LINE('VALUE IS '||VAL1);
    END VERIFYSAMP;
    END PKGSAMP;
    --CREATING A PACKAGE PKGSAMP2 WHICH USES TEMPSAMPLE TABLE ITSELF
    CREATE OR REPLACE PACKAGE PKGSAMP2 AS
    VAL1 TEMPSAMPLE.COL1%TYPE;
    VAL2 CONSTANT TEMPSAMPLE.COL1%TYPE:='11';
    PROCEDURE VERIFYSAMP(INVAL IN NUMBER);
    END PKGSAMP2;
    CREATE OR REPLACE PACKAGE BODY PKGSAMP2 IS
    PROCEDURE VERIFYSAMP(INVAL IN NUMBER)
    AS
    VAL1 TEMPSAMPLE.COL1%TYPE;
    VAL2 CONSTANT TEMPSAMPLE.COL1%TYPE:='11';
    BEGIN
    VAL1:='RAVI';
    FOR RC IN (SELECT * FROM TEMPSAMPLE)
    LOOP
    DBMS_OUTPUT.PUT_LINE('COL1 '||RC.COL1);
    DBMS_OUTPUT.PUT_LINE('COL2 '||RC.COL2);
    DBMS_OUTPUT.PUT_LINE('COL3 '||RC.COL3);
    END LOOP;
    INSERT INTO TEMPSAMPLE VALUES('REC05','RAVI','EEE','CK');
    DELETE FROM TEMPSAMPLE WHERE COL1='RECO1';
    UPDATE TEMPSAMPLE SET COL4='CKR' WHERE COL1='RECO2';
    DBMS_OUTPUT.PUT_LINE('VALUE IS '||INVAL);
    DBMS_OUTPUT.PUT_LINE('VALUE IS '||VAL1);
    END VERIFYSAMP;
    END PKGSAMP2;
    -- OBJECT STATUS OF PACKAGES
    SELECT OBJECT_NAME,OBJECT_TYPE,STATUS FROM USER_OBJECTS WHERE OBJECT_NAME IN ('PKGSAMP','PKGSAMP2','VWTEMPSAMPLE');
    OBJECT_NAME   OBJECT_TYPE  STATUS*
    VWTEMPSAMPLE     VIEW     VALID
    PKGSAMP2     PACKAGE BODY     VALID
    PKGSAMP2     PACKAGE     VALID
    PKGSAMP     PACKAGE BODY     VALID
    PKGSAMP     PACKAGE     VALID
    Alter table TEMPSAMPLE DISABLE constraint PKTEMPSAMPLE KEEP INDEX;
    DROP INDEX PKTEMPSAMPLE;
    --OBJECT STATUS OF PACKAGES AFTER DROPPING INDEX
    SELECT OBJECT_NAME,OBJECT_TYPE,STATUS FROM USER_OBJECTS WHERE OBJECT_NAME IN ('PKGSAMP','PKGSAMP2','VWTEMPSAMPLE');
    OBJECT_NAME   OBJECT_TYPE  STATUS*
    VWTEMPSAMPLE     VIEW     INVALID
    PKGSAMP2     PACKAGE BODY     VALID
    PKGSAMP2     PACKAGE     VALID
    PKGSAMP      PACKAGE BODY     INVALID
    PKGSAMP     PACKAGE     VALID
    Alter table TEMPSAMPLE ENABLE constraint PKTEMPSAMPLE;
    As per the above process, if we observe that drop of index on a table arel lead to invalidation of view which* depends on that table  and all the objects which uses this view will also get invalidated.*
    The above invalidation is being occurred only in Oracle 11g R2, due to which we are facing the issue in our application.
    We got a procedure where we disable a constraint , drop a index and process the insertion/updation into the tables. After successfull insertion/updation, at finally we are enabling the constraint.
    This worked fine with previous releases of oracle 11g R2 , where as we recently migrated to 10g R2 which was leading to invalidation of all packages which uses the view , and in the application which uses previous db sessions are unable to access the invalidated package and raising an exception.
    Please provide the solution if any possible

    I tested the behavior in 10.2.0.4 and 11.2.0.3
    In 10.2.0.4, The view was valid if we disabled the constraint using the keep index option but it became invalid after dropping the index. SO i guess you are making them as unusable and rebuilding them after data load.
    in 11.2.0.3, The view became invalid as soon as we disabled the constraint using the keep index option.

  • Cannot post SD documents after upgrade to Oracle 11g

    Dear Gurus,
    Lately I have tried to upgrade database for SAP R/3 Enterprise 4.7 from Oracle 9i (9.2.0.7) to Oracle 11g (11.2.0.2). I have tried some of its features including table and index compression.
    Right now my team is testing my server and find out some weird behaviour on its database. They try to create some sales order (VA01) and this action create SD document number. But when we try to check this created document number, SAP server replied weird message. It said that this SD document number is not on database and may have been archived.
    When I check on ST22, it said "ORA-01502: index 'SAPWPR.VBAP~0' or partition of such index is in unusable state".
    FYI, this index has been rebuild and compressed before.
    I have tried to rebuild this index successfully, but still not help. I also have checked its status from SE11 and I cannot find this index on VBPA table.
    Any suggestion ?
    Ardhian
    http://sapbasis.wordpress.com

    Hi Orkun,
    This is the log when I try from SE14 :
    B-INDXVBPA0
    Start background processing for object VBPA (INDX)
    Request: Delete and recreate Index VBPA-0 (ADMIN/10.10.11/12:49)
    Process: emaprd2ap_5
    sql:
    DROP INDEX "VBPA~0"
    ORA-02429: cannot drop index used for enforcement of unique/primary ke
    y
    DDL time(___1): ...228.626 milliseconds
    VBPA~0 could not be removed
    Index VBPA-0 could not be deleted
    Request for VBPA could not be executed
    ardhian

  • Export and Import issue in Oracle 11g

    Hi All,
    I have exported data using exp command in oracle 11g by keeping deferred_segment_creation FALSE.
    Even then my zero records tables are not coming in export.
    What could be the reason or what other thing i have to do to make it work.
    Thanks in advance
    Mohsin J

    Tables that were created before you changed deferred_segment_creation to FALSE and do not have any rows would still be segment-less tables --- i.e. not exported.
    You need to issue an "ALTER TABLE tablename MOVE" for each of such tables (after having set deferred_segment_creation to FALSE) to force a rebuild of these tables with segments before the export.
    Thus, the sequence is
    1. set deferred_segment_creation to FALSE
    2. identify all tables with 0 rows
    3. issue an ALTER TABLE tablename MOVE for each of such tables from step 2
    4. Re-run your export
    alternatively use conventional export (exp) instead of datapump export.
    Hemant K Chitale

  • Error mapping, OGG from SQL 2008 to Oracle 11g

    Hi Experts
    Please I hoppe you can help me, I am using OGG to replicate from SQL 2008 to Oracle 11g R2, I can insert rows and replicate without problems, but when I update or delete on the Source the replicat stop working.
    This is the mesage:
    2012-06-11 09:51:57 ERROR OGG-01296 Oracle GoldenGate Delivery for Oracle, msrep.prm: Error mapping from FACTURA.EMP to GOLDENGATE.EMP.
    2012-06-11 09:51:57 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, msrep.prm: PROCESS ABENDING.
    --- Discard FIle
    Key column FIRST_NAME (1) is missing from delete on table GOLDENGATE.EMP
    Key column LAST_NAME (2) is missing from delete on table GOLDENGATE.EMP
    Missing 2 key columns in delete for table GOLDENGATE.EMP.
    Current time: 2012-06-11 09:51:57
    Discarded record from action ABEND on error 0
    Aborting transaction on /u01/app/goldenGate/dirdat/ms beginning at seqno 0 rba 13729
    error at seqno 0 rba 13729
    Problem replicating FACTURA.EMP to GOLDENGATE.EMP
    Mapping problem with delete record (target format)...
    ID = 121
    Process Abending : 2012-06-11 09:51:57
    ------ SOURCE TABLE
    create table [factura].[emp] (
    [id] [smallint] not null,
    [first_name] varchar(50) not null,
    [last_name] varchar(50) not null,
    constraint [emp_pk] primary key clustered (
    [id] asc
    ) with (pad_index = off, statistics_norecompute=off, ignore_dup_key=off, allow_row_locks=on, allow_page_locks=on) on [primary]
    ) on [primary]
    ------ TARGET TABLE
    CREATE TABLE GOLDENGATE.EMP
    ID NUMBER,
    FIRST_NAME VARCHAR2(50 BYTE),
    LAST_NAME VARCHAR2(50 BYTE)
    Thank you
    J.A.

    Hi
    I altered the table in Oracle, I add the primary key:
    alter table emp add constraint
    pk_emp primary key (ID );
    Now GG replicate insert, delete and update.
    J.A.

  • Oracle 11g special character(á) length count

    Hi Experts,
    I'm facing an issue while inserting the special character (á) in Oracle 11g. The database table length for the column 'descr' declared as varchar2(30). I'm inserting a string ('Aabbccee/ddffggh Ffrán y Plaos') in column descr which is having the length 30. Please note the character 'a' in Ffrán is not letter 'a' but special character *'á'*. It gives the below error,
    java.sql.SQLException: ORA-12899: value too large for column ""DESCR" (actual: 31, maximum: 30)
    The strange is the same query works/insert in Oracle 9i without any issue. I suspect the special character *'á'* will take/count as 2 character in Oracle 11g but single character in Oracle 9i.
    Please provide the insight views and solution for this issue with out altering the column length.
    I hope the solution at the earliest, since this is an urgent requirement.
    Thanks.

    Your 9i database has character set WE8ISO8859P1 which is a single byte characterset.
    But on 11g, you're using AL32UTF8 - a multi-byte unicode characterset.
    Obviously with a multi-byte characterset, characters which took up a single byte might now need multiple bytes.
    So the default meaning of VARCHAR2(30) which is VARCHAR2(30 BYTE) may not be sufficient to hold 30 characters.
    Assuming that you want to use the different characterset - (and if not then you might as well rebuild your 11g database with the 9i characterset), then you need to do is to change your LENGTH SEMANTICS to CHAR not BYTE.
    This means two things.
    1. Changing NLS_LENGTH_SEMANTICS to CHAR via ALTER SYSTEM. I believe this needs a restart to take effect. This will affect newly created column definitions so that VARCHAR2(30) means VARCHAR2(30 CHAR) not VARCHAR2(30 BYTE) - so for changes going forward.
    2. Changing existing column definisition via ALTER TABLE xyz MODIFY colname VARCHAR2(30 CHAR) etc.

  • Oracle 11g r2 report server on vmware esxi 5.1

    dear gurus
    assist me we are facing issue with oracle 11g r2 report server on vmware esxi 5.1
    see all of sudden report function, however we restart server then it work fine,
    where it is on windows 2008 r2 sp1
    our vendor say not certify by oracle this product, we have no rac just standalone env
    1db 1 form 1 report server  all on VMs guest working
    we could not find os vm oracle logs root causes
    kindly assist or advise

    user6029797 wrote:
    Now - I wanted to create 2 such VM Guest Linux O/S instances and make those 2 Linux/Oracle into Oracle 11g R2 RAC
    Is this possible to do - so I can learn about Oracle 11g R2 RAC operation, tuning, setup and maintenance?Yes, possible to setup.
    No, you are unlikely to learn anything of value ito tuning and maintenance as the environment does not run on actual cluster h/w that are used in real world RAC clusters. For example, huge pages, jumbo frames - pretty meaningless in a VM for tuning Oracle RAC. Bonding of Interconnect Interfaces and pulling the plug - pretty much useless. What about running multiple I/O paths to the cluster's storage server? Using RDS for Interconnect instead of UDP? Etc. Etc.
    RAC is only as performant, scalable and robust as the h/w components it is build on. I cannot see any value in virtualising this and expecting to gain real insight to RAC performance management and tuning. Best one can expect is familiarisation with installation prerequisites, the installation steps and setting up the database. I question if any more value than that can be obtained from a single PC virtualised RAC environment.

  • Oracle Real Application Clusters

    hi all
    i am using oracle database 11g Release2 and Oracle Linux enterprise edition.
    can anyone guide me why we need to use Oracle Real Application Clusters and plz
    guide me how to install or configure all these?
    and someone told me we needed 10Gb Gigabyte Ethernet.
    how to go for 10GB by using LoopBack?
    i am using vertualbox and i checked the loopback is only 1GB so how to go for 10GB
    i posted my thread here
    Oracle Real Application Clusters
    but someone suggested me to for this forum so i posted here.
    so if i am wrong plz forgive me.

    nisha wrote:
    hi all
    i am using oracle database 11g Release2 and Oracle Linux enterprise edition.
    can anyone guide me why we need to use Oracle Real Application Clusters and plz
    guide me how to install or configure all these?
    and someone told me we needed 10Gb Gigabyte Ethernet.
    how to go for 10GB by using LoopBack?
    i am using vertualbox and i checked the loopback is only 1GB so how to go for 10GB
    i posted my thread here
    Oracle Real Application Clusters
    but someone suggested me to for this forum so i posted here.
    so if i am wrong plz forgive me.You can check the following link to learn why RAC is used:
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/admcon.htm#i1058057
    Moreover, I've a step by step RAC installation guide on vmware, but it's for 10gR2. However, you can check it and have a basic knowledge of the main steps
    http://kamranagayev.wordpress.com/2011/04/05/step-by-step-installing-oracle-10g-rac-on-vmware/

  • CRS not starting after Oracle 11g Grid was succesuflly installed

    Hi:
    Have 2 node RAC. My Shared storage is on openfiler.
    Oracle 11g Grid was successfully installed and all the services was working fine. When i restarted the system I found CRS was not coming up. Remaining processes were up and running.
    Let me explain what I did: (O/s RHEL 5.4 & oracle 11g R2 grid)
    I have a partition in shared disk /dev/sdc1 (I have other partitions, but thought of using only one for OCR and voting disk). (did not define it as raw partition as I used to do in 10g RAC).
    While installing Oracle grid and when it prompted to enter the Diskgroup for OCR and Voting disk I gave a name DGDATA and choose only one (external redundancy) disk “/dev/sdc1″ (it does not ask for one for OCR and one for Voting as it used to do in 10g clusterware installation). As per my assumption both OCR and Voting disk were created within /dev/sdc1 (after installation when I queried I got the same info)
    The Oracle grid installation has gone through successfully. when I restart the system I find CRS not starting.
    The log says: “Error PROC:26: Error while accessing the physical storage ASM……..
    ORA-01034: oracle not available...
    Could not init OCR, code:26….
    Linux permission denied".
    For your information….ASM instance is up (check in both the nodes) and I find the diskgroup mounted.
    Can anyone help on this.
    Also let me know how to uninstall Oracle 11g Grid software and configuration. If I have to reinstall the Oracle 11g grid software and config once again is it possible without reinstalling RHEL. Let me know the steps or any link please. don't want to get into a mess again.
    Thanks in advance.
    Regards
    Dinesh

    Jorg, I even tried to nomount the DB instance using initDBRAC.ora pfile. Then tried to create spfile still got the same error.
    The second trace file which I have pasted looks like some memory dump.
    ASM_DISKSTRING= /dev/sdc*
    ***********************************************************************1st trace file
    Fatal NI connect error 12547, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/crs/11.2.0/grid/bin/oracle)(ARGV0=oracle+ASM1_o000_dbrac)(ENVS='ORACLE_HOME=/crs/11.2.0/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(enable=setuser)(CONNECT_DATA=(CID=(PROGRAM=oracle@skyit6)(HOST=skyit6)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Linux: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 01-JUN-2011 01:27:07
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS for Linux: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 01-JUN-2011 01:27:07
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS-12547: TNS:lost contact
    ns secondary err code: 12560
    nt main err code: 517
    TNS-00517: Lost contact
    nt secondary err code: 32
    nt OS err code: 0
    ERROR: Failed to connect with connect string: (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/crs/11.2.0/grid/bin/oracle)(ARGV0=oracle+ASM1_o000_dbrac)(ENVS='ORACLE_HOME=/crs/11.2.0/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(enable=setuser))
    Wed Jun 01 01:27:07 2011
    ERROR: slave communication error with ASM; terminating process 16772
    Errors in file /oraeng/app/oracle/product/diag/rdbms/dbrac/DBRAC/trace/DBRAC_ora_16772.trc:
    ----======================2nd trace file
    Trace file /oraeng/app/oracle/product/diag/rdbms/dbrac/DBRAC/trace/DBRAC_ora_16772.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Real Application Clusters option
    ORACLE_HOME = /oraeng/app/oracle/product/11.2.0
    System name: Linux
    Node name: skyit6
    Release: 2.6.18-164.el5
    Version: #1 SMP Tue Aug 18 15:51:54 EDT 2009
    Machine: i686
    Instance name: DBRAC
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 25
    Unix process pid: 16772, image: oracle@skyit6 (TNS V1-V3)
    *** 2011-06-01 01:27:07.010
    *** SESSION ID:(1.3) 2011-06-01 01:27:07.010
    *** CLIENT ID:() 2011-06-01 01:27:07.010
    *** SERVICE NAME:() 2011-06-01 01:27:07.010
    *** MODULE NAME:(sqlplus@skyit6 (TNS V1-V3)) 2011-06-01 01:27:07.010
    *** ACTION NAME:() 2011-06-01 01:27:07.010
    ERROR: slave communication error with ASM; terminating process 16772
    *** 2011-06-01 01:27:07.035
    dbkedDefDump(): Starting a non-incident diagnostic dump (flags=0x0, level=2, mask=0x0)
    ----- Error Stack Dump -----
    ----- Current SQL Statement for this session (sql_id=bff5sku8phfgx) -----
    create spfile='+dgasmspfile/spfileDBRAC.ora' from pfile
    *** 2011-06-01 01:27:07.070
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    skdstdst()+41 call kgdsdst() BF9E05FC ? 2 ?
    ksedst1()+77 call skdstdst() BF9E05FC ? 0 ? 1 ? AB80E70 ?
    852F42A ? AB80E70 ?
    ksedst()+33 call ksedst1() 0 ? 1 ?
    dbkedDefDump()+2699 call ksedst() 0 ? 0 ? BF9E0D40 ? 0 ? 0 ?
    0 ?
    ksedmp()+47 call dbkedDefDump() 2 ? 0 ?
    kfTerminateMe()+75 call ksedmp() 2 ? 3 ? F1170AC ? F149234 ?
    5 ? BF9E0A6C ?
    kfnCheckCommError() call kfTerminateMe() F149234 ? BF9E0C1C ?
    +32 B033D83 ? 29392378 ?
    F149234 ? EB00601 ?
    kfncSlaveSubmit()+5 call kfnCheckCommError() 29392378 ? F149234 ?
    83
    kfncFileDelete()+11 call kfncSlaveSubmit() BF9E0E5C ? 0 ? F147B24 ?
    81
    kfioDelete()+126 call kfncFileDelete() 29DEE0 ? 1C ?
    ksfddel1()+582 call kfioDelete() 29DEE0 ? 1C ? D ?
    ksfddel()+187 call ksfddel1() 29DEE0 ? 1C ? D ? 0 ?
    BF9E0F2C ? 9BA2 ?
    ksp_spfile_create() call ksfddel() 29DEE0 ? 1C ? D ? 0 ?
    +677
    kspcspfp()+791 call ksp_spfile_create() BF9E49D4 ? 0 ? 29DEE0 ? 1C ?
    7D02 ? 0 ?
    kspocte()+67 call kspcspfp() 29DEE0 ? 1C ? F074CC4 ? F ?
    61,1 1%
    Regards
    Dinesh

  • Listner issues in Oracle 11g server installation

    Hi,
    I am facing problem while connecting to Oracle 11g server on 'Windows 7 Enterprise edition - 32 bit OS'.
    I have successfully installed Oracle 11g server on Windows & enterprise machine.
    Listener and TNSnames.ora files are fine. But I am not able to connect through Oracle client machine. it shows 'TNS: Could not resolve the service name'.
    When I check the listener status on the server, it shows the service ABBPROD is READY, but still not able to connect through client machine. I have gone through many similar threads and tried out the solutions provided but the problem still exists. Few of the things I tried are as below.
    1. I have tried changing the ORACLE_SID and setting the $ORACLE_HOME parameter.
    2. Tried replacing the HOST as 'localhost' to system IP address/computer name
    3. Listener stop and start
    4. Service stop and start
    5. Checked the firewall settings of the server machine
    I shall paste the listener.ora and tnsnames.ora files below.
    LISTENET.ORA
    # listener.ora Network Configuration File: C:\app\INSAJEN\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\INSAJEN\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\INSAJEN\product\11.2.0\dbhome_1\bin\oraclr11.dll")
        (SID_DESC =
          (SID_NAME = ABBPROD)
          (ORACLE_HOME = C:\app\INSAJEN\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\INSAJEN\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\INSAJEN
    TNSNAMES.ora file
    # tnsnames.ora Network Configuration File: C:\app\INSAJEN\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    ABBPROD =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 10.140.233.130)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = abbprod)
    LISTENER_ABBPROD =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SQLNET.ORA
    # sqlnet.ora Network Configuration File: C:\app\INSAJEN\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)Please help me to debug and resolve the problem. If any more information is required, please let me know

    SBH wrote:
    I checked the global_name, it is ABBPROD.asiapacific.abb.com...
    I tried setting the ORACLE_SID same as this name, but still the same issue exists
    @Mahir, this is a production environment, and I cannot take risk of rebuilding tnsnames and listener.ora filesand
    I am facing problem while connecting to Oracle 11g server on 'Windows 7 Enterprise edition - 32 bit OS'.
    I have successfully installed Oracle 11g server on Windows & enterprise machine.Your production sever running on Windows 7 EE 32bit?

Maybe you are looking for

  • ITunes Match and shared accounts?

    I'm a bit confused as to how iTunes Match works. Let's say Bob and Susan, a married couple, share an AppleID for iTunes purchases and have separate AppleIDs for iCloud. They both manage their iTunes libraries on separate iTunes installations on separ

  • MacBook Pro: I closed the lid, and 5 seconds later, I heard start-up chime!

    I found a thread from earlier this year about this, but it was never solved and was then archived. But it happened to me earlier today. When I opened it back up, panicked, the computer was just off. I couldn't just hit the power button to start it ba

  • 4.1 SP1 Issue with adding a View to a Task

    After creating a new View and Rule, I bind the Rule to the View.  If I attempt to add the View to an existing Task, I get a message stating that the View has no Rule bindings.  The error doesn't occur if I bind the View to the Rule, but binding View

  • Steve Jobs, Please allow us MORE than 24 hours to watch!

    Steve, please allow us to watch rented moves for MORE than 24 hours! Most video rentals are good for at least 2 day, if not 3, to return rented movies.

  • Paging - Rows in first page also showing in second page: listitemcollectionposition

    Hi, I am trying to use the listitemcollectionposition to achieve paging. The pagination is shown, but some of the records in first page are getting displayed in second page as well. I have totally 13 records in the list, and paging is applied for 10