Slow View

Running Oracle 10.2.0.4.0
I have a view rz_cocc_appl_requirements used in the Banner product from Sungard Higher Education. The view runs very slow under the conditions described below. Why does the view run slow except when selecting all columns or the phone_number1 column?
When selecting all columns the results are displayed immediately.
select * from rz_cocc_appl_requirementsWhen selecting only one of the columns the query runs for several minutes.
select pidm_key from rz_cocc_appl_requirementsWhen the phone_number1 column is selcted the results are displayed immediately. This is the only column where the results are displayed immediately.
select phone_number1 from rz_cocc_appl_requirementsrz_cocc_appl_requirements view.
CREATE OR REPLACE FORCE VIEW "BANINST1"."RZ_COCC_APPL_REQUIREMENTS" ("PIDM_KEY", "ID_KEY", "SSN_KEY", "LAST_NAME", "FIRST_NAME", "MIDDLE_INITIAL", "STREET1_LINE1", "STREET1_LINE2", "CITY1", "STAT_CODE1", "CNTY_CODE1", "ZIP1", "PHONE_AREA_1", "PHONE_NUMBER1", "AIDY_CODE", "TGRP_CODE", "TREQ_CODE", "TREQ_DESC", "SAT_IND", "STAT_DATE", "EST_DATE", "TRST_CODE", "PCKG_IND", "DISB_IND", "FUND_CODE", "SYS_IND", "SBGI_CODE", "MEMO_IND", "USER_ID")
AS
  SELECT
    /* + rule */
    RRRAREQ_PIDM,
    SPRIDEN_ID,
    SPBPERS_SSN,
    SPRIDEN_LAST_NAME,
    SPRIDEN_FIRST_NAME,
    SUBSTR (SPRIDEN_MI, 1, 1),
    x.SPRADDR_STREET_LINE1,
    x.SPRADDR_STREET_LINE2,
    x.SPRADDR_CITY,
    x.SPRADDR_STAT_CODE,
    x.SPRADDR_CNTY_CODE,
    x.SPRADDR_ZIP,
    DECODE(v.SPRTELE_UNLIST_IND,'Y','***',v.SPRTELE_PHONE_AREA),
    DECODE(v.SPRTELE_UNLIST_IND,'Y','*******',v.SPRTELE_PHONE_NUMBER),
    RORSTAT_AIDY_CODE,
    RORSTAT_TGRP_CODE,
    RRRAREQ_TREQ_CODE,
    RRRAREQ_TREQ_DESC,
    RRRAREQ_SAT_IND,
    RRRAREQ_STAT_DATE,
    RRRAREQ_EST_DATE,
    RRRAREQ_TRST_CODE,
    RRRAREQ_PCKG_IND,
    RRRAREQ_DISB_IND,
    RRRAREQ_FUND_CODE,
    RRRAREQ_SYS_IND,
    RRRAREQ_SBGI_CODE,
    RRRAREQ_MEMO_IND,
    RRRAREQ_USER_ID
  FROM SPRIDEN,
    SPRADDR x,
    SPRTELE v,
    SPBPERS,
    RRRAREQ,
    RORSTAT
  WHERE RRRAREQ_AIDY_CODE = RORSTAT_AIDY_CODE
  AND RRRAREQ_PIDM        = SPRIDEN_PIDM
  AND RRRAREQ_PIDM        = RORSTAT_PIDM
  AND SPBPERS_PIDM (+)    = RORSTAT_PIDM
  AND SPRIDEN_CHANGE_IND IS NULL
  AND x.rowid(+)          = f_address_using_hierarchy (RRRAREQ_PIDM)
  AND v.rowid(+)          = f_get_address_telephone_rowid (RRRAREQ_PIDM,'FAPLADDR','A',sysdate,1,'R',NULL);Edited by: user8761227 on Nov 30, 2009 1:46 PM
Edited by: user8761227 on Nov 30, 2009 1:47 PM

Check out these links:
{message:id=1812597}
{thread:id=863295}
I noticed in your view you are using the RULE hint. Why? My high level recommendation would be to remove the RULE hint, gather statistics on the objects if you haven't already and see how it performs. You may be pleasantly surprised.

Similar Messages

  • Performance problem with slow VIEW from JDBC (fast from SQL Developer)

    Hi all,
    I'm experiencing following problem and would like to know if someone else also hit this one before and has a suggestion how to solve it:
    I have a pretty complicated SELECT statement that per definition returns only a few rows (~30). With no further optimization it takes ~20 seconds to return the full dataset in Oracle SQL Developer. If you add the */+ PUSH_PRED(name_of_some_inner_view) /* hint (hint is correct, stars got eaten by the OTN-forum syntax), the statement takes less than 0.5s to execute (still in SQL Developer). I saved the statement with the hint as VIEW. Selecting from the VIEW in SQL Developer is also fast.
    Now if I call the statement from JDBC (Tomcat webapp), I can see from the server console that the statement is 1:1 100% the same as the one I execute in SQL Developer. Nevertheless it takes about 20 seconds to complete.
    Here my details:
    SELECT banner FROM v$version;
    BANNER                                                                        
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production             
    PL/SQL Release 11.2.0.2.0 - Production                                          
    CORE     11.2.0.2.0     Production                                                        
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production                         
    NLSRTL Version 11.2.0.2.0 - Production                                          
    JDBC Driver used: some old odbc14.jar as well as current odbc6.jar for 11.2.0.2.0 from http://www.oracle.com/technetwork/da...10-090769.html
    SQL Developer: current version 3.2.20.09From my reading this could go wrong:
    - JDBC doesn't know the VIEW's column data types and Oracle behaves mysterious because of this (=there must be more to the SELECT than just the string, some meta-information)
    - For some reason the hint inside the VIEW is not used (unlikely)
    I also tried a Table Function/Pipelined table and selected from it as a workaround, but the result is the same: Selecting from Function is fast from SQL Developer, but slow from JDBC. All other statements that come from JDBC are as fast as they should be. I really don't know what to think of this and where the error might be.
    Is there some setting that tells Oracle not to use hints when called from JDBC?
    Thank you & Best regards,
    Blama

    Hi Bawer,
    that's what I'm thinking. Unfortunately I can't post it, as it is library code (not my lib). But in the debug-output I can see the SQL-String sent to the DB (which does include the hint).
    But I find the 2nd option you mention more likely anyway: Even if I put the hint into a VIEW and select from the view, the time-difference is there (it's even there if I use Table Functions/Pipelined table and select from the function).
    So I'd think it is more likely that something else is happening (e.g. Oracle is configured in a way that it does not use hints when called from JDBC or similar. Or the library sets some session options in order to prevent the usage of hints). But I don't know if there is even the possibility of doing so.
    Does the Oracle JDBC driver have the option to set these options?
    Does the Oracle DB have the option to set sth. like "ALTER SESSION SET dontUseHints = 'Y';"

  • SLOW VIEW AND DUPLACITE IN SOM RECORDS

    Good evening
    Iam created this view but make Doublicate or more for many records what is the problem:
    CREATE OR REPLACE FORCE VIEW XXX_SINGLE_DATA
    NAMEARFIRST,
    NAMEARSECOND,
    NAMEARTHIRD,
    NAMEARFAMILY,
    NAMEENFIRST,
    NAMEENSECOND,
    NAMEENTHIRD,
    NAMEENFAMILY,
    CV_NATIONAL_ID,
    SEX,
    EMAILS,
    EMAIL2,
    EMPLOOYID,
    JOBTITLEAR,
    IBANACCOUNT,
    PHONES,
    EXT,
    MOBILE,
    DEPARTMENT
    AS
    SELECT first_name namearfirst,
    per_information1 namearsecond,
    per_information2 namearthird,
    last_name namearfamily,
    PER_INFORMATION3 nameenfirst,
    PER_INFORMATION4 nameensecond,
    PER_INFORMATION5 nameenthird,
    PER_INFORMATION6 nameenfamily,
    national_identifier cv_national_id,
    DECODE (a.sex, 'M', 1, 'F', 2, NULL) sex,
    email_address emails,
    a.attribute5 email2,
    a.employee_number emplooyid,
    ed.PERSON_TYPE jobtitlear,
    ed.BANK_ACCOUNT ibanaccount,
    xxx_get_static_phone (a.employee_number),
    XXX_GET_PHONE_EXT (a.employee_number),
    xxx_get_mobile (a.employee_number),
    hd.name
    FROM per_people_x a,
    per_assignments_x b,
    per_qualifications c,
    per_time_periods d,
    per_person_type_usages ppt,
    per_grades e,
    xxx_earns_deducts ed,
    hr_organization_units hd,
    pay_people_groups ppg
    WHERE a.person_id = b.person_id
    AND a.person_id = c.person_id(+)
    AND TO_DATE (TO_CHAR (SYSDATE, 'dd/mm/yyyy'), 'dd/mm/yyyy') BETWEEN d.start_date
    AND d.end_date
    AND b.payroll_id = d.payroll_id
    AND a.person_id = ppt.person_id
    AND b.grade_id = e.grade_id
    AND b.PAYROLL_ID = ed.PAYROLL_ID
    AND a.employee_number = ed.employee_number
    AND ed.time_period_id =
    (SELECT MAX (time_period_id)
    FROM xxx_earns_deducts
    WHERE a.employee_number = ed.employee_number)
    AND b.people_group_id = ppg.people_group_id
    AND b.person_id = a.person_id
    AND TO_NUMBER (ppg.segment2) = hd.organization_id(+)
    ORDER BY TO_NUMBER (a.employee_number);
    Iam Very thank you

    Please post the details of the application release, database version and OS.
    Do you have the statistics collected up to date?
    Please generate the explain plan to find out why the query/view is slow.
    Re: query performance
    https://forums.oracle.com/forums/search.jspa?threadID=&q=SLOW+AND+Query&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Also, please fix the duplicate records issue first then check the performance of the view/query.
    Thanks,
    Hussein

  • Slow view after insert

    Hello,
    I have this problem : I insert lot of datas in some tables, I then call a view..and it's very very slow. If I run the Analyze tool...the view becomes fast.
    Any clue, other than running analyze after each insert ? I guess there is something wrong.
    I have Oracle 8i if that helps.
    Thanks
    C.Boursat

    If you change a significant fraction of the data in a table, you want to re-gather statistics. That's the nature of the CBO.
    If there is one plan that you want to force the optimizer to use for this query, you can use plan stability (I think that was available in 8i). It doesn't make sense, though, that the plan for the statement would be the same before and after you re-analyzed the table. Identical explain plans and identical data should yield roughly identical performance. Are you absolutely sure that the explain plan is not changed by gathering statistics?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Image size makes for slow viewing

    Does iweb reduce the photos inserted from iphoto? Even though I have a broadband connection, when visiting my own site, the page with the thumbnails loads very slowly.
    Do I need to resize them first in a separate album in iphoto?
    I wish there was an option to set the image size, like you do when exporting from iphoto to email, or web, etc.
    thanks.

    This issue has been widely discussed in this forum. iWeb uses the PNG format for all but a few images. PNG is an uncompressed format, so that an image that would be, say, 30 KB as a JPEG can be 150 KB or more as a PNG. This is a huge problem and has caused my wife and I to totally drop iWeb because most people viewing our family web site have only dialup connections (rural area). I've read that 60% of the US are still on dialup, though others on this forum have disputed that figure, saying it is more like 40%. Even so, do you REALLY want 40% of your site visitors hitting the back button because it takes too long for your page to load. A simple home page that we created took 5 - 8 minutes to load on dialup.
    Please, please leave Feedback here. Apple promises to read all user feedback and take it into consideration for future updates to the program.

  • Is select from view faster then select from table..???

    Hello Gurus,
    I want to query some data from two tables, both of table have many columns (attributes) and many rows...
    I use several where clauses to retrieve data from those tables..
    witch one is faster, I create a view or I just "select" from those tables???
    Regards.
    Nia...

    riedelme wrote:
    3360 wrote:
    riedelme wrote:
    Selecting through a view almost never helps performance and frequently hurts.Views do not affect performance.
    Views are simply queries and like queries there are fast and slow ones.I disagree.
    First of all, to use a view you are executing a query to get a result set, then accessing the data from that result set - a built-in extra step to perform to get data.First of all that entire explanation of how views work is not correct. The optimizer will rewrite the query to make the view go away if possible.
    SQL> create or replace view v as select * from dual;
    View created.
    SQL> explain plan for select * from dual where dummy = 'X';
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 272002086
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |     1 |     2 |     2   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| DUAL |     1 |     2 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("DUMMY"='X')
    13 rows selected.
    SQL> explain plan for select * from v where dummy = 'X';
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 272002086
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |     1 |     2 |     2   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| DUAL |     1 |     2 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("DUMMY"='X')
    13 rows selected.Exactly the same.
    >
    Second, when accessing the data from the view the result sets don't have indexes for fast lookups and efficient joins on later steps.This is also known as just making stuff up and is not how the database works. care to share any references at all for any of this?
    >
    Third, the systems I've seen that use views extensively - I am looking at one now - tend to perform joins on views using the same tables with the same data over and over. This is a design issue and not specifically a problem with views but they lend themselves to this misuse much too easilyCorrect as I said a view is just a query, and just like queries there are good fast views and bad slow views
    >
    I'll concede that the problem is not specifically with views themselves but as I just said they lend themselves to misuse. Tuning views of views and views joined to views is difficultYes, queries can be misused as can almost all SQL functions and functionality.
    As I said - Views are simply queries and like queries there are fast and slow ones.
    Nothing that you have posted that is accurate changes that.

  • Slow DOCUMENT after upgrading & 8209 when saving docs

    I'm having problems after upgrading to OES + GW2012
    I'm getting bad Vibes from NTS... no punn indented !
    Here is my situation:
    Upgraded to added a OES Server to Existing Tree
    Copied data from Netware server after checking
    Upgraded Groupwise - domain and PO only
    setting paths, IP, Access right to external library folders
    everything works BUT... DMS issues
    only some docs open or able to view - (access seems slow - view on Netware is instant - on oes / gw2012 SLOW...)
    hardware is QuadCore Xeon, 8Gb RAM, Adaptac SAS Controller with 15K RPM SAS drives
    Original NW Server is 7200rpm SCSI, 4Gb Ram, DualCore Xeon
    (although for the trial upgrade I mirrored onto IDE and speed is just as good!)
    as I said some docs don't open
    those I can open - I get a 8209 error when saving
    I happen to mention to (NTS the procedure is almost the same as I have done before on small system
    this was simply EXT3 based system & the Lib was under PO...
    NTS suggested the recommended location for DOCS is under the PO - this is contrary to the Novell docs as External is recommended
    NTS Suggested NSS could be issue with regards to speed !!
    Anyone using EXTERNAL Storage locations (on the same Linux OES server ?)
    NSS for storage ?
    6 Trial runs and same behavior (Process is similar to Novell docs / Caledonia book)
    any issues on upgrading !
    I'm pulling my hair out

    I get 8209 when the GW Client doesn't not have the "Save and Check out"
    File Location set to a valid path (Tools / Option / Environment / File
    Locations)
    Hope this helps
    Steve
    bharat1 wrote:
    >
    > I'm having problems after upgrading to OES + GW2012
    >
    > I'm getting bad Vibes from NTS... no punn indented !
    >
    > Here is my situation:
    >
    > Upgraded to added a OES Server to Existing Tree
    > Copied data from Netware server after checking
    > Upgraded Groupwise - domain and PO only
    > setting paths, IP, Access right to external library folders
    >
    > everything works BUT... DMS issues
    >
    > only some docs open or able to view - (access seems slow - view on
    > Netware is instant - on oes / gw2012 SLOW...)
    > hardware is QuadCore Xeon, 8Gb RAM, Adaptac SAS Controller with 15K
    > RPM SAS drives
    > Original NW Server is 7200rpm SCSI, 4Gb Ram, DualCore Xeon
    > (although for the trial upgrade I mirrored onto IDE and speed is just
    > as good!)
    >
    > as I said some docs don't open
    > those I can open - I get a 8209 error when saving
    >
    > I happen to mention to (NTS the procedure is almost the same as I have
    > done before on small system
    > this was simply EXT3 based system & the Lib was under PO...
    >
    > NTS suggested the recommended location for DOCS is under the PO - this
    > is contrary to the Novell docs as External is recommended
    > NTS Suggested NSS could be issue with regards to speed !!
    >
    > Anyone using EXTERNAL Storage locations (on the same Linux OES server
    > ?)
    > NSS for storage ?
    >
    > 6 Trial runs and same behavior (Process is similar to Novell docs /
    > Caledonia book)
    >
    > any issues on upgrading !
    >
    > I'm pulling my hair out

  • Help needed with slow union join

    Hi
    I am having a problem with a slow view that just union joins to similar tables. The view is called C_BILL_DET and joins two tables BILL_SO and BILL_CR. The problem is when querying the view it is extremely slow. For example if I do a simple select count(*) query on each of the tables and join and the results were:
    BILL_SO took 1.234 seconds to return.
    BILL_CR took 0.016 seconds to return.
    C_BILL_DET took 79.282 seconds to return.
    Can anyone offer any advise on how to speed this up?
    The view is created by:
    CREATE OR REPLACE FORCE VIEW C_BILL_DET
    ("BRANCH", "DOC_TYPE", "DOC", "DOC_LINE", "ITEM",
    "REVISION", "SHIP_QTY", "SHIP_VALUE", "COST") AS
    SELECT
    BRANCH, DOC_TYPE, DOC, DOC_LINE,ITEM, REVISION,
    SO_SHIP_QTY, SO_SHIP_VALUE, COST
    FROM
    BILL_SO
    UNION
    SELECT
    BRANCH, DOC_TYPE, DOC, DOC_LINE,ITEM, REVISION,
    CR_SHIP_QTY, CR_SHIP_VALUE, COST
    FROM
    BILL_CR;
    Thanks
    Stephen

    The union has to do extra work removing duplicates etc.
    Do the test again but also include the time it takes to run the sql that makes up the query.
    I would be surprised if it does not take the same time as using the view.

  • Gmail really slow on Mac OS Mail

    Hey all,
    I've recently been experiencing slow performance in both receiving time in emails as well as viewing HTML based emails.  I know that Gmail recently stopped supporting push mail, and that on iDevices we're back to 15 minute delays in fetching emails, but I have my fetch set to every 1 minute in Mail, but I get pretty serious delays in emails coming into my inbox.  Sometimes lasting as long as 3 minutes.
    Also I'm running into slow viewing of HTML based emails.  I will click on an unread message and it will sit and chug and chug with a blank screen for up to 3-5 minutes.
    I've employed the database refresh terminal command hoping it would clean up some messy database goo, but that didn't help any at all.  It seems it's specific to my gmail accounts.  My icloud account seems to be working ok.
    I've also noticed that Safari on my machine sometimes lags in loading pages in the same way Mail does.  When I open Chrome, I don't run into the same issues.  Could this be an issue with Safari on my machine, and doesn't Mail use the Safari engine to render HTML emails?
    Any suggestions on how I can either fix or workaround these issues?

    Have you tried emptying the Safari cache lately? Press Command + Option + E. Quit and relaunch Safari to test.
    If that didn't help, open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test again.
    doesn't Mail use the Safari engine to render HTML emails?
    Yes.

  • JQuery Code Not Working (Positioning Nav at a fixed point)?

    Hello So lets just cut to the cace,
    This code does work outside of Edge but doesn't work in edge. . . .
    $(window).bind('scroll', function () {
            sym.$("arroworb").addClass('fixed');
    The Object i want to keep in its place at all times even if the scroll bar is moved has the div ID of arroworb. . .
    I have no Idea what i am doing wrong but yeah the code does work it just doesn't when put into Edge
    My guess would be the window or blind has something to do with it not working but I have no idea how to fix this,
    Any idea's?
    Thanks In Advance!

    Here is a small example, using animate, as Joe mentions.
    In Stage > compostionReady
    $(window).scroll(function(){
           var element = sym.$("arroworb");
           element.stop()
      .animate({"marginTop": ($(window).scrollTop() + 30) + "px"}, "slow" );
    View here http://www.heathrowe.com/edge/scroll_with_page/
    Download here http://www.heathrowe.com/edge/scroll_with_page/scrollwithpage.zip
    hth
    Darrell

  • Auto retry of select statements on failure

    I have a IBM Message Broker message flow that accesses the database to fetch some data. following are the steps in a message flow. (similar pattern is there in other flows as well)
    1) Parse the input message
    2) Invoke a ESQL compute node that accesses the database. This uses DataDirect ODBC drivers to access the database.
    3) process the data
    4) Invoke an external Java class that also accesses the database. This Java class uses Spring/Hibernate and uses the Oracle UCP library.
    Steps 2 and 4 access an Oracle database on which failover features are NOT enabled. Following is our observation.
    If the database fails when executing step 2, then the message flow pauses until a valid connection is available and then proceeds with the execution, the point to note is that the message flow does not experience a failure. It simply pauses until it gets a connection and continues once it gets a connection.
    If the database fails when executing step 4, the message flow gets an error.
    What we want is for step 2 and 4 to execute the same way, meaning that we want the message flows to wait until a valid connection is available and then continue without any errors.
    I feel that there is some feature in DataDirect driver that cause step 2 to pause the message flow and prevent an error. We want the same behaviour in step 4 as well.
    So, is there some way (via configuration or any other means) to get this behaviour using oracle UCP library.
    One thing to note is that we are not in position to change the Java code since it has been developed by a third party.
    To achieve this I have written a test and the following are details.
    For this I have created a service with the following properties. Point to note is that we run the service on only one instance at a time, if it goes down then it is started on the second instance.
    Service name: LDL_TEST02
    Service is enabled
    Server pool: CSAHEDA_LDL_TEST02
    Cardinality: 1
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: true
    Failover type: SELECT
    Failover method: NONE
    TAF failover retries: 180
    TAF failover delay: 5
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: CSAHEDA1
    Available instances: CSAHEDA2
    Following is in my tnsnames.ora file and I am using the oracle oci driver.
    TESTA =
    (DESCRIPTION =
    (ENABLE = BROKEN)
    (LOAD_BALANCE = off)
    (FAILOVER = on)
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = vip.host1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = vip.host2)(PORT = 1521)))
    (CONNECT_DATA =
    (SERVICE_NAME = LDL_TEST02)
    (FAILOVER_MODE =
    (BACKUP = TESTA2)
    (TYPE = SELECT)
    (METHOD = PRECONNECT)
    (RETRIES = 120)
    (DELAY = 5)
    This is how I run my test.
    1)I have a simple test that simply loops through a list of select statements.
    2)each time it takes a connection from the connection pool, executes the statement and returns the connection to the connection pool.
    3)I keep this running for around 10 minutes.
    4) once the test has started I bring down the service wait for 3 minutes and the start the service on the second instance.
    5) what I expect is for the test to pause for 3 minutes and then get the correct value from executing the select statement. and continue without pause.
    Following is the config for the connection pool.
         <bean id="dd_Datasource" class="oracle.ucp.jdbc.PoolDataSourceFactory" factory-method="getPoolDataSource">
              <property name="connectionFactoryClassName" value="oracle.jdbc.xa.client.OracleXADataSource"/>
              <!-- property name="connectionFactoryClassName" value="oracle.jdbc.pool.OracleDataSource"/ -->
              <!-- <property name="connectionFactoryClassName" value="sun.jdbc.odbc.ee.DataSource"/-->
              <!-- <property name="URL" value="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vip.host1)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=vip.host2)(PORT=1521))(LOAD_BALANCE=yes)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=LDL_TEST02)))" /> -->
              <!-- <property name="URL" value="jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=BROKEN)(ADDRESS=(PROTOCOL=TCP)(HOST=vip.host1)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=vip.host2)(PORT=1521))(LOAD_BALANCE=yes)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=LDL_TEST02)))" />-->
              <!-- property name="URL" value="jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(FAILOVER=on)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=vip.host1) (PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=vip.host2) (PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=LDL_TEST02)(FAILOVER_MODE = (TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))))" /-->
              <!-- <property name="URL" value="jdbc:oracle:oci:@(DESCRIPTION=(ENABLE=BROKEN)(ADDRESS_LIST=(LOAD_BALANCE=on)(FAILOVER=on)(ADDRESS=(PROTOCOL=TCP)(HOST=vip.host1) (PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=vip.host2) (PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=LDL_TEST01)(FAILOVER_MODE = (TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))))" /> -->
              <property name="URL" value="jdbc:oracle:oci:/@TESTA" />
              <!-- JDBC ODBC Bridge Driver -->
              <!-- property name="URL" value="jdbc:odbc:LT_Test_DB"/-->
              <!-- DataDirect URLs -->
              <!-- property name="URL" value="datadirect:oracle://vip.host1:1521;SID=LDL_TEST01"/-->
              <property name="user" value="user" />
              <property name="password" value="user" />     
              <property name="connectionPoolName" value="dd_connectionpool" />
              <property name="minPoolSize" value="2" />
              <property name="maxPoolSize" value="4" />                     
              <property name="initialPoolSize" value="2" />
              <property name="connectionWaitTimeout" value="10000" />
              <!-- Note:
                   The setSQLForValidateConnection property is not recommended when using an Oracle JDBC driver.
                   UCP for JDBC performs an internal ping when using an Oracle JDBC driver.
                   The mechanism is faster than executing an SQL statement and is overridden if this property is set.
                   Instead, set the setValidateConnectionOnBorrow property to true and do not
                   include the setSQLForValidateConnection property. -->
              <property name="validateConnectionOnBorrow" value="true"/>
              <!-- FCF stuff -->
              <!-- property name="connectionCachingEnabled" value="true"/-->
              <!-- property name="fastConnectionFailoverEnabled" value="true"/-->
              <!-- <property name="ONSConfiguration" value="nodes=vip.host1:1521,vip.host2:1521"/>-->
         </bean>     
    As you can see I have tried many combinations.
    Sometimes I see the thread pause for 3 minutes without error and then continue.
    Sometime I start seeing 'oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource' as soon as the servic is down.
    Sometime the first error above is seen after 30 seconds (always the first one).
    Can you guys shed any light on this? And how can I get the desired behaviour?
    Edited by: user12181209 on 30-May-2012 02:22
    reworded.
    Edited by: user12181209 on May 30, 2012 6:28 AM
    reworded the title for clarity.
    Edited by: user12181209 on Jun 1, 2012 6:01 AM

    Hi,
    Yesterday, a similar question on running slow view was post :
    View is tooo slow....
    You can read different questions to try to help you.
    Nicolas.

  • OIM Performance Issue

    Hi All,
    My env is oimps1 on linux and db on different machine.
    After the first initial load of the user and org data,suddenly the oim has become too slow
    viewing a profile takes 5 minutes and even I haveseen that the cpu goes to 100%.
    This is really a worry for the project.
    Please suggest what can I do to fix this.I have no clue.

    Is there any luck in the performance issue? Did you able to improve the performance in any ways?
    We are exactly facing the same problem as like yours. Only 3 people are using the server and 15k users in OIM. The performance is really bad. Oracle also can't find anything wrong in the WLS setup and they asked us to apply BP04. We applied BP04 but as expected it didnt help in anyways.
    Plz let us know if you could manage to fix this issue or any workaround which you are following.
    Thanks
    log

  • New software is junk.

    DONT BUY A CANON!
    I did because I liked my old Canon and loved the software. The new software is worse than junk. OMG, It's terrible.

    The image downloading and viewing software that comes with the cameras (powershot elph130is) vs the old version of software that came with my powershot 560.
    Downloading the images is 10 times more work.
    Before I plugged in camera and it did it all, saved images into folders by year/ month (which if still does) then removes images from camera with absolutely ZERO interaction. Unplug camera and zoom brower would open with thumbnails of all the images you just loaded again with ZERO interaction.
    With the new software.
    Plug in camera. Software requires me to OK auto download or it does nothing. Not very automatic.
    When it's done it reuires me to OK that it is done. It's not like there is a chioce to not OK it, so what am I OKing?
    Unplug camera. Now I have to OK that it will auto open the image browser. It does nothing till I OK. Again, not what I call automatic.
    Finally we at ready to view the pictures except the new software for that takes 10+ minutes to thumbnail a dozen pictures. The old view did it in seconds.
    But wait, still not done. Since the new software won't auto delete images on camera after download now I need to go do that manually.
    Old software= zero interaction. time required= zero.
    New software= Have to sit here and keep clicking OK to progress, then wait for slow viewer, then manually delete off camera.
    The new tool is junk.
    Before you tell me it's the user, I am a IT administrator with 30 years of experience, started on Unix before Windows existed. Which is why I find it so anoying Canon would supply software that sucks when the old stuff was great. Change is fine if there is a resaon to change, but at least don't change it to make it worse.  And yes, I did try every possible way to get the new camera to work with the old software, it would not.
    The thread right below this someone else started complaining about the spead. If you search there is another about the software not auto deleteing after download.

  • Production release of ODT now available

    I'm happy to announce that the production release of ODT is now available for download here:
    http://www.oracle.com/technology/tech/dotnet/tools/index.html
    There have been alot of enhancements over the beta. A few of the more interesting ones include:
    * support for generating typed datasets
    * ad hoc SQL Query Window with script support
    * enhanced PL/SQL editing
    * integrated error manual
    Keep the feedback coming!
    Christian Shay
    Oracle

    Here are some first impressions of the "Query window". This is just a list of the problems, so it seems quite negative. Some of the problems are small and some are larger. The thing that I think will annoy me most from day-to-day is the lack of a hotkey for execute and that bind-variables are not supported (but we all have our pet-bugs/problems):
    - In the context menu for the connection move the "Query Window" up under open (I quite sure the query window is more used than both "Delete" and "Close").
    - You shouldn't call the feature "Query Window" in the context menu and "Query Editor" in the title of the window. Be consistent.
    - You might want to rename the "Query Window" to "Query Analyser" (for compatibility with sql server)
    - A explain window (or rather a explain tab) should be added (like every other query tool).
    - Sql-statements should be timed, the time should be shown in milisecounds(!) and rounded/truncated (it might not be that percise but it invaluble as a quick guage when rewriting a sql to see if you a going in the right direction). For extra points show any "long ops" messages/status at regular intervals. Maybe it would be very interesting (powerfull) to see "buffer gets" next to the elapsed time.
    - "Execute" really need a hotkey. I would suggest either "Ctrl+Enter" (for compatibility with Toad), "Ctrl+E (for compatibility with Sql Server) or F5 (for compatibility with Sql Server and Visual Studio). The hot key sould be shown in a tooltip when hovering the execute button.
    - I overlooked the execute button at first. Move it to a toolbar and make it a green "Play"-button (for compatibility with Toad, Tora and Sql Server).
    - When having 2 sql-statements in a query window you seem to execute the last one. Please execute the one under the cursor. Sql statements should be seperated by empty lines (ie. containing only white space) or a semicolon.
    - The "Toggle Query Output" is non-descriptive. Change it to "Hide Query Output" (and "Show Query Output" respectively) and add the little black cross that e.g. the "Task List" have.
    - When having e.g. "select * from dual;" the Query Window and going to the line before that statement and typing "/*test" the whole window turns green (so far, so good), but when adding the closing "*/" after "test" the select-statement stays green.
    - Line and collumn-numbers in the error messages would be really usefull.
    - It seems that you don't provide help to the keywords? it thought that was one of the "selling points"?
    - Intellisense would be nice (but maybe mostly a "cool"/"demoware" feature). But maybe a hotkey for opening the "Oracle Explorer" with the active (eg. where the cursor is on or a the right of) table/view/function/package/... expaned would be more usefull. If the cursor is at the right of the keyword "FROM" a list of tables should be shown but if it is on "FROM" the help with the syntax should be shown. Escape should return focus to the query.
    - Ctrl+L should make the selection lowercase and Ctrl+U make it uppercase (or Ctrl+U and Ctrl+Shift+U for compatibility with the rest of VS.NET). I find that the code, I use the editors "change case"-feature most on is sql sinse I really like sql keywords upper case and identifiers lower case (and oracle ofthe make everything uppercase).
    - Now I see that there is a execute button on the toolbar, but (a) you have made it a strange brownish green (please make it greener) (b) you have placed it in the far left (or that is where it showed for me) in the top toolbar, where I had expected it to the left of the text "Query Editor" (inside the "ORACLE://<shema>.<datasource>/Query" pane).
    - Move the title "Query Editor" to the Tab (that says "ORACLE://<shema>.<datasource>/Query"). This will save some vertical space and make space for the toolbar. The title "Query Output" might be remove altogether.
    - Bind variables doesn't seem to be supported. I think that this is really a problem since *you should make it easy for developers to do the right think* and bind variables certainly is the right thing. You should bring up a window with the binds that are used in the query and enable me to set their type (if you can't figure it out from context (eg. emp.id=:emp_id would probably mean that :emp_id is a number) and their value. Also please persist the type/value for each variable name so I don't need to figure out the id of that employee I usally test with.
    A few non-query window notes:
    - In the spirit of "make it easy to do the right thing", what would be the easy way to call (and get intellisense on) a package function in a the cs-file?
    - In the context menu for a procedure "Run" should be "Run..." sinse it just brings up a window. And you probably want to "Delete" at the bottom (above the line).
    - In the context menu for a view "Retrive Data..." should be "Retrive Data" sinse it doesn't bring up a dialog. I accidentally selected it for a rather large/slow view and really wanted a "Stop" button (thanks for the option to stop after 30 seconds). I think you shouldn't retrive more than, say, 50 rows without the user explicitly saying so (and never blob/long raw columns or more than eg. 100 chars from a clob/long column).
    - The default action when dobbelt clicking a table shouldn't be "Retrive Data..."(!), it should be "Design...".
    - Choosing "Generate Create Script..." (which might just be called "Generate Script") on a produce, funciton or package, should bring up a preview window with a save-button.
    - When opening a function in the "Oracle Explorer", setting the cursor on eg. the keyword FUNCTION and hitting F1, the help index opens searching for "Oracle.ODT.SQL.CREATE FUNCTION", but there is (of cause?) no such topic. If I select the any part of the text in the help index search box and hit delete, I am asked "Oracle Explorer, Are you sure that you want to permanently delete '<shema>.<datasource>.<function name>' from the database ?" which is definetly not was I want to do!
    With regards to the rest of the add-in, what is was really hoping for was Visual Source Safe integration and easy procedure calling, but that doesn't seem to be implemented. But then I don't know what the problem statement for this add-in was.

  • Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems n

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

Maybe you are looking for

  • Lumia 920 animated GIF's

    When emailing or texting from the Lumia 920, will users outside of Nokia be able to fully view animated GIF's? Solved! Go to Solution.

  • Flex components is not showing up after deploying to web server

    Hello, I am working in flex builder 2.0 to develop a simple application. I am getting some issues around custom components. My directory structure is as follows: Project_Folder- |-Components |-bin |-assets |-Application.mxml I put all my custom compo

  • JavaWebStart JRE 1.4.2 auto-download installer sample

    Environment: WinXP - Pro SvcPack2, jdk1.5.0_08 I am a JAVA newbie attempting to learn more. In trying to learn more about the JRE auto-download installer, I tried to build the sample installer using the README found in the jdk1.5.0_08\sample\jnlp\jre

  • Can't start Oracle service

    HI Am Just starting oracle serviceORCL..but it is getting error...since yesterday i was run oracle successfully..and last night i just did "shut immediate" and today morning i came up with this error Could not start the OracleDBConsoleORCL service on

  • Table and Figure Autonumbering

    I am currently using FrameMaker 8.0 and having a problem with the autonumbering of my tables and figures. Is there a way to have these as seperate numbering but still referencing the Chapter number? E.g. CHAPTER 1 Table 1.1 Figure 1.1 Figure 1.2 Tabl