Oracle 9i Java component performance problems

Hello

I am reorganizing a java component inherited because of performance problems.


A java stored procedure is used to trigger a shell script that runs a java component. The component connects to a series of remote directories via ftp, gets the files and load them using slq * charger.

Is there a better way to do this? I saw a few articles talking using a FTP interface directly from PL - SQL jump the java component entirely. It would be preferable to the current solution its?

Thanks in advance,
Pedro

I am reorganizing a java component inherited because of performance problems.

The first step is to identify what are the problems of performance, where they occur, and what causes them.

View details on

1. WHAT you do

2. HOW to

3. WHAT results you get

4 what ARE the results you expect to get.

Tags: Database

Similar Questions

  • Performance problem - oracle 10.2.0.4

    HI Experts,

    Today I met a performance problem. I pulled a simple query to get the number of records in a table existed in the databases of PROD and QA. The two databases are the same settings at parameter level. But when I launch the application, Prod database takes 10 minutes to get the result. Not sure why prod base it takes a lot of time.

    Additional information:

    ---------------------

    The number of lines is almost the same on the two databases

    OPERATING SYSTEM: IBM AIX

    Oracle: 10.2.0.4

    QA Database - explain plan

    ==========================

    06:40:49 SQL > select count (*) in the Siebel.s_prod_baseline;

    COUNT (*)

    ----------

    42146408

    Elapsed time: 00:00:45.35 == > just 45 seconds

    PLAN_TABLE_OUTPUT

    --------------------------------------------------------------------------------

    Hash value of plan: 645963650

    -------------------------------------------------------------------------------

    | ID | Operation | Name               | Lines | Cost (% CPU). Time |

    -------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |                    |     1.  1165 (1) | 00:00:14 |

    |   1.  GLOBAL TRI |                    |     1.            |          |

    |   2.   INDEX SCAN FULL | S_PROD_BASELINE_P1 |    42 M |  1165 (1) | 00:00:14 |

    -------------------------------------------------------------------------------

    Database of PROD explain plan

    ======================

    06:42:59 SQL > select count (*) in the Siebel.s_prod_baseline;

    COUNT (*)

    ----------

    42730261

    Elapsed time: 00:10:13.43 == > took more than 10 minutes

    PLAN_TABLE_OUTPUT

    --------------------------------------------------------------------------------

    Hash value of plan: 645963650

    -------------------------------------------------------------------------------

    | ID | Operation | Name               | Lines | Cost (% CPU). Time |

    -------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |                    |     1.  4160 (1) | 00:00:50 |

    |   1.  GLOBAL TRI |                    |     1.            |          |

    |   2.   INDEX SCAN FULL | S_PROD_BASELINE_P1 |    42 M |  4160 (1) | 00:00:50 |

    -------------------------------------------------------------------------------

    Could if it you please let me know why oracle it takes a lot of time prod database?

    Thank you..

    > There was another option to check why prod database behaves differently?

    Yes.  The trace file, TRACE the request and review (or the tkprof).

    Hemant K Collette

  • Performance problems on Oracle 11 G with Windows 2008 64 bit.

    Hello world

    I noticed that our database is going bad and low every week. My server has 16 GB of RAM and 10 GB are dedicated to the database Oracle, it is a 11.2.0.1 with Windows 2008 R2 SP1 64 bit. I would like to know according to the values of the movement following you guys recommend to adjust in the init.ora:

    ORCL.__db_cache_size = 5402263552
    ORCL.__java_pool_size = 33554432
    ORCL.__large_pool_size = 33554432
    ORCL.__pga_aggregate_target = 3657433088
    ORCL.__sga_target = 6878658560
    ORCL.__shared_io_pool_size = 0
    ORCL.__shared_pool_size = 1308622848
    ORCL.__streams_pool_size = 33554432

    * .memory_target = 10511974400
    * .open_cursors = 5000

    * .optimizer_mode = "RULE".
    * runoff = 300

    According to the target memory on how values can be increased the process, pga_agregate_target, etc.

    We also have problems with the bug Bug 9593134 "connection to Oracle 11 g are slow and can take anywhere from 10 seconds to 2 minutes." there is a difficulty on linux by removing dns names on this subject, but someone has experience on windows platforms?

    Thanks to all and sorry for my English.

    Kind regards.

    Arturo.

    Concerning the long connection times, have you tried to use the network (such as Wireshark) packet capture software to determine that the client computer when a connection attempt is initiated?

    The Oracle database time can help the model statistics and wait events extensive system you diagnose performance problems related to poor (you should not only look at the statistics, but rather capture the current values, wait a while, statistics capture again and compare the evolution of the values of the statistics). A statspack report may also help - but a trace 10046 to level 8 or 12 is more appropriate if you are able to identify a few sessions that have performance problems.

    I claim not just blindly changing the settings, even if I'm curious about:
    * Why the session level setting OPEN_CURSORS is set to 5000 - you expect a single session to hold cursors open 5,000?
    * Why do you use the obsolete RULE based optimizer?
    * Why the MEMORY_TARGET parameter is used when the target SGA_TARGET and PGA_AGGREGATE are specified?

    Charles Hooper
    http://hoopercharles.WordPress.com/
    IT Manager/Oracle DBA
    K & M-making Machine, Inc.

  • tool to diagnose performance problems in the oracle database

    Is there a tool to diagnose performance problems in queries and stored procedures in oracle similar to sql for sql server Profiler

    Thank you

    You can use oem oracle enterprise manager to diagnose and monitor the database.

    Chapter 10: Monitoring and Tuning of the database (see the link oracle obe series, procedures step by step with the presentation of the screenshot)
    This chapter shows you some of the monitoring and tuning of the operations performed by Enterprise Manager.
    http://www.Oracle.com/technology/OBE/2day_dba/monitoring/monitoring.htm

    Reference: monitoring and Tuning of the database

    http://download.Oracle.com/docs/CD/B14117_01/server.101/b10742/montune.htm

    hope this helps you.

    Published by: rajeysh on July 14, 2010 21:28

  • [ORACLE 10.2.0.5] performance problem with high enq: TX - line lock contention waiting

    Hello

    I have a performance problem involving high line response to locking conflicts that I can't wait.

    The application updates the specific table about 1200 times for my AWR report representing 2 hours.

    This update represents 98% of the db_time and wait to enq: TX - line lock conflict is:

    -83 796 waiting

    -245 441 seconds

    The application updates a row both an unprecedented SELECT UPDATES. This is the query:

    Update my_table set creationtime =: 1, modificationdate =: version 2, =: creationuserid 3, =: fortesting 4, =: 5, modificationuserid =: participation_uuid 6, =: actimenucontact 7, =: allegroid 8, =: campaign_uuid 9, =: desjardinsemployeetype 10, =: effectiveparticipationtype 11, =: family_uuid 12, =: fetchpasseport 13, =: 14, healthratingfilldate =: hoursofsleeptimecommitment 15, =: igaid 16, =: initialsubscriptiontype 17, =: minutesofsleeptimecommitment 18, =: goal 19, =: partner_uuid 20, =: 21, promotionalemails =: 22, readrules =: sccsubscriptionprovenance 23, =: = subscriptionprovenance 24,: 25, supportemails =: where the 26 uuid = : 27 and = version: 28

    Clause where is filtering on uuid which is the primary key of my_table.

    The uuid is a specific user and two users would not update the same row, what could be the reason for this wait event?

    Thank you

    Why guess when you know.

    Watch ASH data for these events to the queue.

    He'll tell you sql id as well.

  • ViewObject range Paging performance problem

    Hi all

    I am facing a performance problem with the implementation of an obligation to programmatically add a number of extra where the parameters of the clause (using bind) variable in combination with range paging.

    My code looks like this

    ...
    
    ApplicationModule am = Configuration.createRootApplicationModule("services.DossierAM", "DossierAMLocal");
    ViewObject vo = am.findViewObject("DossierListView");
    
    // apply programmatic view criteria
    ViewCriteria vc = vo.createViewCriteria();
    ViewCriteriaRow vcr = vc.createViewCriteriaRow();
    vcr.setAttribute("Reference", "15/%");
    vc.addElement(vcr);
    vo.applyViewCriteria(vc, true);
    
    
    // enable range paging
    vo.setAccessMode(RowSet.RANGE_PAGING);
    vo.setIterMode(RowIterator.ITER_MODE_LAST_PAGE_PARTIAL);
    vo.setRangeSize(50);
    vo.scrollToRangePage(5); // Cause a java.sql.SQLException: Parameter IN or OUT missing for index.....debugging learned that the :vc_temp_1 bind variable is not filled
    // vo.scrollToRange(250); // Cause a java.sql.SQLException: Parameter IN or OUT missing for index.....debugging learned that the :vc_temp_1 bind variable is not filled
    
    ... 
      ...
    

    I found 2 solutions, but they both require an application of additional database that is, performance wise, is not acceptable.

    The first solution is to slip into an additional call to exectueQuery() before the call to function scrollToRangePage (int) or scrollToRange (int).

    The second solution is to use the method (int) setRangeStart instead of variants scrollToRange (Page). This method performs also 2 database calls.

    My question to you:

    Is there another way to satisfy the requirement of programming add a certain number of parameters of the additional where clause (using the variable binding) in combination with the pagination of the range without the need to perform queries of database 2?

    The code is tested with JDeveloper, 11.1.2.4.0, and 12.1.3.0.0 and behaves the same on both versions.

    Kind regards

    Steven.

    Have you tried to create truly VC with bind variable (rather than use binding implied var created by frame)?

    Something like: http://www.jobinesh.com/2010/10/creating-view-criteria-having-bind.html

    Dario

  • How to investigate DB performance problems?

    How to investigate DB performance problems?

    You can refer to the oracle support doc: Doc ID 1362329.1

    In case you have difficulties to access the Oracle support, I copied some of these inline content:

    K.

  • EBS 11i performance problem

    Hi hussein, helios, & all,


    Happy New Year to you :)
    I hope we have a better year 2011 year of the rabbit.
    I hope that we have even better in 2011.

    I just want to learn something from each of you through the year 2010.

    Can you share how tackle you performance problems in EBS?
    I know that there is joint action, that you have done to improve performance.
    It should be after all statistical analyses of performance as Statspack, SAR,
    and other output of the performance monitoring report.

    What actions / solutions did you resolve performance issues in EBS?

    Is it upgraded the server itself for a more powerful?

    For example, our users are complaining about the Oracle Apps very slow race at any time of the day. This produces 20% of the day(performance problem) and 80%, as the Oracle applications is running fine (no complaints of users).
    The appearance of performance problem is not fixed in time, sometimes in the morning and in the afternoon sometimes. Sometimes, even when there are a few users logged in and sometimes it is no problem of performance, even if many users are connected. If you run a statspack you see programs to eat a lot of resources, but they are oracle programs if you can not touch or tune right? So to keep users calm, they agreed to get rebooted server. Temporarily, this solves the performance problem. So we just keep it this way. My suspect is that there are many programs of concurrent background (on request) who is running who is right for which users get slow even if only a few is connected to it. I want to know what are simultaneous programs running at the time where the performance issue of gets users.
    Is there a sqlplus program to list all concurrent programs running?


    Thank you very much

    Mrs. Mina

    What actions / solutions did you resolve performance issues in EBS?

    Depends on what kind of performance issues you have.

    Is it upgraded the server itself for a more powerful?

    Not necessarily.

    For example, our users are complaining about the Oracle Apps very slow race at any time of the day. This produces 20% of the day(performance problem) and 80%, as the Oracle applications is running fine (no complaints of users).

    What part of the application? What activities do you have when there are performance issues?

    The appearance of performance problem is not fixed in time, sometimes in the morning and in the afternoon sometimes. Sometimes, even when there are a few users logged in and sometimes it is no problem of performance, even if many users are connected. If you run a statspack you see programs to eat a lot of resources, but they are oracle programs if you can not touch or tune right? So to keep users calm, they agreed to get rebooted server. Temporarily, this solves the performance problem. So we just keep it this way.

    Please see old similar threads.

    Performance optimization
    http://forums.Oracle.com/forums/search.jspa?threadID=&q=performance+tuning&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001

    My suspect is that there are many programs of concurrent background (on request) who is running who is right for which users get slow even if only a few is connected to it. I want to know what are simultaneous programs running at the time where the performance issue of gets users.
    Is there a program of sqlplus to the list of current jobs running?

    Please see these documents.

    How to find database Session & process associated with a competitor, which is currently running program. [735119.1 ID]
    How to extract information from SID to apply for operation [ID 280391.1]
    How to find abandoned UNIX PID for a competing program [154368.1 ID]

    Thank you
    Hussein

  • Java component using validateStandard and SystemDatabase fails to incr cntr

    I've based my filter on the dynamic prefix, code and I found in this forum. I have a veou in my system database I want to validate a field against recording, instead of load 50 K values in a combobox control. The problem is that when the routine is running and the emp_num is valid (routine is successful), the table of counters is not incremented and fails the check next? Any help appreciated. The code for the java component is below:
    package mypackage.ucm;
    
    import intradoc.common.ExecutionContext;
    import intradoc.common.ServiceException;
    import intradoc.common.SystemUtils;
    
    import intradoc.data.DataBinder;
    import intradoc.data.DataException;
    import intradoc.data.DataResultSet;
    import intradoc.data.ResultSet;
    import intradoc.data.Workspace;
    
    import intradoc.provider.Provider;
    import intradoc.provider.Providers;
    
    import intradoc.shared.FilterImplementor;
    
    import intradoc.util.IdcMessage;
    
    /* Setup in hda fild to use validateStandard
     * validateStandard
     * validateCheckinDate
     * From Bex's book setReturnValue("true");  - Didn't help
     * 
     * 
     */
    public class EmployeeCheckinFilter implements FilterImplementor {
      public int doFilter(Workspace ws, DataBinder binder, ExecutionContext cxt) 
          throws DataException, ServiceException {
        String value = "-1";
        String xEMP_NUM ="";
        String SQL = "";
        String ResultSetName = "XEMPNUMCOUNT";
        int ivalue=0;
        DataResultSet result = null;
        DataException error = null;
        ResultSet temp = null;
     
        SystemUtils.trace("system", "Starting doFilter for EmployeeCheckinValidation");
    
        // Display the binder
        // System.out.println(binder);
    
        xEMP_NUM = binder.getLocal("xEMP_NUM");
        SystemUtils.trace("system", "xEMP_NUM=" + xEMP_NUM);
    
        // Only run valiation is 
        if (xEMP_NUM != null && xEMP_NUM.length() > 0) {
          SQL = "select count(*) counter from dcsdemployees where emp_num = " 
            + xEMP_NUM.trim();
          SystemUtils.trace("system", "SQL=" + SQL);
    
          if (ws == null) {
            SystemUtils.trace("system", "ws is null, getting ws from call to getSystemWorkspace()");
            ws = getSystemWorkspace();
          }
    
          SystemUtils.trace("system", "try-catch block to get ResultSet from SQL");
          try {
            temp = ws.createResultSetSQL(SQL);
            result = new DataResultSet();
            result.copy(temp);
            // Makes results avilable for other Java methods or IdocScript templates.
            // binder.addResultSet(ResultSetName,result);  // Don't want this available
          } catch (DataException de) {
            error = de;
          } finally {
            ws.releaseConnection();
          }
    
          try {
            result.first();
            value = result.getStringValue(0);
            SystemUtils.trace("system", "value(getStringValue(0)) = " + value);
            ivalue = Integer.parseInt(value);
            SystemUtils.trace("system", "ivalue=" + ivalue);
          } catch (NumberFormatException nfe) {
            SystemUtils.trace("system", "nfe.getMessage()=" + nfe.getMessage());
          }
    
          // Can't find a match, throw an exception
          if (ivalue == 0) {
            SystemUtils.trace("system", "Throw error since xEMP_NUM is not in the dcsdemployees table");
            throw new ServiceException("xEMP_NUM was not found in the database!");
          }
    
          if (error != null) {
            SystemUtils.trace("system", "Throw error since error condition exists.");
            throw error;
          }
        }
        SystemUtils.trace("system", "Ending doFilter for EmployeeCheckinValidation");
        cxt.setReturnValue("true");
        return CONTINUE;
      }
    
      public Workspace getSystemWorkspace() {
        Workspace workspace = null;
        Provider wsProvider = Providers.getProvider("SystemDatabase");
        if (wsProvider != null) {
          workspace = (Workspace)wsProvider.getProvider();
        }
        return workspace;
      }
    }

    Hey klee,.

    I think the cause of the problem is:

    {Finally
    ws.releaseConnection ();
    }

    You don't need to free the connection in a Standard to validate filter because the consignment service will release the connection when it is finished. Because the connection is being manually released the code that runs after the validateStandard doesn't have a connection to the DB and don't can't increment the counter. In fact, I'm surprised that you do not get an exception.

    Hope that helps,

    Andy Weaver - Senior Consultant software
    Fishbowl Solutions< http://www.fishbowlsolutions.com?wt.mc_id="L_Oracle_Consulting_amw">

  • Performance problem in production; Please help me out

    Hi all,

    I'd really appreciate if someone can help me with this.

    Every night, the server's SWAP, Sysadmin add more space disk swap every night and for the last 4 days.
    I run ADDM report from 22:00 to 04:00 (when the server is running out of memory)
    I had the problem of performance of this query:
    RECOMMENDATION 4: SQL Tuning, 4.9% benefit (1329 seconds)
          ACTION: Investigate the SQL statement with SQL_ID "b7f61g3831mkx" for 
             possible performance improvements.
             RELEVANT OBJECT: SQL statement with SQL_ID b7f61g3831mkx and 
             PLAN_HASH 881601692
    I can't find what the problem is and why it is a source of performance problem, could you help me please
    *WORKLOAD REPOSITORY SQL Report*
    
    Snapshot Period Summary
    
    DB Name         DB Id      Instance     Inst Num Release     RAC Host        
    ------------ ----------- ------------ -------- ----------- --- ------------
    ****       1490223503 ****             1 10.2.0.1.0  NO  ****
    
                  Snap Id      Snap Time      Sessions Curs/Sess
                --------- ------------------- -------- ---------
    Begin Snap:      9972 21-Apr-10 23:00:39       106       3.6
      End Snap:      9978 22-Apr-10 05:01:04       102       3.4
       Elapsed:              360.41 (mins)
       DB Time:              451.44 (mins)
    
    SQL Summary                         DB/Inst: ****/****  Snaps: 9972-9978
    
                    Elapsed 
       SQL Id      Time (ms)
    ------------- ----------
    b7f61g3831mkx  1,329,143
    Module: DBMS_SCHEDULER
     GATHER_STATS_JOB
    select /*+ no_parallel(t) no_parallel_index(t) dbms_stats cursor_sharing_exact u
    se_weak_name_resl dynamic_sampling(0) no_monitoring */ count(*),count("P_PRODUCT
    _ID"),count(distinct "P_PRODUCT_ID"),count("NAME"),count(distinct "NAME"),count(
    "DESCRIPTION"),count(distinct "DESCRIPTION"),count("UPC"),count(distinct "UPC"),
    
              -------------------------------------------------------------       
    
    SQL ID: b7f61g3831mkx               DB/Inst: ***/***  Snaps: 9972-9978
    -> 1st Capture and Last Capture Snap IDs
       refer to Snapshot IDs witin the snapshot range
    -> select /*+ no_parallel(t) no_parallel_index(t) dbms_stats cursor_shari...
    
        Plan Hash           Total Elapsed                 1st Capture   Last Capture
    #   Value                    Time(ms)    Executions       Snap ID        Snap ID
    --- ---------------- ---------------- ------------- ------------- --------------
    1   881601692               1,329,143             1          9973           9974
              -------------------------------------------------------------       
    
    
    Plan 1(PHV: 881601692)
    ---------------------- 
    
    Plan Statistics                     DB/Inst: ***/***  Snaps: 9972-9978
    -> % Total DB Time is the Elapsed Time of the SQL statement divided 
       into the Total Database Time multiplied by 100
    
    Stat Name                                Statement   Per Execution % Snap 
    ---------------------------------------- ---------- -------------- -------
    Elapsed Time (ms)                         1,329,143    1,329,142.7     4.9
    CPU Time (ms)                                26,521       26,521.3     0.7
    Executions                                        1            N/A     N/A
    Buffer Gets                                 551,644      551,644.0     1.3
    Disk Reads                                  235,239      235,239.0     1.5
    Parse Calls                                       1            1.0     0.0
    Rows                                              1            1.0     N/A
    User I/O Wait Time (ms)                     233,212            N/A     N/A
    Cluster Wait Time (ms)                            0            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                        0            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     2            N/A     N/A
    Sharable Mem(KB)                                 71            N/A     N/A
              -------------------------------------------------------------       
    
    Execution Plan
    ---------------------------------------------------------------------------------------------------
    | Id  | Operation               | Name    | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    ---------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT        |         |       |       | 24350 (100)|          |       |       |
    |   1 |  SORT GROUP BY          |         |     1 |   731 |            |          |       |       |
    |   2 |   PARTITION RANGE SINGLE|         |  8892 |  6347K| 24350   (1)| 00:04:53 |   KEY |   KEY |
    |   3 |    PARTITION LIST ALL   |         |  8892 |  6347K| 24350   (1)| 00:04:53 |     1 |     5 |
    |   4 |     TABLE ACCESS SAMPLE | PRODUCT |  8892 |  6347K| 24350   (1)| 00:04:53 |   KEY |   KEY |
    ---------------------------------------------------------------------------------------------------
     
    
    
    Full SQL Text
    
    SQL ID       SQL Text                                                         
    ------------ -----------------------------------------------------------------
    b7f61g3831mk select /*+ no_parallel(t) no_parallel_index(t) dbms_stats cursor_
                 _sharing_exact use_weak_name_resl dynamic_sampling(0) no_monitori
                 ng */ count(*), count("P_PRODUCT_ID"), count(distinct "P_PRODUCT_
                 ID"), count("NAME"), count(distinct "NAME"), count("DESCRIPTION")
                 , count(distinct "DESCRIPTION"), count("UPC"), count(distinct "UP
                 C"), count("ADV_PRODUCT_URL"), count(distinct "ADV_PRODUCT_URL"),
                  count("IMAGE_URL"), count(distinct "IMAGE_URL"), count("SHIPPING
                 _COST"), count(distinct "SHIPPING_COST"), sum(sys_op_opnsize("SHI
                 PPING_COST")), substrb(dump(min("SHIPPING_COST"), 16, 0, 32), 1, 
                 120), substrb(dump(max("SHIPPING_COST"), 16, 0, 32), 1, 120), cou
                 nt("SHIPPING_INFO"), count(distinct "SHIPPING_INFO"), sum(sys_op_
                 opnsize("SHIPPING_INFO")), substrb(dump(min(substrb("SHIPPING_INF
                 O", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SHIPP
                 ING_INFO", 1, 32)), 16, 0, 32), 1, 120), count("P_STATUS"), count
                 (distinct "P_STATUS"), sum(sys_op_opnsize("P_STATUS")), substrb(d
                 ump(min(substrb("P_STATUS", 1, 32)), 16, 0, 32), 1, 120), substrb
                 (dump(max(substrb("P_STATUS", 1, 32)), 16, 0, 32), 1, 120), count
                 ("EXTRA_INFO1"), count(distinct "EXTRA_INFO1"), sum(sys_op_opnsiz
                 e("EXTRA_INFO1")), substrb(dump(min(substrb("EXTRA_INFO1", 1, 32)
                 ), 16, 0, 32), 1, 120), substrb(dump(max(substrb("EXTRA_INFO1", 1
                 , 32)), 16, 0, 32), 1, 120), count("EXTRA_INFO2"), count(distinct
                  "EXTRA_INFO2"), sum(sys_op_opnsize("EXTRA_INFO2")), substrb(dump
                 (min(substrb("EXTRA_INFO2", 1, 32)), 16, 0, 32), 1, 120), substrb
                 (dump(max(substrb("EXTRA_INFO2", 1, 32)), 16, 0, 32), 1, 120), co
                 unt("ANALISIS_DATE"), count(distinct "ANALISIS_DATE"), substrb(du
                 mp(min("ANALISIS_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("A
                 NALISIS_DATE"), 16, 0, 32), 1, 120), count("OLD_STATUS"), count(d
                 istinct "OLD_STATUS"), sum(sys_op_opnsize("OLD_STATUS")), substrb
                 (dump(min("OLD_STATUS"), 16, 0, 32), 1, 120), substrb(dump(max("O
                 LD_STATUS"), 16, 0, 32), 1, 120) from "PARTNER_PRODUCTS"."PRODUCT
                 " sample ( 12.5975349658) t where TBL$OR$IDX$PART$NUM("PARTNER_PR
                 ODUCTS"."PRODUCT", 0, 4, 0, "ROWID") = :objn
                 

    Dear friend,

    Why do you think you have problems with shared pool? In the ASH report you are provided, there was just 2.5 medium active sessions and 170 requests during this period, he is very low with swimming pool shared, problems
    you have some queries that use literals, it will be better to replace literals with bind variable if possible, or you can set the init cursor_sharing parameter to force or similar, this is the dynamic parameter.
    But it is not so dramatic problem in your case!

    From ASHES of your report, we can see that top wait events is "CPU + wait for CPU", "RMAN backup & recovery i/o" and "log file sync" and 65% of your database of waiting time. And even in the background waiting events.
    If I understand well report, you have two members in your redo log groups, you have problems with log IO writer speed, check the distribution of files on the disc, newspaper editor is slow causing it to wait for the other sessions. High
    processor can be related to rman compression. Best service can we sea GATHER_STATS_JOB consumes 16% of activity 33% consumes rman and only 21% your applications and also there is something running
    SQL * more under the sys (?) account. There is from the top of the sql page, this is the sql in your application, if I understand correctly, 'scattered db reading file' event indicates that full scans have a place, is it normal that your application? If Yes, then try using
    running in parallel, as we can see in the section "Sessions running PQs Top" your report there is no running in parallel, but as I understand it there are 8 processors, try to use parallel executions or avoid full scans. But consider that
    When you do full scans in parallel PGA memory not used CMS, then decrees setting pga_aggregate_target SGA and increase respectively.

    Is there another application or a program running on the server except oracle?
    Is the performance degradation was strong, I mean yesterday, everything was ok, but today all the evil, or it was good?

    Check the reasons for the slow newspaper writer, it can greatly affect performance.
    Also of 90% of the performance problems generally because of the poor sql, poor execution plans.
    Also if you use automatic memory management, tap Settings, but you must know that in this case the settings will identify the minimum values, this is why define them to lower values in oracle can manage
    entirely.
    Don't increase your SGA at this stage, get the awr report, use @$ORACLE_HOME/rdbms/admin/awrrpt.sql, check your cover shot.

    BUT first, you must change your backup strategy, look at my first post, after that check performance again, before you do that it will be very difficult to help you.

    Good luck

  • SEM_MATCH queries performance problems

    Hello

    We run into performance problems when you use queries SEM_MATCH.

    We have a model for data (ABox) containing a triple 12 000 000.
    We have a model for the plan (TBox) containing 800 triple.
    We ran an implication of "OWLprime" and built the model and entailment index with the SEM_APIS commands.

    The number of triplets after the execution of entailment was 35.000.000 triples.

    We use the following hardware configuration:
    OS: Windows Server 2008
    CPU: Intel CPU Xeon X 5460 @3.15 GHz (2 CPUs).
    64-bit operating system.
    Memory: 32 GB

    The results below, it seems that whenever we execute a query against the index of inference, execution time increases significantly.

    Here are the results:


    1. single template query using index of inference:
    SELECT

    x
    TABLE)
    SEM_MATCH (' (? x < http://www.we.com/weo.owl#has_symptom > < http://www.we.com/weo.owl #allergyA >)',)
    SEM_Models ('TOM_ONTOLOGY', 'TOM_ONTOLOGY_TA'),

    SDO_RDF_RULEBASES ('OWLPrime'), NULL, NULL, NULL)
    +);+
    Execution time: 0.02 seconds

    2.
    a.Double query model using index of inference:
    SELECT

    x, y
    TABLE)
    SEM_MATCH (' (? x < http://www.we.com/weo.owl#has_symptom > < http://www.we.com/weo.owl #allergyA >))

    +(?x RDF:type <http://www.We.com/WEO.Owl#patient>) +.

    + (? x < http://www.we.com/weo.owl#id >? y)', +.
    SEM_Models ('TOM_ONTOLOGY', 'TOM_ONTOLOGY_TA'),

    SDO_RDF_RULEBASES ('OWLPrime'), NULL, NULL, NULL)
    +);+
    Run time: 127 seconds

    b. double model query without indication of inference:
    SELECT

    x, y
    TABLE)
    SEM_MATCH (' (? x < http://www.we.com/weo.owl#has_symptom > < http://www.we.com/weo.owl #allergyA >))

    +(?x RDF:type <http://www.We.com/WEO.Owl#patient>) +.

    + (? x < http://www.we.com/weo.owl#id >? y)', +.
    SEM_Models ('TOM_ONTOLOGY', 'TOM_ONTOLOGY_TA'),

    NULL, NULL, NULL, NULL)
    +);+
    Execution time: 2.5 seconds


    3.
    a. triple query model using index of inference:
    SELECT
    x, y, z
    TABLE)
    SEM_MATCH (' (? x < http://www.we.com/weo.owl#has_symptom > < http://www.we.com/weo.owl #allergyA >))
    (? x rdf:type < http://www.we.com/weo.owl#patient >)
    (? x < http://www.we.com/weo.owl#id >? y)
    (? x < http://www.we.com/weo.owl#gender >? z)',
    SEM_Models ('TOM_ONTOLOGY', 'TOM_ONTOLOGY_TA'),
    SDO_RDF_RULEBASES ('OWLPrime'), NULL, NULL, NULL)
    );

    Running time: 146 seconds
    b. triple query model without using the index of inference:
    SELECT
    x, y, z
    TABLE)
    SEM_MATCH (' (? x < http://www.we.com/weo.owl#has_symptom > < http://www.we.com/weo.owl #allergyA >))
    (? x rdf:type < http://www.we.com/weo.owl#patient >)
    (? x < http://www.we.com/weo.owl#id >? y)
    (? x < http://www.we.com/weo.owl#gender >? z)',
    SEM_Models ('TOM_ONTOLOGY', 'TOM_ONTOLOGY_TA'),
    NULL, NULL, NULL, NULL)
    );

    Execution time: 9 seconds

    Thank you

    Doron

    If you use 11.1.0.7.0 and you have installed the 7600122 hotfix, please use:
    -Brace for the SEM_MATCH query syntax
    -Virtual model (using SEM_Models ('TOM_ONTOLOGY', 'TOM_ONTOLOGY_TA'),
    SDO_RDF_RULEBASES ('OWLPrime'))
    -ALLOW_DUP = T (as part of the parameter options of SEM_MATCH)

    For more details, please see
    http://download.Oracle.com/docs/CD/B28359_01/AppDev.111/b28397/sdo_rdf_newfeat.htm

  • I just bought a new computer with IE8. I'll be able to download java without any problem?

    Original title: IE8 and java.

    I just bought a new computer with IE8.  I'll be able to download java without any problem?

    Yes.  http://www.Java.com/en/

  • a defective battery in a tablet will cause performance problems of speed

    a defective battery in a tablet will cause a matter of output speed

    Hello

    Sometimes it can cause a performance problem, visit the following link to monitor how to take care of the battery:

    Taking care of your laptop battery

    http://Windows.Microsoft.com/en-us/Windows7/taking-care-of-your-laptop-battery

    In order to increase the performance of Windows XP please visit the link below:

    Windows XP performance

    http://TechNet.Microsoft.com/en-us/library/bb457057.aspx

    Reference: PC slow? Optimize your computer for peak performance

    http://www.Microsoft.com/athome/Setup/optimize.aspx

    Note: as long, the Tablet is connected to a power source it shouldn't affect the performance in itself. However, bad battery itself a performance problem.

  • WRT54GS - wireless performance problem

    Dear someone

    I am currently having performance problems with my WRT54GSv1.1

    Just received my new internet connection to 30Mbit. Unfortunately, I am not able to download at that speed. If I connect via one of the linksys router's ethernet ports, I'm a happy person, but using the wireless makes me a little less happy.

    Wireless: 15Mbit/s

    Through the cable: 27Mbit/s

    Network information:

    The distance between the router and the computer laptop 3-4 meters

    Linksys WRT54GSv1.1 - Firmware Version: v4.71.4

    Network wireless - g only mode

    TV - 6 (because all the surrounding neighbor use 10-11, I noticed using Cain Abel & wireless discovered 4.9.29)

    Security: WPA2-Personal (TKIP + AES)

    All other settings are default (just reset to the factory settings).

    Laptop:

    Windows Vista Business SP1 32-bit

    Intel PRO/Wireless 3945ABG (installed the latest drivers from the website of intel, default settings)

    When you check the diagnostic of Intel tools, it tells me the link is 54 megabits and pushes meter packages of 54 megabits, while all lower speeds remain the same.

    More diagnostic information:

    Percent missed beacons: 0

    Percent transmit errors: 18

    Current Tx power: ~ 32 mW (100%)

    Supported power levels: 1.0 mW - 32.0 mW.

    Hope someone can help me here.

    Thanks in advance!

    Kind regards

    Ski Klesman

    Although wireless g "connects" to 54 Mbit/s, the maximum possible wireless "data rate" (in ideal laboratory conditions) is only about 20 to 25 Mbit/s.  Unfortunately, the phrase "in ideal laboratory conditions" generally excludes home intrusion!

    The aerial transmission for wireless connections is higher than for wired connections.   Thus, most individuals find that their Wi - Fi connection works at 50% to 70% of their speed of wired (LAN).  Your wired LAN being 27 Mbps connection speed, your 15 Mbps wireless speed is within normal limits.

    You might be able to tweak a bit more speed from your wireless network by optimizing all your wireless settings.  Here are a few suggestions:

    I guess you want actually to WPA2 encryption.  If so, set to AES only.   When you set the router to TKIP and AES, you actually tell the router to accept a WPA or WPA2 connection.

    Also, give your network a unique SSID. Do not use "linksys". If you use "linksys", you can try to connect the router to your neighbor. Also set 'SSID Broadcast' to 'active '. This will help your computer to find and lock on the signal from your router.

    Bad wireless connections are often caused by interference from other 2.4 GHz devices. This includes cordless phones, baby monitor wireless, microwave ovens, wireless mice and keyboards, wireless speakers and wireless network from your neighbor. In rare cases, Bluetooth devices can interfere. Even some 5 + GHz phones also use the 2.4 Ghz band. disconnect these devices and see if that solves your problem.

    In your router, try another channel. There are 11 channels in the band of 2.4 GHz channel 1, 6 or 11 generally works better. Discover your neighbors and see what channel they use. Because the channels overlap, try to stay at least + 5 or - 5 channels of your more powerful neighbors. For example, if you have a powerful neighbour on channel 9, try any channel 1 to 4.

    Also, try putting the router about 4 to 6 feet above the ground in an open area. Do not place behind your screen or other computer equipment or speakers. The antenna must be vertical.

    In addition, in the computer, go to your wireless software and go to 'Favorite networks' (sometimes called 'Profiles'). There are probably a few listed networks. Remove any network called "linksys". Also remove any network that you don't recognize or that you no longer use. If your current network is not listed, enter its information (SSID, encryption (if any) and key (if any)). Select your current network and make your network by default, then set it to auto login. You may need to go to 'settings' to do this, or you may need to right click on your network and select 'Properties' or 'settings '.

    If you continue to have problems, try the following:

    For wireless g routers, try setting the "baud rate" at 54 Mbps.

    If you still have problems, download and install the latest firmware for your router. After an update of the firmware, you must reset the default router, and then configure the router again from scratch. If you have saved a router configuration file, DO NOT use it.

    I hope this helps.

  • 4.2 APEX performance problem

    Hi all

    We are facing the problem of performance when we are by selecting one of the underside of responsibility that rests in the Organization as if we select APEX_01 Reporting ALL then in this case, we can see all the organization such as ETL, BRN, CHICKEN ect in home page, but I am facing performance problem when it forms that select area of responsibility to the home page. Please indicate how to check this page's performance in the APEX and also advise how to solve this problem.

    apex_performance_issue_4.2.jpg

    LnTInfotech wrote:

    so you want to say below takes more time and we need to address this request?

    15.34901 224.01663 ... Run the statement: SELECT DISTINCT papf.full_name a, papf.full_name b
    OF po_agents pa
    per_all_people_f women's wear
    org_organization_definitions org
    WHERE 1 = 1
    AND papf.person_id = pa.agent_id
    AND org.organization_CODE = NVL(:P1_WARE_HOUSE,org.organization_CODE)
    AND TRUNC (SYSDATE) BETWEEN papf.effective_start_date AND papf.effective_end_date
    AND EXISTS SELECT (SEPARATE 1
    OF po_headers_all poh
    WHERE poh.agent_id = pa.agent_id
    AND poh.org_id = org.operating_unit)

    This request seems to be missing a join. An obligation to use DISTINCT in application code usually indicates that there is something seriously wrong with the data model or query...

Maybe you are looking for

  • Vision of the E1 AMD(1000-1b04AU): Wifi does not

    Hello! I am not able to find the drivers for the following: -. (1) network controller Hardware ID - PCI\VEN_1814 & DEV_539B & SUBSYS_18ED103C & REV_00 2) PCI BUS Hardware ID - PCI\VEN_10EC & DEV_5229 & SUBSYS_188B103C & REV_01 SM Bus controller 3) Ha

  • Blurry text in small characters in Icon editor 2009

    I am trying to create an icon with a small text, but every time I try a text size 10 or smaller, the text becomes blurred (see below). I know that I could get a text more without that happening before, but for some reason it just now and I do not kno

  • Request of password Hotmail/Windows Live Mail

    I have a desktop icon for "windows live mail" which takes me directly to my hotmail account.  Recently, instead of going directly to this account, my password, wonder if I can 'Cancel' and he opens the account.  How can I get a setting where clicking

  • Restore XP on the computer I put Vista on

    I put Vista on a computer that had XP on it.  I want to remove Vista and it restore to XP.  Help, please

  • Dell Vostro 3550 USB PORT don't DO NOT WORK

    Hi all I recently bought the Dell Vostro 3550 (2 days back) and I just realized that only one of the 3 usb ports work. 1 USB PORT at the BACK (USB 3) does not 1 LAW of USB PORT (USB 3) does not 1 works of LEFT USB (USB 2) LEFT 1 USB PORT (USB 2.0 / S