Getting slowness issue with Oracle DB (10g) - specifically for one table

We have a Oracle Database. When we are trying to access it through our Java application, it is working fine except for 2 menu option in the application.
These 2 menu option are trying to fetch from the same table. It is taking 30-40 min to fetch some 500 records. It was not the case few days ago.
I have checked at application end however didn't find any issues.
Could you please suggest, what could be the possible reason and solution for this.

There are many possible reasons and solutions for this. That is why you need to look at what the instrumentation is telling you is wrong.
First: determine if there is something grotesquely wrong. Oracle has an alert log, see if there are any complaints in there. There are a number of ways of observing the database, dbconsole has a nice screen with performance, though you might need some special licensing. There are also scripts you can run and third party tools. You may also want to use statspack or AWR to tell you generally what is going on, sometimes the top sql just makes it obvious, but you have to know your own system to make that kind of judgment.
Next, see if there is something obviously wrong, check for missing or otherwise unavailable indices. Tell us what your exact version is (10g is not a version: 10.2.0.4 is a version), as well as platform and your statistics gathering strategy.
If it still isn't obvious, follow the [url https://forums.oracle.com/forums/thread.jspa?threadID=863295]Thread: HOW TO: Post a SQL statement tuning request thread. You should post a proper explain plan for times when it works good and times when it works bad. Most performance problems are bad sql, but you can have odd effects from things like bind peeking.
And if all else fails, blame java.

Similar Messages

  • Slow Problems with Oracle Forms 10g and Oracle Database 11g

    Hi, I wonder if there is a compatibility problem between Version 10.1.2.0.2 32 Oracle Forms and Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production. This is because my application runs correctly on a version of Oracle Database 10g, and when we migrated the database to an Oracle Database 11g, slowness problems came out.
    Thanks.

    We have the same issue happening with our custom forms and with some of the standard forms in EBSO. So far we have found that the form invoking a view causes ridiculous slowness in opening the form (40 mins). Using a table access has shortened the open time significantly. At this time Oracle DBAs at OOD have no clear idea why it is happening.
    we are on 11.1 database with 11.5 EBSO
    Edited by: user3223867 on Feb 4, 2011 7:55 AM

  • Issue with Oracle Report 10g output

    I want to generate text output in Oracle Reports 10g. I am using paper layout.Length of the fields want to print is 750. Each line is broken in the output after 120 characters length apporx. Please let me know if there is any way to print complete 750 characters.

    Sample output is coming as below :
    T2013 56600084112345                                                                                         FPWC
                                                                           955 OLD WILMINGTON RD                   FAYETTEVILLE
         CUMBERLAND                 NC28301                   00000001CONTACT TESING                          1234567890
                    00000001          I'
    I want it to be discplayed in single line instead of breaking.

  • Issue with Oracle Application Adapter (11g) for SAP

    Hi,
    I need to call a WSDL file that is generated through Oracle Application Adapter Application Explorer from a BPEL Composite in SOA 11g.
    The wsdl files are stored under the path $SOA_HOME/soa/thirdparty/ApplicationAdapters/wsdls by default.
    I’m not able to see the wsdls in the Resource Pallette while trying to invoke the adapter. Kindly let me know the workaround for the issue.
    Regards,
    CC

    Hi Chandu
    For SOA 11G, in order to access the BAPI WSDLs ,you need a third party adapter service which comes with Jdeveloper version 11.1.1.2.0 . I am not sure if this is available with Jdeveloper version 11.1.1.1.0. So make sure you have the correct version of Jdev for development.
    Also in 11g when you generate the WSDL(outbound service) from AE, 4 files are generated.
    XXXX_invoke.jca
    XXXX_invoke_request.xsd
    XXXX_invoke_response.xsd
    XXXX_invoke.wsdl
    You need to copy these 4 files to your Jdev project folder and configure the third party adapter service to invoke the SAP BAPIs. Hope this helps.
    Thanks
    Subhankar

  • Facing Issue With Oracle SOA Suite 11.1.1.3.0

    Hi All,
    I am facing some issues with ORACLE SOA SUITE 11.1.1.3.0.
    Hope you people can help us out.
    Please find the issue details below along with all the relevant information’s
    I have following SOA suite installation at my server:
    Oracle 10g Express Edition Universal 10.2.0.1
    RCU 11.1.1.3.3
    Web Logic Server 10.3.3.0
    SOA suite 11.1.1.3.0
    JDeveloper 11.1.1.3.0
    The first thing what I have done is created a web service and deployed it to server without any issue.
    After that I created proxy client for that service and accessed it successfully from the client end.
    Till here no issue occurs.
    After that I applied few policies on top of web service and deployed it to server.
    The policy I had chosen was “oracle/wss_username_token_service_policy” [coming under OWSM policies list]
    While deploying there was no issue, all went well.
    2nd step I had created client using “oracle/wss_username_token_client_policy” policy which is counter part of above policy and tried to access the web service but failed.
    I have followed this blog:
    [http://biemond.blogspot.com/2010/08/things-you-need-to-do-for-owsm-11g.html ]
    Please have a look on service and client code:
    Service Code:
    package Demo_ScoreCard;
    import javax.jws.WebService;
    import weblogic.wsee.jws.jaxws.owsm.SecurityPolicy;
    @WebService
    @SecurityPolicy(uri = "oracle/wss_username_token_service_policy")
    public class ScoreCardWithPolicy {
    public double getPercentageWithPolicy(double markEng,double markMath,double markHindi,double markScience,double markSsc)
    double result;
    result= ((markEng+markHindi+markMath+markScience+markSsc)/500)*100;
    return result;
    Client Code:
    package com.tec.proxy.client;
    import java.util.Map;
    import javax.xml.ws.BindingProvider;
    import javax.xml.ws.WebServiceRef;
    import weblogic.wsee.jws.jaxws.owsm.SecurityPolicyFeature;
    public class ScoreCardWithPolicyPortClient {
    @WebServiceRef
    private static ScoreCardWithPolicyService scoreCardWithPolicyService;
    public static void main(String[] args) {
    scoreCardWithPolicyService = new ScoreCardWithPolicyService();
    SecurityPolicyFeature[] securityFeatures =new SecurityPolicyFeature[] { new SecurityPolicyFeature("oracle/wss_http_token_client_policy") };
    ScoreCardWithPolicy scoreCardWithPolicy =scoreCardWithPolicyService.getScoreCardWithPolicyPort(securityFeatures);
    Map<String, Object> reqContext =((BindingProvider)scoreCardWithPolicy).getRequestContext();
    reqContext.put(BindingProvider.USERNAME_PROPERTY, "testclient");
    reqContext.put(BindingProvider.PASSWORD_PROPERTY, "test12345"); // I have added this to the myrealm from console under security realms
    double arg1 = 77.2;
    double arg2 = 79.2;
    double arg3 = 77.2;
    double arg4 = 76.2;
    double arg5 = 67.2;
    double clientResult =scoreCardWithPolicy.getPercentageWithPolicy(arg1, arg2, arg3, arg4,arg5);
    System.out.println("clientResult with policy =====> " + clientResult);
    Error Log:
    SEVERE: WSM-07617 Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    SEVERE: WSMAgentHook: An Exception is thrown: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    Exception in thread "main" javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    at oracle.wsm.agent.handler.wls.WSMAgentHook.handleException(WSMAgentHook.java:395)
    at oracle.wsm.agent.handler.wls.WSMAgentHook.init(WSMAgentHook.java:206)
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.newHandler(TubeFactory.java:105)
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.createClient(TubeFactory.java:68)
    at weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl.createClient(WLSTubelineAssemblerFactory.java:148)
    at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:467)
    at com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:689)
    at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:667)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:362)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.internalGetPort(WLSProvider.java:855)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate$PortClientInstanceFactory.createClientInstance(WLSProvider.java:967)
    at weblogic.wsee.jaxws.spi.ClientInstancePool.takeSimpleClientInstance(ClientInstancePool.java:621)
    at weblogic.wsee.jaxws.spi.ClientInstancePool.take(ClientInstancePool.java:486)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:782)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
    at javax.xml.ws.Service.getPort(Service.java:133)
    at com.tec.proxy.client.ScoreCardWithPolicyService.getScoreCardWithPolicyPort(ScoreCardWithPolicyService.java:86)
    at com.tec.proxy.client.ScoreCardWithPolicyPortClient.main(ScoreCardWithPolicyPortClient.java:23)
    Process exited with exit code 1.
    Not getting any help from any blog. Just wondering why this error is coming. I would be glad if you can help us in this regard.
    Apart from above issue I have few queries like:
    1.What is difference between OWSM policies and WLS policies?
    2.Are these the only policies we can apply on top of services?
    3.If some one wants to configure his own custom policies than what need to be done
    4.Could anyone please provide some useful links to implement ENCYPTION and SIGNATURE on top of web services?
    5.And If I am not wrong, I guess Oracle Service BUS OSB 11.1.1.3 has been removed from the main download link and version 11.1.1.4 has been provided. Is it
    compatible with SOA suite 11.1.1.3.0? If not where can I get OSB 11.1.1.3?
    Looking forward to hear from you people.
    Thanks
    Arvind
    Edited by: user8490871 on Apr 15, 2011 12:53 AM
    Edited by: user8490871 on Apr 15, 2011 12:53 AM

    Hi,
    I don't know why u get an error. Here are answers for additional questions:
    1. OWSM policies are for web services. WLS policies are based on Java EE security. They are used to protect resources e.g. URL, EJB
    2. I don't know about other policies
    3. See http://download.oracle.com/docs/cd/E14571_01/web.1111/e13713/owsm_appendix.htm#CHDCHFBH
    4. See http://download.oracle.com/docs/cd/E14571_01/security.1111/e10037/toc.htm
    5. I can see OSB 11.1.1.3 download link here
    http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html
    Regards,
    Milan

  • Does Oracle OLAP comes with Oracle Database 10g ?

    1.Does Oracle OLAP comes with Oracle Database 10g or do we need seperate software to have this ?.
    2.If I create a Cube with Analytic work space manager the cube is going to be stored in the Database ( meaning the in the table space where OLAP is Stored).
    3. What is the difference between Analtyic work space manager and discoverer For Olap.
    Help is higly appreciated ..
    Thanks, Prasad

    One thing to point out : The OLAP option is a costed database option, so while this is automatically installed and part of your database you do have to purchase additional licenses to use this feature. You will need to check with your Oracle account manager to see if you are actually licensed to use this feature.
    If you have existing 9i OLAP cubes these can be quickly and easily migrated to 10g OLAP and the documentation explains how to do this. However, there are many new features that are part of 10g OLAP that will improve the performance of your data model that will not be enabled as part of a migration process. Based on my experiences it would be quicker and easier (depending on the size of your existing 9i OLAP cubes) to consider rebuilding your data model using these new 10g features. You should be able to export all the dimensions to XML templates from 9i OLAP and import the templates into the 10g schema and reload your dimensions.
    For the cubes you will probably want to consider using partitioning, composites and compression to provide maximum flexibility and performance for your new data model. There is more information on these features within the OLAP documentation and in the many whitepapers and presentations on the OLAP home page on OTN.
    For moving data from SQL Server to 10g OLAP much depends on the nature of the data transfer. If it is a one-off bulk data load then you could consider using the normal MS command line tools to dump the data out and transfer it to Oracle. Alternatively, you could consider using Oracle Data Integrator to manage the extraction of the SQL Server data and the data load process into Oracle 10g relational tables. If you decide to use Data Integrator this will require additional licenses.
    If you can extract the data from SQL Server to flat files you can use Oracle Warehouse Builder (basic ETL is free as part of the 10g database license) to load that flat file data via external tables. Warehouse Builder can also be used to define your OLAP data model (think of Warehouse Builder as a more powerful version of Analytic Workspace Manager) and provides tools to load the data directly into your OLAP dimensions and cubes. You can get more information on managing OLAP data models with Warehouse Builder the Warehouse Builder home page on OTN.
    There are no facilities to modify Discoverer Viewer to add customisations. You can add company logos, modify certain colors and/or hide certain features but it is not possible to add additional features. You may want to consider using BI Beans to provide this type of environment. BI Beans is the development framework used to create Discoverer Viewer. You can create customised JSP pages that look identical to Discoverer Viewer pages with the added benefit of providing your own specific features. You can get more information on the BI Beans home page on OTN.
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • Performance issues with Oracle EE 9.2.0.4 and RedHat 2.1

    Hello,
    I am having some serious performance issues with Oracle Enterprise Edition 9.2.0.4 and RedHat Linux 2.1. The processor goes berserk at 100% for long (some 5 min.) periods of time, and all the ram memory gets used.
    Some environment characteristics:
    Machine: Intel Pentium IV 2.0GHz with 1GB of RAM.
    OS: RedHat Linux 2.1 Enterprise.
    Oracle: Oracle Enterprise Edition 9.2.0.4
    Application: We have a small web-application with 10 users (for now) and very basic queries (all in stored procedures). Also we use the latest version of ODP.NET with default connection settings (some low pooling, etc).
    Does anyone know what could be going on?
    Is anybody else having this similar behavior?
    We change from SQL-Server so we are not the world expert on the matter. But we want a reliable system nonetheless.
    Please help us out, gives some tips, tricks, or guides…
    Thanks to all,
    Frank

    Thank you very much and sorry I couldn’t write sooner. It seems that the administrator doesn’t see the kswap going on so much, so I don’t really know what is going on.
    We are looking at some queries and some indexing but this is nuts, if I had some poor queries, which we don’t really, the server would show pick right?
    But he goes crazy and has two oracle processes taking all the resources. There seems to be little swapping going on.
    Son now what? They are all ready talking about MS-SQL please help me out here, this is crazy!!!
    We have, may be the most powerful combinations here. What is oracle doing?
    We even kill the Working Process of the IIS and have no one do anything with the database and still dose two processes going on.
    Can some one help me?
    Thanks,
    Frank

  • Issue with Oracle LONG RAW data type

    Hi All,
    I am facing some issues with Oracle LONG RAW DATA Type.
    We are using Oracle 9IR2 Database.
    I got a table having LONG RAW column and I need to transfer the same into another table having LONG RAW column.
    When I tried using INSERT INTO SELECT * command (or) CREATE TABLE as select * , it is throwing ORA-00997: illegal use of LONG datatype.
    I have gone through some docs and found we should not use LONG RAW using these operations.
    So I did some basic PLSQL block given below and I was able to insert most of the records. But records where the LONG RAW file is like 7O kb, the inserting is faliling.
    I tried to convert LONG RAW to BLOB and again for the record where the LONG RAW is big in size I am getting (ORA-06502: PL/SQL: numeric or value error) error.
    Appreciate if anyone can help me out here.
    DECLARE
    Y LONG RAW;
    BEGIN
    FOR REC IN (SELECT * FROM TRU_INT.TERRITORY WHERE TERRITORYSEQ=488480 ORDER BY TERRITORYSEQ ) LOOP
    INSERT INTO TRU_CMP.TERRITORY
    BUSINESSUNITSEQ, COMPELEMENTLIFETIMEID, COMPONENTIMAGE, DESCRIPTION, ENDPERIOD, GENERATION, NAME, STARTPERIOD, TERRITORYSEQ
    VALUES
    REC.BUSINESSUNITSEQ, REC.COMPELEMENTLIFETIMEID, REC.COMPONENTIMAGE, REC.DESCRIPTION, REC.ENDPERIOD, REC.GENERATION, REC.NAME,
    REC.STARTPERIOD, REC.TERRITORYSEQ
    END LOOP;
    END;
    /

    Maddy wrote:
    Hi All,
    I am facing some issues with Oracle LONG RAW DATA Type.
    We are using Oracle 9IR2 Database.
    I got a table having LONG RAW column and I need to transfer the same into another table having LONG RAW column.
    When I tried using INSERT INTO SELECT * command (or) CREATE TABLE as select * , it is throwing ORA-00997: illegal use of LONG datatype.
    I have gone through some docs and found we should not use LONG RAW using these operations.
    So I did some basic PLSQL block given below and I was able to insert most of the records. But records where the LONG RAW file is like 7O kb, the inserting is faliling.
    I tried to convert LONG RAW to BLOB and again for the record where the LONG RAW is big in size I am getting (ORA-06502: PL/SQL: numeric or value error) error.
    Appreciate if anyone can help me out here.
    DECLARE
    Y LONG RAW;
    BEGIN
    FOR REC IN (SELECT * FROM TRU_INT.TERRITORY WHERE TERRITORYSEQ=488480 ORDER BY TERRITORYSEQ ) LOOP
    INSERT INTO TRU_CMP.TERRITORY
    BUSINESSUNITSEQ, COMPELEMENTLIFETIMEID, COMPONENTIMAGE, DESCRIPTION, ENDPERIOD, GENERATION, NAME, STARTPERIOD, TERRITORYSEQ
    VALUES
    REC.BUSINESSUNITSEQ, REC.COMPELEMENTLIFETIMEID, REC.COMPONENTIMAGE, REC.DESCRIPTION, REC.ENDPERIOD, REC.GENERATION, REC.NAME,
    REC.STARTPERIOD, REC.TERRITORYSEQ
    END LOOP;
    END;
    /below might work
    12:06:23 SQL> help copy
    COPY
    Copies data from a query to a table in the same or another
    database. COPY supports CHAR, DATE, LONG, NUMBER and VARCHAR2.
    COPY {FROM database | TO database | FROM database TO database}
                {APPEND|CREATE|INSERT|REPLACE} destination_table
                [(column, column, column, ...)] USING query
    where database has the following syntax:
         username[/password]@connect_identifier

  • Help with Oracle 9i/10g on RedHat 4?

    If anybody can help would be greatly appreciated...
    I get the same error with Oracle 9i & 10g when installing on Red Hat Fedora 4, it's java related...
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-03-16_01-09PM/jre/lib/i386/libawt.so: connat restore segment prot after reloc: Permission Denied
    Red Hat Fedora is weak on java, it only has the Java 1.4 JRE installed. I tried to upgrade to Sun's JRE 6 but got dependency errors.
    Jon

    Red Hat Fedora 4Does not exist.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-03-16_01-09PM/jre/lib/i386/libawt.so: connat restore segment prot after reloc: Permission DeniedSolution 1: Modify /etc/selinux/config and change value of SELINUX to "disabled" and reboot computer.
    Solution 2: Upgrade selinux-policy-targeted-1.25.2-4.noarch.rpm (Use command: "yum upgrade selinux-policy-targeted")
    Red Hat Fedora is weak on java, it only has the Java 1.4 JRE installed. I tried to upgrade to Sun's JRE 6 but got dependency errors.??? OUI does not have to do with external JRE.
    Oracle Installation comes with bunled JRE.
    If you are using Fedora then you might consider these articles useful:
    http://ivan.kartik.sk/oracle/install_ora9_fedora.html
    http://ivan.kartik.sk/oracle/install_ora10gR2_fedora.html

  • Manually register rman backup with oracle database 10g

    Dear All.
    I want to restore full backup of database.
    I have not configure flash_recovery_area.
    how i can manually register full rman backup of database with oracle database 10g.?
    Please help me.
    Thanks & Regards
    Ravi Kumar

    This is the 10gR2 documentation on the CATALOG command :
    http://docs.oracle.com/cd/B19306_01/backup.102/b14194/rcmsynta011.htm#sthref230
    You must be specific when stating the version you are running.  Commands may be limited or unavailable in older versions versus more recent versions of Oracle.
    Hemant K Chitale

  • Issues with Oracle in a new location.

    Hello -
    I recently had to change the computer name of a Windows 2003 SP2 test server. Among other software installed was Oracle 10g r2. There were issues with Oracle in its new location where it was trying to reference the old computer name.
    I assumed that all I would have to do to correct the issue was to search all of Oracle’s .ORA files and replace the old server name with the new one. (Plus, of course, changing the Windows Host file entry).
    But I’m finding that Oracle on Windows apparently has many other references to the original computer name. For example, there are subdirectories in the Oracle Home directory tree structure where the directories themselves contain the old computer name. (I’ve attached a screenshot of a file search off the Oracle directory tree for “BRI2KSRV” which is the test server’s old name. “Bri2ksrv.jax.fnfis.com” was the server’s old fully qualified name. ORCL is/was the default instance name).
    For example, these directories were found:
    ..\oracle\product\10.2.0\db_1\bri2ksrv.jax.fnfis.com_orcl
    ..\oracle\product\10.2.0\db_1\log\bri2ksrv
    ..\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_bri2ksrv.jax.fnfis.com_orcl
    What are the recommended steps when changing the Windows computer name (and thus the fully qualified network references) on a Windows 2003 Server which has a functioning Oracle 10g R2 instance?
    Thanks!

    These directory you mentioned are EM control directory. You need to reconfigure your EM with new server name.
    If you are using server name instead of IP address in listener.ora and tnsnames.ora you need to change these as well.

  • Pinging ip's with oracle developer 10g

    db and dev 10g rel2 ,
    hi all,
    i want to ping some ip's through a form built with oracle developer 10g rel2 ,
    - i have two choices here ,
    -there is an application can ping a lot of ip's automatically , it has options to load a file in which ip's are stored , and another option to save the result into a .csv file ,
    so i am searching for a way to control that application , i want a way to do these tasks through a button on my form :
    1- open that application .
    2 -load the ip's .
    3- save the result to a .csv file .
    4- transferring the .csv data to a block on my form . -- and this is the simple step which i can do individually , but i do not know how to deal with the steps previously mentioned .
    2- the second choice is to open the os command prompt through a button , and ping through it , but the problem is the result would not be displayed in columns , and i do not know a way to load the result into a block on the form.
    if you could help me with any of these choices , or if you have another one , i would appreciate that .
    thanks in advance

    i've tried to use it like it is in the example : , i used only the first two parameters
    DECLARE
      c  utl_tcp.connection;  -- TCP/IP connection to the Web server
    BEGIN
      c := utl_tcp.open_connection(remote_host => 'www.acme.com',
                                   remote_port =>  80); 
    end ; by the way , before i posted the thread , i've tried it , but i faced problems while executing it , that's why i asked if it is
    suitable for me or not .
    when i execute it by the above code , the engine tells me that "procedure successfully completed , but without any result .
    2- if you could tell me what does "remote_port" means , because i posted the number in the example as it is .
    i do not know what is port ?
    3- do you know about a jave bean can do my requirements ?
    thanks a lot

  • Solaris x86 with Oracle RAC 10g Enterprise Edition Release 10.2.0.3.0

    Hello,
    Maybe you can help me (new on RMAN backup) in doing this.
    I have configured a single Oracle 10g database to have backup with RMAN with following steps:
    1. $ mkdir $ORACLE_BASE/rman_scripts
    2. $ mkdir $ORACLE_BASE/logs
    3. $ mkdir $ORACLE_BASE/tracking
    4. $ mkdir $ORACLE_BASE/c_backup
    5. $ sqlplus sys/<password> as sysdba
    6. SQL> alter system set db_recovery_file_dest_size = 50G scope=both;
    7. SQL> alter system set db_recovery_file_dest='${ ORACLE_BASE}/flash_recovery_ area' scope=both;
    8. SQL> alter system set log_archive_dest_10='location= use_db_recovery_file_dest';
    9. SQL> shutdown immediate
    10. SQL> startup nomount
    11. SQL> alter database archivelog;
    12. SQL> alter database open;
    13. SQL> alter database enable block change tracking using file '${ORACLE_BASE}/tracking/rman_ change_track.f';
    14. $ rman target /
    15. RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK
    TO '/var/opt/oracle/flash_ recovery_area/ORCL/c_backup/% F';
    16. RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    17. RMAN> CONFIGURE BACKUP OPTIMIZATION ON;
    18. RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    19. RMAN> exit
    I need to configure incremental backup with RMAN on a two node Solaris x86 with Oracle RAC 10g Enterprise Edition Release 10.2.0.3.0 installation.
    We also use ASM to store database files, and have Oracle software installed on separate file systems (two Oracle roots for Node1 and Node2).
    I have following questions:
    1) where to put Flash Recovery Area (FRA)?
    I saw recommendations to put FRA on the ASM, is this the best way to do it?
    2) Can I put FRA on another file system (not on the ASM) which is available only from Node1? This way I can save space on the ASM.
    3) Is it possible/recommended to run RMAN from Node1 only?
    Below is the script used to run RMAN on the normal Oracle database (without RAC) which I need to change :
    =============================================================================================
    2.0 Oracle backup script: /opt/app/oracle/rman_scripts/backup.sh
    Use this for daily backups, possiblly as a cron job.
    Once a week run this: /opt/app/oracle/rman_scripts/backup.sh FULL
    All other days of the week: /opt/app/oracle/rman_scripts/backup.sh INCREMENTAL
    Note: You may have to change ORACLE_SID, ORACLE_BASE below to match your database.
    =============================================================================================
    #!/usr/bin/ksh
    ORACLE_SID=orcl
    ORACLE_BASE=/opt/app/oracle
    ORACLE_HOME=${ORACLE_BASE}/product/10.2.0/db_1
    PATH=${ORACLE_HOME}/bin:/usr/bin
    LOGDIR=${ORACLE_BASE}/logs
    LOGFILE=${LOGDIR}/rman.log
    if [[ $# < 1 ]]
    then
    echo "usage: backup.sh FULL|INCREMENTAL"
    exit;
    fi
    BACKUPTYPE=${1}
    full='FULL'
    incremental='INCREMENTAL'
    if [[ $BACKUPTYPE == $full ]]
    then
    $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
    run {
    backup database;
    SQL 'alter system archive log current';
    backup archivelog all;
    delete noprompt obsolete;
    exit;
    eof
    echo ''
    fi
    if [[ $BACKUPTYPE == $incremental ]]
    then
    $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
    run {
    backup database;
    backup incremental level 1 database;
    SQL 'alter system archive log current';
    backup archivelog all;
    delete noprompt obsolete;
    exit;
    eof
    echo ''
    fi

    Hi [email protected],
    Q1) where to put Flash Recovery Area (FRA)?
    A1) With RAC: on the shared storage
    I saw recommendations to put FRA on the ASM, is this the best way to do it?
    If you want your backups to be available for both nodes you have to use shared storage or tape using an mml library.
    So if you want to use the FRA for rman backups and the database is on ASM just make ASM the standard for the FRA as well.
    Q2) Can I put FRA on another file system (not on the ASM) which is available only from Node1? This way I can save space on the ASM.
    A2) Than you cannot recover in case Node1 is down. Best would be to send your storage admin to a training course so he can manage the clustered raw devices needed for ASM.
    Q3) Is it possible/recommended to run RMAN from Node1 only?
    A3) No see A2.
    Regards,
    Tycho

  • Need idea : Integration of CRM On Demand web services with Oracle SOA 10g

    Hi Al,
    Can anyone have any idea on integration of CRM on Demand Web service with Oracle SOA 10g specially BPEL 10g.
    If you have any idea please share with us. Or if you know any good link on the same... please let me know.....
    Thanks in advance
    Debarshi

    AFAIK there is no such mapping available, however you may want to take a look at this Support Community thread that discusses the migration and even gives some samples.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Facing issues with oracle client installation 32 bit 10.2.0.1

    Hi ,
    I am facing issues with oracle client installation 32 bit 10.2.0.1
    Windows 2008 R2 enterprise edition 64 bit
    Java 1.6 update 34
    Below is the error recieved:
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x8079055
    Function=[Unknown.]
    Library=C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\client\jvm.dll
    NOTE: We are unable to locate the function name symbol for the error
          just occurred. Please refer to release documentation for possible
          reason and solutions.
    Current Java thread:
      at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(Native Method)
      at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(OiipwWin32NativeCalls.java:516)
      at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(OiipwWin32NativeCalls.java:473)
      at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.setInstallerKey(OiipgBootstrap.java:511)
      at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.updateInventoryLoc(OiipgBootstrap.java:418)
      at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.doInvSetupOperations(OiicSessionInterfaceManager.java:401)
      at oracle.sysman.oii.oiic.OiicInvSetupWCCE.doOperation(OiicInvSetupWCCE.java:217)
      at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
      at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)
      at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)
      at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:547)
      at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:935)
      at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:872)
    Dynamic libraries:
    0x00400000 - 0x0040B000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\javaw.exe
    0x77C60000 - 0x77DE0000 C:\Windows\SysWOW64\ntdll.dll
    0x75AB0000 - 0x75BC0000 C:\Windows\syswow64\kernel32.dll
    0x77420000 - 0x77467000 C:\Windows\syswow64\KERNELBASE.dll
    0x77370000 - 0x77410000 C:\Windows\syswow64\ADVAPI32.dll
    0x76610000 - 0x766BC000 C:\Windows\syswow64\msvcrt.dll
    0x75DD0000 - 0x75DE9000 C:\Windows\SysWOW64\sechost.dll
    0x776E0000 - 0x777D0000 C:\Windows\syswow64\RPCRT4.dll
    0x757C0000 - 0x75820000 C:\Windows\syswow64\SspiCli.dll
    0x757B0000 - 0x757BC000 C:\Windows\syswow64\CRYPTBASE.dll
    0x77470000 - 0x77570000 C:\Windows\syswow64\USER32.dll
    0x764F0000 - 0x76580000 C:\Windows\syswow64\GDI32.dll
    0x77C30000 - 0x77C3A000 C:\Windows\syswow64\LPK.dll
    0x75820000 - 0x758BD000 C:\Windows\syswow64\USP10.dll
    0x74EA0000 - 0x74EEC000 C:\Windows\system32\apphelp.dll
    0x6EF10000 - 0x6EF9D000 C:\Windows\AppPatch\AcLayers.DLL
    0x76720000 - 0x7736A000 C:\Windows\syswow64\SHELL32.dll
    0x761D0000 - 0x76227000 C:\Windows\syswow64\SHLWAPI.dll
    0x76350000 - 0x764AC000 C:\Windows\syswow64\ole32.dll
    0x75F30000 - 0x75FBF000 C:\Windows\syswow64\OLEAUT32.dll
    0x74660000 - 0x74677000 C:\Windows\system32\USERENV.dll
    0x74650000 - 0x7465B000 C:\Windows\system32\profapi.dll
    0x74340000 - 0x74391000 C:\Windows\system32\WINSPOOL.DRV
    0x74570000 - 0x74582000 C:\Windows\system32\MPR.dll
    0x6E8B0000 - 0x6EAC8000 C:\Windows\AppPatch\AcGenral.DLL
    0x6EFA0000 - 0x6F020000 C:\Windows\system32\UxTheme.dll
    0x6F060000 - 0x6F092000 C:\Windows\system32\WINMM.dll
    0x74840000 - 0x7484F000 C:\Windows\system32\samcli.dll
    0x6F0D0000 - 0x6F0E4000 C:\Windows\system32\MSACM32.dll
    0x74C80000 - 0x74C89000 C:\Windows\system32\VERSION.dll
    0x6F340000 - 0x6F343000 C:\Windows\system32\sfc.dll
    0x6F260000 - 0x6F26D000 C:\Windows\system32\sfc_os.DLL
    0x6F040000 - 0x6F053000 C:\Windows\system32\dwmapi.dll
    0x758C0000 - 0x75A5D000 C:\Windows\syswow64\SETUPAPI.dll
    0x75C90000 - 0x75CB7000 C:\Windows\syswow64\CFGMGR32.dll
    0x77570000 - 0x77582000 C:\Windows\syswow64\DEVOBJ.dll
    0x75DF0000 - 0x75F27000 C:\Windows\syswow64\urlmon.dll
    0x775A0000 - 0x77695000 C:\Windows\syswow64\WININET.dll
    0x75FD0000 - 0x761CF000 C:\Windows\syswow64\iertutil.dll
    0x76230000 - 0x7634E000 C:\Windows\syswow64\CRYPT32.dll
    0x75FC0000 - 0x75FCC000 C:\Windows\syswow64\MSASN1.dll
    0x6F0C0000 - 0x6F0C6000 C:\Windows\system32\SHUNIMPL.DLL
    0x6F030000 - 0x6F03D000 C:\Windows\system32\SortServer2003Compat.dll
    0x75CC0000 - 0x75D20000 C:\Windows\system32\IMM32.DLL
    0x75BC0000 - 0x75C8C000 C:\Windows\syswow64\MSCTF.dll
    0x08000000 - 0x08138000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\client\jvm.dll
    0x10000000 - 0x10007000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\hpi.dll
    0x003F0000 - 0x003FE000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\verify.dll
    0x007B0000 - 0x007C9000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\java.dll
    0x007D0000 - 0x007DE000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\zip.dll
    0x051D0000 - 0x052E2000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\awt.dll
    0x052F0000 - 0x05341000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\fontmanager.dll
    0x6E7C0000 - 0x6E8A7000 C:\Windows\system32\ddraw.dll
    0x6F020000 - 0x6F026000 C:\Windows\system32\DCIMAN32.dll
    0x75DA0000 - 0x75DCD000 C:\Windows\syswow64\WINTRUST.dll
    0x6E6F0000 - 0x6E7BC000 C:\Windows\system32\D3DIM700.DLL
    0x05770000 - 0x05793000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\JavaAccessBridge.dll
    0x007E0000 - 0x007E5000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\jawt.dll
    0x007F0000 - 0x007F7000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\JAWTAccessBridge.dll
    0x06340000 - 0x06359000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\oui\lib\win32\oraInstaller.dll
    0x06470000 - 0x0648E000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\jpeg.dll
    0x776B0000 - 0x776DA000 C:\Windows\syswow64\imagehlp.dll
    0x6E600000 - 0x6E6EB000 C:\Windows\syswow64\dbghelp.dll
    0x776A0000 - 0x776A5000 C:\Windows\syswow64\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation   total 704K, used 90K [0x10010000, 0x100d0000, 0x10770000)
      eden space 640K,  13% used [0x10010000, 0x10026448, 0x100b0000)
      from space 64K,   2% used [0x100c0000, 0x100c07a8, 0x100d0000)
      to   space 64K,   0% used [0x100b0000, 0x100b0000, 0x100c0000)
    tenured generation   total 8436K, used 5698K [0x10770000, 0x10fad000, 0x16010000)
       the space 8436K,  67% used [0x10770000, 0x10d00a40, 0x10d00c00, 0x10fad000)
    compacting perm gen  total 12288K, used 12049K [0x16010000, 0x16c10000, 0x1a010000)
       the space 12288K,  98% used [0x16010000, 0x16bd47a0, 0x16bd4800, 0x16c10000)
    Local Time = Thu Aug 22 14:42:03 2013
    Elapsed Time = 40
    # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
    # Error ID : 4F530E43505002EF
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
    Thanks

    10.2.0.1 is not supported/certified on Win 2008, so expect issues with the install and/or with using the software.
    Why cannot you use a supported version - minimum is 10.2.0.4, which is only available to customers with an Extended Support contract
    http://docs.oracle.com/cd/B19306_01/relnotes.102/b14264/toc.htm#BABGFAJI
    HTH
    Srini

Maybe you are looking for

  • I'm currently using OS 10.4.11.  I would like to upgrade to 10.5 so I can sync my Ipad. Where can I download this OS??

    I am using OS 10.4.11 on my Macbook.  I want to upgrade to at least 10.5 to sync my new ipad, but can't seem to find a download.  I see that it is not possible to upgrade to a higher 10.5 version unless you have the basic one.  Any suggestions??

  • Can't delete any of Apple's Software Windows Vista 32 bit

    Hi all, a while ago I tried to update iTunes because it could no longer recognize my iPhone. Everytime I tried too, my computer crashed within a minute. Now I tried to delete iTunes and the same thing happens. Then I tried to delete any of the other

  • Balancing field "Segment" in line item 001 not filled

    Hi Viewers, I am getting the below error when i post following error. Cr Vendor DR AP Upload A/C Balancing field "Segment" in line item 001 not filled Message no. GLT2201 Diagnosis The field Segment marked as balancing is not filled with any value in

  • Disk Utility can't create a new partition

    Hello, I'm trying to create a new partition to install Windows 7 on, but I am unable to do so. At first I tried to do this with Boot Camp Assistant, but it didn't work. Then I tried to create a FAT partition with Disk Utility, which didn't work eithe

  • How to calculate Age of Debt in Days

    Hi experts. Basically this is my requirement. I need to produce a column in my query to display the age of debt in days. I have inserted Characteristic Value Variable <b>Key Date, 0P_KEYDA</b> in my query. User will give an input to this variable and