Refreshing mview is hanging after a database level gather stats

hi guys,
can you please help me identify the root cause of this issue.
the scenario is this:
1. we have a scheduled unix job that will refresh an mview everyday, from tuesday to saturdays.
2. database maintenance being done during weekends (sundays), gathering stats at a database level.
3. the refresh mview unix job apparently is hanging every tuesdays.
4. our workaround is to kill the job, request for a schema gather stats, then re-run the job. and voila, refresh mview will be successful then.
5. and the rest of the weekdays until saturdays, refresh mview is having no problems.
we already identified during testing that the scenario where the refresh mview is failing is when after we are gathering stats in a database level.
during gather stats in a schema level, refresh mview is successful.
can you please help me understand why we are failing refreshing mview after we gather stats in the database level??
we are using oracle 9i
the creation of the mview goes something like below:
create materialized view hanging_mview
build deferred
refresh on demand
query rewrite disabled
appreciate all your help.
thanks a lot in advance.

1. we have a scheduled unix job that will refresh an mview everyday, from tuesday to saturdays.
2. database maintenance being done during weekends (sundays), gathering stats at a database level.
3. the refresh mview unix job apparently is hanging every tuesdays.
4. our workaround is to kill the job, request for a schema gather stats, then re-run the job. and voila, refresh mview will be successful then.
5. and the rest of the weekdays until saturdays, refresh mview is having no problems.
You know Tuesday's MV refresh "hangs".
You don't know why it does not complete.
You desire solution so that it does complete.
You don't really know what is is doing on Tuesdays, but hope automagical solution will be offered here.
The ONLY way I know how to possibly get some clues is SQL_TRACE.
Only after knowing where time is being spent will you have a chance to take corrective action.
The ball is in your court.
Enjoy your mystery!

Similar Messages

  • Check Writer Hangs after 10G database upgrade

    Hi Gurus,
    Can anybody let me know how i can trace check writer concurrent process.
    It seems to hang after we upgraded the database to 10g version.
    Thanks,
    S.

    The log file shows
    /u31/oracle/fimsprodappl/pay/11.5.0/bin/PYUGEN
    Program was terminated by signal 11
    Should i do some thing with PYUGEN (rebuild/relink) after 10G database upgrade.
    We are on HP-UX 11 (PA-RISC) 64 bit.
    S

  • "rdmgr -n " commnad utility hangs after purging database

    Hi,
    Version: SunOne Portal 6.0
    I did the following steps:
    1. Started Robot process.
    2. Run command "rdmgr -n". It returns count as 25.
    3. Purge database without stopping the robot.
    4. On running command "rdmgr -n ", it hangs.
    Stopped the robot process, restarted robot, restarted portal server but of no avail. It still hangs.
    I also tried running option (Database - Analysis) from Admin console but that also hangs.
    The problem gets solved only after reinstallation of portal server 6.0.
    Any clue what's got wrong or i should install portal server 6.1 instead of 6.0 as i have seen some bugs related to "purge" gets rectified in this version.
    Any help will be appreciated...

    I forget to mention that i also run "Database/Expire" option from admin console and there is a bug related to this in 6.0 whose fix has been integrated in 6.1.
    Can this bug make rdmgr command hangs in 6.0?
    Any comments???
    From 6.1 release notes:
    4812074 - Resource descriptions are not expired cleanly from the main database. The rdmgr -E command leaves the resource descriptions in the index but not in main database.

  • Database Hanging after Alter Database Suspend Command

    I issued the command for testing
    Alter database suspend
    Its hanging for more than 2 rhrs,I suspect there are some users connected to it...
    How to login and resume the DB for the USers
    Can i ask them to disconnect from the DB

    And your version number is?
    You suspect there are connected users?
    Is there some reason you can't query gv$session?
    Can you ask them to disconnect from the database?
    I don't know ... can you? <g>
    I know I certainly would.
    What is the business case that you are doing the suspend?

  • Table does not refresh after database level action

    We have defined an Advanced table on a VO to represent invoice lines. The VO is referenced by a VL from the invoice header.
    At one point during our process, a database level package is executed on the current lines. We have a "Requery" button to refresh the lines, however, the lines do not refresh unless we exit the invoice entirely and come back to it via the VL.
    How can we refresh the lines on a current table after a database level transaction occurs?
    Thanks, Jerry.
    Our AM code is as follows...
    // handleRefreshInvoiceLines( )
    public void handleRefreshInvoiceLines()
    OAViewObject vo = (OAViewObject)getInvoiceLinesVO1( );
    if( !vo.isPreparedForExecution( ) )
    getTransaction( ).validate();
    vo.executeQuery( );
    clearVOCaches( "InvoiceLinesEO", true ); // troubleshooting
    } // handleRefreshInvoiceLines()

    Thank you. I've moved clearCache around a bit. apparently vo.isPreparedForExecution() is false. I wonder why?
    --Jerry.                                                                                                                                                                                                                                                   

  • Database hangs after retrieving some records....

    hi,
    I create a two level B+-tree index, for the first level i'm using key as logical database name, for the second level B+-tree i'm using some other field in my data. I am retrieving the records based on logical database name. I am using C++ to implement my index.
    In the following code i'm retrieving records from database. Program is behaving differently for different logical database names. For example in my database i have around 4 lakhs records with logical database name 'A' and around 1 lakh of records with logical database name 'B'. The following code displays all B records but programs hangs after retrieving some A records.
    I'm using PAGE_SIZE=8192, numBuffers=2048, and runnig in Fedora Core3.
    DbEnv myEnv(0);
         myEnv.set_cachesize(0, PAGE_SIZE * numBuffers, 0);
         myEnv.set_data_dir("/home/raviov/new/database");
              try {
                   myEnv.open("./", DB_CREATE | DB_INIT_MPOOL, 0);
              catch (DbException &e) {
                   cerr << "Exception occurred: " << e.what() << endl;
                   exit(1);
              db=new Db(&myEnv,0);
              db->set_pagesize(PAGE_SIZE);     
              db->set_bt_compare(compare_int);
         dbname=itoa(p);
         try
         db->open(NULL,
                   "treedb.db",
                   dbname,
                   DB_BTREE,
                   0,
                   0);
         catch(DbException &e)
              cerr << "Failed to open DB object" << endl;
              exit(1);
         db->cursor(NULL,&cursorp,0);
         key=new Dbt();
         data=new Dbt();
         while(ret=(cursorp->get(key,data,DB_NEXT))==0)
              j=*((int*)key->get_data());
              q=(*((struct tuple*)data->get_data())).startPos;
              r=(*((struct tuple*)data->get_data())).endPos;
              s=(*((struct tuple*)data->get_data())).level;
              cout<<"position : "<<j<<"\t";
              cout<<"start : "<<q<<"\t";
              cout<<"end : "<<r<<"\t";
              cout<<"level : "<<s<<"\n";
         if(ret==DB_NOTFOUND)
              cout<<"no records";
              exit(1);
         if(cursorp!=NULL)
              cursorp->close();
         try
              db->close(0);
         catch(DbException &e)
              cerr << "Failed to close DB object" << endl;
              exit(1);
         myEnv.close(0);

    HI Andrei,
    thank you for giving reply, I'm not using any secondary indecies, subdatabases and not using any threads.
    the following code displays index...
    #include <stdio.h>
    #include <db_cxx.h>
    #include <iostream.h>
    #include <db.h>
    #include <stdlib.h>
    #include <string.h>
    #include <sys/types.h>
    int PAGE_SIZE=8192;
    int numBuffers=2048;
    char *itoa(const int x)
          char buf[100];
          snprintf(buf, sizeof(buf), "%d", x);
           return strdup(buf);
    int compare_int(Db dbp, const Dbt a, const Dbt *b)
      int ai;
      int bi;
      memcpy(&ai,a->get_data(),sizeof(int));
      memcpy(&bi,b->get_data(),sizeof(int));
      return(ai-bi);
    struct tuple
           int startPos;
           int endPos;
           int level;
    main()
         FILE *fp;
         int i,j,k,l,m,n,total=0;
         char dbname[500],filename[500],str [500];
         tuple t;
         Db *db;
         Dbt key,data;
         DbEnv myEnv(0);
         myEnv.set_cachesize(0, PAGE_SIZE * numBuffers, 0);
         try {
                myEnv.open("/home/raviov/Desktop/example", DB_CREATE | DB_INIT_MPOOL, 0);
           catch (DbException &e) {
                  cerr << "Exception occurred: " << e.what() << endl;
                  exit(1);
         for(n=0;n<=84;n++)
              db = new Db(&myEnv, 0);     // Instantiate the Db object
                    db->set_bt_compare(compare_int);
               db->set_pagesize(PAGE_SIZE);
              strcpy(filename,"/home/raviov/Desktop/GTCReport/code/sequence/splitter/tree/");
              strcat(filename,itoa(n));
              fp=fopen(filename,"r");
              if(fp==NULL)
                   cout<<"error in opening the file";
                   exit(0);
              while(fgets (str , 500 , fp)!=NULL)
                   sscanf(str,"%d(%d,%d,%d,%d)",&i,&j,&k,&l,&m);
                   key=new Dbt(&i,sizeof(int));
                   if(total==0)
                        strcpy(dbname,itoa(j));
                   t.startPos=k;
                   t.endPos=l;
                   t.level=m;
                   data=new Dbt(&t,sizeof(t));     
                   if(total==0)
                        try
                             db->open(NULL,
                             "tree.db",
                                       dbname,
                              DB_BTREE,
                                DB_CREATE,
                                0);
                        catch(DbException &e)
                               cerr << "Failed to create DB object" << endl;
                             exit(1);
                        total=99;
                   int ret=db->put(NULL,key,data,DB_NOOVERWRITE);
                   if(ret==DB_KEYEXIST)
                        cout<<"key already exist\n";
                        exit(1);
                   delete key;
                   delete data;
              total=0;
              fclose(fp);
              try
                   db->close(0);
              catch(DbException &e)
                     cerr << "Failed to close DB object" << endl;
                   exit(1);
         myEnv.close(0);
    }The following code retrieves the records from database that we had built above...
    #include <stdio.h>
    #include <db_cxx.h>
    #include <iostream.h>
    #include <db.h>
    #include <stdlib.h>
    #include <string.h>
    #include <sys/types.h>
    int PAGE_SIZE=8192;
    int numBuffers=2048;
    char *itoa(const int x)
          char buf[100];
          snprintf(buf, sizeof(buf), "%d", x);
           return strdup(buf);
    int compare_int(Db dbp, const Dbt a, const Dbt *b)
      int ai;
      int bi;
      memcpy(&ai,a->get_data(),sizeof(int));
      memcpy(&bi,b->get_data(),sizeof(int));
      return(ai-bi);
    struct tuple
           int startPos;
           int endPos;
           int level;
    main()
         FILE *fp;
         int i,j,k,l,m,n,total=0;
         char *dbname;
         char filename[200],str [100];
         tuple t;
         Db *db;
         Dbt key,data;
         Dbc *cursorp=NULL;
         int ret,x=4;
         char *ravi;
         int p=84763;
         int y=2134872;
         int r,s,q,count=0;
         DbEnv myEnv(0);
         myEnv.set_cachesize(0, PAGE_SIZE * numBuffers, 0);
         myEnv.set_data_dir("/home/raviov/new/database");
              try {
                      myEnv.open("./", DB_CREATE | DB_INIT_MPOOL, 0);
               catch (DbException &e) {
                      cerr << "Exception occurred: " << e.what() << endl;
                      exit(1);
              db=new Db(&myEnv,0);
              db->set_pagesize(PAGE_SIZE);     
              db->set_bt_compare(compare_int);
         dbname=itoa(p);
         try
              db->open(NULL,
                    "tree.db",
                     dbname,
                     DB_BTREE,
                     0,
                     0);
         catch(DbException &e)
                cerr << "Failed to open DB object" << endl;
              exit(1);
         db->cursor(NULL,&cursorp,0);
         key=new Dbt();
         data=new Dbt();
         while(ret=(cursorp->get(key,data,DB_NEXT))==0)
              j=*((int*)key->get_data());
              q=(*((struct tuple*)data->get_data())).startPos;
              r=(*((struct tuple*)data->get_data())).endPos;
              s=(*((struct tuple*)data->get_data())).level;
              cout<<"position   : "<<j<<"\t";
              cout<<"start : "<<q<<"\t";
              cout<<"end   : "<<r<<"\t";
              cout<<"level   : "<<s<<"\n";
              delete key;
              delete data;
         if(ret==DB_NOTFOUND)
              cout<<"no records";
              exit(1);
         if(cursorp!=NULL)
              cursorp->close();
         try
              db->close(0);
         catch(DbException &e)
                cerr << "Failed to close DB object" << endl;
              exit(1);
         myEnv.close(0);     
    }

  • SAP BW 640-----SAINT HANGS AFTER CLICKING START

    Hi Everybody,
    We are on stack 9 on the source BW 640.  I am trying  to take the stack to 22 as a prerequirement for unicode conversion, and the upgrade to BI 7.0.
    In this regard there is a dependency on PI_BASIS to be on 2005, and BI_CONT to be on 353.  Currently we are on PI_BASIS 2004, and BI_CONT 352 on the source.
    We have extracted the appropriate installation packages for the above components.  When we run SAINT to install these components, and click START it just hangs.  It does not take me to the  next window.
    At least SAINT used to take me to the next window after clicking start, but one change I did was to update the kernel to 221, saint was still hanging after clicking start, again updated the kernel to 274 which is the latest release for NW 2004.  I also have the latest version of R3Trans, and tp.  SAINT still hangs after clicking start button.  No  logs are getting generated in \usr\sap\trans\log.  No files are getting generated in \usr\sap\trans\tmp. 
    I restored the database to what it was before we initiated the SAINT process.  Still SAINT hangs after clicking start button.
    In STMS-overviewu2014system-sap system-all the checks work fine(connection, transport directory, transport tool).  Likewise in SAINT-utilities-check-transport tool----every thing looks good.
    Why is SAINT hanging after clicking start button, can we downgrade the kernel to what it was before (level 155). 
    Any input is greatly appreciated.
    Thank you.
    Ramesh Srinivasan.

    Thank you so very,very much.  We are currently using a 640 gui.  We tested with 710 gui and saint after clicking start does not hang.
    So we are assuming that 710 gui will solve the problem.
    Thanks once again.  A very timely help.  You bet I'll touch base with you if I run into issues.
    RS

  • Iphoto hangs after upgrading to Yosemite and latest iPhoto version

    It tells me the library needs upgrading, and starts to search the library. The progress bar suggests something is happening then hangs after about 99% completion. I have had to force close twice after several hours stuck at that point and then start the whole process from scratch when I restart.

    Have you followed these instructions - http://www.fatcatsoftware.com/iplm/Help/rebuilding%20a%20corrupted%20iphoto%20li brary.html
    iPhoto Library Manager > Help > Rebuilding a corrupted iPhoto library
    Printable help
    Rebuilding a corrupted iPhoto library
    If you have an iPhoto library that is corrupt and causing iPhoto to crash or otherwise be unusable, iPhoto Library Manager provides the ability to rebuild your library based on the information found in its library data files. Note that iPhoto also has a built-in rebuild function that can be sometimes be used to repair a corrupted library database. You can find instructions on how to use that on Apple's website at http://support.apple.com/kb/HT2638 (iPhoto 6 or later) or http://support.apple.com/kb/HT2042 (iPhoto 5 or earlier).
    iPhoto Library Manager's rebuild works differently, in that instead of trying to repair the library in place, it creates a brand new library and tries to reimport the entire contents of the original library into the new one, including reconstructing albums, photo metadata, etc. Note that rebuilding a library has all the same limitations as other photo transfer operations as far as what can and can't be copied between libraries. Also, depending on how badly damaged the library is, iPhoto Library Manager may or may not be able to piece together some or all of the library metadata.
    To start a rebuild, select the library you would like to rebuild, then choose the "Rebuild Library" item from the "Library" menu. You will be prompted to choose a location for the rebuilt library, and whether or not you want iPLM to scavenge orphaned photos it finds in the library package. Once you've made your choices, iPLM will examine the library and rebuild the library structure and photos as best it can, then display you a preview of what it was able to find. If your library is badly damaged and the preview is missing a lot of content from the original library, this can save you from going through with a rebuild that won’t end up being of much help.
    Once you've had a chance to examine the preview, if you want to go forward and create the rebuilt library, click the "Rebuild" button in the upper right. iPhoto Library Manager will create a new library and start importing the contents of the original library into the new one.
    Scavenging photos
    In some cases, either the iPhoto library database is too damaged for iPhoto Library Manager to be able to salvage any information from it, or the library data is incomplete and there are photos that still exist inside the library package, but iPhoto has lost track of them. In these cases, you may want to check the "Scavenge orphaned photos" checkbox when choosing a location for the rebuilt library. After iPhoto Library Manager has read the library data as best it can, it will perform an additional pass through the package and locate any photos that are no longer referenced in the library database. Any additional photos that are found will be included in the rebuild, and a new "Scavenged Photos" album will be created in the rebuilt library containing any scavenged photos.
    LN

  • SYS user connects at database level, is it correct?

    My senior colleague has given me following information about the sys user. I want to know, is it correct?
    Since SYS user connects at the database level, therefore, on killing the active session of the SYS user,only the current statement is cancelled. The database session does not disconnect. Instead it continues to run the remaining statements in the script file in case we are running a script file containing a lot of SQL statements.
    Moazzam

    Moazzam wrote:
    My senior colleague has given me following information about the sys user. I want to know, is it correct?
    Since SYS user connects at the database level, therefore, on killing the active session of the SYS user,only the current statement is cancelled. The database session does not disconnect. Instead it continues to run the remaining statements in the script file in case we are running a script file containing a lot of SQL statements.Running a SQL script very likely means SQL*Plus is used. One of two types of Oracle sessions will be created via sqlplus. A dedicated session. Or a shared server session.
    A dedicated session can also be local (sqlplus connects "directly" to the dedicated server process), or remote (sqlplus connects via tcp/ip to the dedicated server process).
    A server session is usually "killed" using the alter system kill session command. Despite the differences between shared and dedicated server connections, the end result is the same. The session terminates abnormally (session UGA will be released, session will be cleaned up, rolled back, etc) - and the session ceases to exist.
    So irrespective of how that sqlplus session runs that script - the session, when killed, will cause a sqlplus failure. And no subsequent script commands would be executed by that Oracle session.
    What can happen is that sqlplus continues running, continues reading the script, and continues submitting commands to be executed. However, with the server session killed, there is no server process to service the commands submitted by the sqlplus client. In this case, sqlplus will throw the error "+SP2-0640: Not connected+" after each of the commands it tries to execute after the server session was killed.
    The only time when sqlplus will be able to continue is when the session is not killed, but interrupted. The Oracle Call Interface (OCI) supports a OCIBreak() call - allowing the client to interrupt-and-abort the request that its server session is currently executing.
    For example, sqlplus sends a OCIBreak() while it waits for a server response (e.g. waiting for the answer to a SQL select query), when the user presses Ctrl-Break to abort that request.
    In this case, the session still exists - and the client can issue a new request that the session will service. But an OCIBreak() cannot be triggered (to my knowledge) externally from another Oracle session. You need to send the client process a "break request" (like a Ctrl-Break keystroke) in order to trigger that client process to make an OCIBreak() call to Oracle and interrupt its server process.

  • In ecatt - how to check at database level using ABAP

    Hi,
    How to check at database level using ABAP in Ecatt tool.
    say,for example I want to check a particular sales order is invoiced or not ,at the database level and if it is invoiced I have stop proceeding to invoicing of that sales order number.
    Could anybody suggest on this with an example?
    thanks.

    Hi,
    you can use the command GETTAB to access single db records.
    Full specified or partitial specified keys can be use at GETTAB. It will return always only one record, also if a couple could match your selection.
    For more advanced scenarios you can also use eCATTs Inline ABAP. In a block between the commands ABAP. ENDABAP. you can code ABAP statements, e.g. SELECT ... INTO TABLE ...
    eCATT script parameters of type 'V' defined in that script using ABAP/ENDABAP will be transfered into the ABAP block and back to script after ABAP perform.
    Best regards
    Jens

  • Publication is not listed in reolication monitor after manual database failover

    Hi All,
    I have three servers using which I have configured database mirroring and  transactional replication with pull  subscription.
    ServerA--Publisher/Distributor/principal
    ServerB--Subscriber
    ServerC--Mirror
    After failover now ServerB pulls the data from ServerC which is the new Principal andI have set the -PublishfailoverPartner as ServerC .
    After the failover is performed I see subscriber is pulling transactions from ServerC and transactions are getting replicated but I cannot see the publication listed under new publisher(ServerC) nor under old publisher ServerA  from replication
    monitor.
    What is the reason I cannot see the publications from replication Monitor. How will distributor know that ServerC is now the publisher.
    Also I got the error when I executed below command for distribution agent. But still transactions are getting replicated after failover.
    exec
    sp_add_agent_parameter@profile_id
    = 4,
    @parameter_name =
    N'-PublisherFailoverPartner',
    @parameter_value =
    N'ServerC
    Msg 21806, Level 16, State 1, Procedure sp_MSvalidate_agent_parameter, Line 63
    parameter -PublisherFailoverPartner. The value must be an integer. Verify that replication is installed properly and that sp_add_agent_parameter is invoked with a valid value.The agent profile creation process cannot validate the specified agent parameter
    value: the profile_id 4 does not exist or it does not support the
    Any inputs will be of great help.
    Regards,
    Raj
    Raj

    Refer to this: http://msdn.microsoft.com/en-us/library/ms151799.aspx

  • Queries on oracle hang after index creation

    Hi,
    I have a problem where queries issued on an oracle database hang after I create indexes on some of the tables used by these queries.
    I have a script where I drop indexes :
    DROP INDEX EVP_PCON00_CDSITC_IX;
    DROP INDEX EVP_PCS202_STIMP1_IX;
    DROP INDEX EVP_PECT00_ONAECT_IX;
    DROP INDEX EVP_PVAL01_ONAVAL_IX;
    After this script I load data into those tables.
    Then I launch another script where I recreate the indexes I just dropped :
    CREATE INDEX EVP_PCON00_CDSITC_IX  ON EVP_PCON00(CDSITC) TABLESPACE TS_ODS_INDEX;
    COMMIT;
    CREATE INDEX EVP_PCS202_STIMP1_IX  ON EVP_PCS202(STIMP1) TABLESPACE TS_ODS_INDEX;
    COMMIT;
    CREATE INDEX EVP_PVAL01_CDORIV_IX  ON EVP_PVAL01(CDORIV) TABLESPACE TS_ODS_INDEX;
    COMMIT;
    When the script ends, I try to execute a query using some of the tables I created indexes on :
    SELECT ...
    FROM ....
    WHERE ....
    The query never return a result set, it just hangs, I look at the session browser in toad and the scan of the first table used in the query hangs.
    When I drop those indexes and re execute the query everything works fine.
    Thanks
    Edited by: 946359 on Jul 13, 2012 9:20 AM

    This is the result I get :
    Execution Plan
    Plan hash value: 1198043594
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 1343 | 12 (17)| 00:00:01 |
    | 1 | HASH UNIQUE | | 1 | 1343 | 12 (17)| 00:00:01 |
    |* 2 | HASH JOIN OUTER | | 1 | 1343 | 11 (10)| 00:00:01 |
    | 3 | NESTED LOOPS OUTER | | 1 | 1257 | 9 (12)| 00:00:01 |
    | 4 | NESTED LOOPS OUTER | | 1 | 1033 | 8 (13)| 00:00:01 |
    | 5 | NESTED LOOPS OUTER | | 1 | 809 | 7 (15)| 00:00:01 |
    |* 6 | HASH JOIN | | 1 | 585 | 6 (17)| 00:00:01 |
    | 7 | NESTED LOOPS | | | | | |
    | 8 | NESTED LOOPS | | 1 | 490 | 3 (0)| 00:00:01 |
    | 9 | TABLE ACCESS FULL | EVP_PTIP00 | 1 | 452 | 2 (0)| 00:00:01 |
    |* 10 | INDEX RANGE SCAN | EVP_PTIC00_CDROLE_IX | 1 | | 1 (0)| 00:00:01 |
    |* 11 | TABLE ACCESS BY INDEX ROWID| EVP_PTIC00 | 1 | 38 | 1 (0)| 00:00:01 |
    | 12 | TABLE ACCESS FULL | EVP_PTIF00 | 1 | 95 | 2 (0)| 00:00:01 |
    |* 13 | TABLE ACCESS BY INDEX ROWID | EVP_PTAB00 | 1 | 224 | 1 (0)| 00:00:01 |
    |* 14 | INDEX RANGE SCAN | EVP_PTAB00_CLTABL_IX | 1 | | 1 (0)| 00:00:01 |
    |* 15 | TABLE ACCESS BY INDEX ROWID | EVP_PTAB00 | 1 | 224 | 1 (0)| 00:00:01 |
    |* 16 | INDEX RANGE SCAN | EVP_PTAB00_CLTABL_IX | 1 | | 1 (0)| 00:00:01 |
    |* 17 | TABLE ACCESS BY INDEX ROWID | EVP_PTAB00 | 1 | 224 | 1 (0)| 00:00:01 |
    |* 18 | INDEX RANGE SCAN | EVP_PTAB00_CLTABL_IX | 1 | | 1 (0)| 00:00:01 |
    | 19 | TABLE ACCESS FULL | EVP_PRIB00 | 1 | 86 | 2 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - access("EVP_PRIB00"."NOTIER"(+)="EVP_PTIP00"."NOTIER")
    6 - access("EVP_PTIF00"."NOTIER"="EVP_PTIP00"."NOTIER")
    10 - access("EVP_PTIC00"."CDROLE"='EMP')
    11 - filter("EVP_PTIC00"."CDDDRX"='CL' AND "EVP_PTIP00"."NOTIER"="EVP_PTIC00"."NOTIER")
    13 - filter("EVP_PTAB00_SITF"."CDTABL"(+)="EVP_PTIP00"."CDSITF")
    14 - access("EVP_PTAB00_SITF"."CLTABL"(+)='SITF')
    15 - filter("EVP_PTAB00_TITR"."CDTABL"(+)="EVP_PTIP00"."CDTITR")
    16 - access("EVP_PTAB00_TITR"."CLTABL"(+)='TITR')
    17 - filter("EVP_PTAB00_RMAT"."CDTABL"(+)="EVP_PTIP00"."CDRMAT")
    18 - access("EVP_PTAB00_RMAT"."CLTABL"(+)='RMAT')

  • Oracle 11g R2 hangs after parameter processes incresed

    Hi,
    I am running an Oracle 11g R2 on a Solaris box. I was getting some Critical alert messages about the "Process Limit %" metric. So I decided to increase the value of the processes database parameter from 200 to 400. After that the system is very slow and hanging with a lot of "Log file sync" and "log file parallel write" events.
    I have rolled it back to 200 and now the system is working fine again, but I am concern about getting again the alert about the "process limit %".
    Is there any other parameter that I need to tune together with the increase of the proccesses on?
    Regards,

    It looks like the issue is not related with the processes change.
    If I reboot then db and then restart the process it runs fine. Something happens during on the db during the day that make the nightly schedule task takes forever. When I checked it this morming there were a lot of commit activity. If I cancel the process and then try to restart it again without rebooting the db the problem persist. But if I bounce the database and then run it, it will complete fine.
    Below is AWR periord comparisson report. The first period is when I cancelled the process and then tried to run it again. The second one is after the database reboot.
    I appreciate any advice.
    Snapshot Set DB Name DB Id Instance Inst num Release Cluster Host Std Block Size
    First (1st) DMFEPRD 3155815743 dmfeprd 1 11.2.0.1.0 NO uscndb18 8192
    Second (2nd) DMFEPRD 3155815743 dmfeprd 1 11.2.0.1.0 NO uscndb18 8192
    Snapshot Set Begin Snap Id Begin Snap Time End Snap Id End Snap Time Avg Active Users Elapsed Time (min) DB time (min)
    1st 2700 25-Jun-11 12:17:51 (Sat) 2701 25-Jun-11 12:23:40 (Sat) 2.69 5.82 15.65
    2nd 2702 25-Jun-11 12:47:17 (Sat) 2703 25-Jun-11 12:52:52 (Sat) 2.40 5.58 13.39
    %Diff -10.78 -4.12 -14.44
    Host Configuration Comparison
    1st 2nd Diff %Diff
    Number of CPUs: 32 32 0 0.0
    Number of CPU Cores: 4 4 0 0.0
    Number of CPU Sockets: 1 1 0 0.0
    Physical Memory: 65408M 65408M 0M 0.0
    Load at Start Snapshot: 6.14 2.03 -4.12 -66.9
    Load at End Snapshot: 6.95 4.67 -2.28 -32.8
    %User Time: 13.43 13.04 -.38 -2.9
    %System Time: 6.95 1.26 -5.69 -81.9
    %Idle Time: 79.62 85.7 6.07 7.6
    %IO Wait Time: 0 0 0 0.0
    Cache Sizes
    1st (M) 2nd (M) Diff (M) %Diff
    Memory Target 10,240.0 10,240.0 0.0 0.0
    .....SGA Target 6,656.0 6,656.0 0.0 0.0
    ..........Buffer Cache 672.0 672.0 0.0 0.0
    ..........Shared Pool 1,472.0 1,472.0 0.0 0.0
    ..........Large Pool 64.0 64.0 0.0 0.0
    ..........Java Pool 224.0 224.0 0.0 0.0
    ..........Streams Pool 64.0 64.0 0.0 0.0
    .....PGA Target 3,584.0 3,584.0 0.0 0.0
    Log Buffer 18.6 18.6 0.0 0.0
    Load Profile
    1st per sec 2nd per sec %Diff 1st per txn 2nd per txn %Diff
    DB time: 2.69 2.40 -10.78 0.96 0.14 -85.42
    CPU time: 0.90 2.13 136.67 0.32 0.12 -62.50
    Redo size: 28,238.40 149,564.99 429.65 10,057.71 8,577.01 -14.72
    Logical reads: 8,840.64 21,941.38 148.19 3,148.78 1,258.26 -60.04
    Block changes: 176.06 1,032.02 486.18 62.71 59.18 -5.63
    Physical reads: 1.82 37.36 1,952.75 0.65 2.14 229.23
    Physical writes: 6.69 25.16 276.08 2.38 1.44 -39.50
    User calls: 118.44 318.49 168.90 42.19 18.26 -56.72
    Parses: 91.31 492.38 439.24 32.52 28.24 -13.16
    Hard parses: 4.73 31.89 574.21 1.68 1.83 8.93
    W/A MB processed: 908,952.26 4,708,929.40 418.06 323,742.82 270,039.92 418.06
    Logons: 18.65 41.19 120.86 6.64 2.36 -64.46
    Executes: 109.63 584.01 432.71 39.05 33.49 -14.24
    Transactions: 2.81 17.44 520.64
    1st 2nd Diff
    % Blocks changed per Read: 1.99 4.70 2.71
    Recursive Call %: 84.16 92.70 8.53
    Rollback per transaction %: 0.00 0.00 0.00
    Rows per Sort: 1,620.17 1,194.14 -426.02
    Avg DB time per Call (sec): 0.02 0.01 -0.02

  • Oracle 11g R1 Installation hangs at Cloning Database .

    When I installing Oracle 11g R1 on RHEL 5.4, the installation hangs in Cloning Database step. I have stopped the installation and then executed the scripts mentioned during installation :
    "Run below as root user
    /opt1/Oracle/OracleDB/oraInventory/orainstRoot.sh
    /opt1/Oracle/OracleDB/product/11.1.0/db_2/root.sh
    After I run the sqlplus and tried to logon:
    SJP2VM0140:work2}-/home/work2# sqlplus
    SQL*Plus: Release 11.1.0.6.0 - Production on Wed Jul 21 20:17:31 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    Any help in this regard is greatly appreciated.
    Edited by: Durga Pulipati on Jul 22, 2010 12:13 AM

    # sqlplus /nolog
    SQL> connect / as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1269366784 bytes
    Fixed Size 2144024 bytes
    Variable Size 738199784 bytes
    Database Buffers 520093696 bytes
    Redo Buffers 8929280 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    The alert log :
    <txt>ORA-00210: cannot open the specified control file
    ORA-00202: control file: &apos;/opt1/Oracle/OracleDB/oradata/orcl/control03.ctl&apos;
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: &apos;/opt1/Oracle/OracleDB/oradata/orcl/control02.ctl&apos;
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: &apos;/opt1/Oracle/OracleDB/oradata/orcl/control01.ctl&apos;
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    Could you please help me with this?

  • Forms gets hang after 15 mins in 11.5.10.2

    Hi,
    I have cloned an instance from production. Now my forms in production are getting hanged after 15 mins but the development instance is running fine. The EBS version is 11.5.10.2. Linux RedHat 4.0. Jserv 1.1.
    Everytime this is happening at 15-20 mins interval. I have seen the log files in iAS_HOME/Apache but they are clean.
    Can anyone plz help on this.
    Thanks.
    Neeraj.

    Rapid Clone does not modify the source system. adpreclone.pl prepares the source system to be cloned by collecting information about the database and creating generic templates of files containing source specific hardcoded values.
    I suggest you use Forms Runtime Diagnostics (FRD) to debug the issue, for more details on how to use it please check Note: 150168.1 - Obtaining Forms Runtime Diagnostics (FRD) In Oracle Applications 11i
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=150168.1

Maybe you are looking for