Restricting a characteristic & query time out problem

Hi. We have the follwoing problem:
Before our BI upgrade, we have had a number of users querying different info areas, that are now having difficulty restricting on a characteristic in a query.  This was performed with no problems before the upgrade. 
Many times, the list of records for the particular characteristic is quite small.  Either it takes 20-30 minutes for the list to appear, or the query times out (after 6000 seconds).
Any ideas?

Any time you have an existing query that has been running quickly in production, and it suddenly starts to run much longer, you should be suspicious of some change to DB statisitics and or indexes.
So the first thing to do is work with your DBA to make sure the DB statistics are current for the tables involved in the query, then get an Explain Plan for the query which will show you how the DB is trying to execute the query, what indexes it uses, etc.  Perhaps stats are not being refreshed after the upgrade, or something happened to an index

Similar Messages

  • Time out problem in BPS

    BPS friends,
    We have a planning function to copy Versions based with some filters. The copy function takes 5 hours and times out after that. The function is reaching max buffer size as recommended by SAP so we cant increase the buffer size anymore.
    We are on BW-BPS 3.5.
    How can I solve this time out problem? Please respond to me.

    Hi Pat,
    How many record did you copy ??
    Could you restrict the copy in not 1 package ??
    Package per package ...
    I suggest you ..
    e.g. you have restriction by a 0CALMONTH / something ..
    Then,
    You can copy e.g. for January to March, then March to August, etc.
    You can automate it by planning sequence.
    Hopefully it can help you a lot.
    Regards,
    Niel.
    thanks for the points you choose to assign.

  • Restrict user SELECT query time on a particular VIEW

    Hi - I am trying to restrict user SELECT statemnet time on a particular view.There is a user called ABC and he is accessing many objects in database.All SELECT statments are fine execept when he query a particular VIEW.That view SELECT causing performance problem.So I am trying to restrict the SELECT query time on a VIEW.
    Can you please help me to achive this task through some SQL command like ALTER USER etc...
    Thanks for your help.

    user2538196 wrote:
    Hi - I am trying to restrict user SELECT statemnet time on a particular view.There is a user called ABC and he is accessing many objects in database.All SELECT statments are fine execept when he query a particular VIEW.That view SELECT causing performance problem.So I am trying to restrict the SELECT query time on a VIEW.
    Can you please help me to achive this task through some SQL command like ALTER USER etc...
    Thanks for your help.It sounds like you are really trying to solve a performance problem with the view. I agree with Justin that the solution to restrict access to the view dynamically sounds unwieldy.
    Consider tuning the view, or perhaps the query using the view. Post the view and see if anyone can help you tune it.

  • Time out problem while uploading large bpel processes into oracle soa suite

    Hi everyone,
    I'm using oracle soa suite 10.1.3.4.0 and I'm encountering time out problem while trying to upload a 5MB bpel process into my bpel process server located in the LAN network. The error is coming from apache common file upload.
    Is there a way to increate the connection time out for oc4j to avoid this problem?
    Thanks for any help.
    Regards
    Esfand

    Hi Marc.
    Thanks for your reply. I increased the transaction manager time-out but still I have the same problem. I believe this is something related to oc4j settings and related to upload bpel process. here is my stack trace output:
    79: A problem occured while connecting to server "192.168.0.12" using port "8888": bpel_JazbModaresJadidBPEL_1.0.jar failed to deploy. Exception message is: javax.transaction.RollbackException: Timed out
    at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:94)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:324)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.rmi.OracleRemoteException: An exception occurred during transaction completion: ; nested exception is:
    javax.transaction.RollbackException: Timed out
    at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:152)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    ... 25 more
    Caused by: javax.transaction.RollbackException: Timed out
    at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:664)
    at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:273)
    at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
    at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
    at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:137)
    ... 33 more
    Total time: 4 minutes 30 seconds
    The bpel jar file is about 2MB and is uploaded from my machine located in the same LAN.
    Any hints?
    Thanks
    Esfand

  • Toshiba 48L1433DB - USB time out problems

    My USB Ports are not shown on my Source list and I have a "time-out" problem.
    If I put a stick in either USB port the media page loads automattically and everything works perfectly but then switches off after an hour or so (on-screen message shows empty port has switched on).
    I then have to disconnect the stick and reload it before I can start watching again (Have to fast forward to place where disconnect happened but have to stop every now and then to prevent time out re-occuring)
    Very puzzling

    Originally Posted by [email protected]
    My USB Ports are not shown on my Source list and I have a "time-out" problem.
    If I put a stick in either USB port the media page loads automattically and everything works perfectly but then switches off after an hour or so (on-screen message shows empty port has switched on).
    I then have to disconnect the stick and reload it before I can start watching again (Have to fast forward to place where disconnect happened but have to stop every now and then to prevent time out re-occuring)
    Very puzzling
    At first you should make sure, that it is not caused by the stick type and/or file format.
    Did you check with a stick from another vendor ? Also, does it happen with every file type, or related to certain formats ?

  • Time out problem for select query

    I am fetching data from BKPF for my report.
    I have written following query.But this query always time out.
    SELECT
        BUKRS
        BELNR
        GJAHR
        BLART
        BLDAT
        BUDAT
        MONAT
        XBLNR
        BKTXT
        WAERS
        KURSF
        HWAER
        FROM BKPF
        INTO TABLE I_BKPF
        WHERE BUKRS IN S_BUKRS
         AND BELNR IN S_BELNR
         AND GJAHR IN S_GJAHR
         AND BLART IN S_BLART
         AND BLDAT IN S_BLDAT
         AND BUDAT IN S_BUDAT
         AND MONAT IN S_MONAT
         AND CPUDT IN S_CPUDT
         AND BSTAT = SPACE.
    So please suggest me solution.

    Hi..
    1) Try to make Some of the Fields such as BUKRS , GJAHR  as PARAMETERS so that ROWS are restrited mostly.
    2) Make fields like BLDAT and BUDAT as OBLIGATORY if possible.
    3) And in the SELECT query add the PACKAGE SIZE addition.
    <b>Reward if Helpful.</b>

  • Seelct query time out for single region

    Hi ,
    I am currently facing a problem with a report .The problem is in a select query.The report runs successfully when it is run for only more than 1 state but when it is run for single state then it times out.The select query is as given below.
    SELECT avbeln eposnr bvbtyp aerdat akunnr ckunnr d~regio
               ewerks aernam dname1 afaksk b~cmgst
               INTO TABLE t_block
               FROM vbak AS a
               INNER JOIN vbuk AS b
               ON bvbeln = avbeln
               INNER JOIN vbpa AS c
               ON cvbeln = avbeln
               INNER JOIN kna1 AS d
              ON dkunnr = akunnr                             
               ON dkunnr = ckunnr                             
               INNER JOIN vbap AS e
               ON evbeln = avbeln
                   WHERE a~faksk IN faksk
                     AND a~vkorg = vkorg
                     AND a~vtweg IN vtweg
                     AND a~spart IN spart
                     AND a~vkbur IN vkbur
                     AND a~vkgrp IN vkgrp
                     AND a~kunnr IN kunnr
                     AND a~ernam IN ernam
                     AND a~erdat IN erdat
                     AND a~vbeln IN vbeln
                     AND a~vbtyp IN vbtyp
                     AND b~spstg IN ('A','B','C')
                     AND ( b~fsstk NE space
                          OR b~cmgst NE space )
                     AND b~abstk NE 'C'
                     AND c~kunnr IN s_kunwe
                     AND c~parvw = 'WE'
                     AND d~regio IN s_regio.
    Please let me know if you require any more information.
    s_regio is the select option for state.Also I feel that for KUNNR the On conditon might cause soem problem becasue it does not involve key fields.
    thanks,

    hi ds,
    separate the select in several selects. The inner join is not always the best solution.
    take
    data : ivbak type table of vbak,
       field symbols : <xvbak>
    select +++ into corresponding fields of table ivbuk
              from vbuk
              where
    select +++ into corresponding fields of table ivbak
             form vbak
             for all entries in ivbuk
             where vbeln eq ivbuk-vbeln ...
    select ...
    if you want to have one internal table then do it with a loop.
    loop at ivbak assigning <xvbak>
    read table ikna1 with key kunnr = <xvbak>-kunnr.
    loop at ivbap whee vbeln = <xvbak>-vbeln.
    itab..= vbak..
    ? move corresponding ?
    append itab.
    endloop.
    endloop.
    that will not cause a time-out.
    if you want a verry quick program - use tables without heading lines and field symbols with loops with assigning.
    It is more to write but the effect is verry good.
    Hans
    Hans

  • Dsc, alarm query time out

    Hello,
    I'm using LabVIEW 2009 SP1 with DSC-Module. Today I had trouble using the "Alarm&Event Qurey.vi" to read data from the citadel database. The Query worked well for days and delivered the data quickly. Well today it didn't, instead it delivered a time out and it didn't help to set the time out value parameter to higher values (normally I use the default value, 30s). It did not help to restart my application, nor LabVIEW, nor Windows (XP, by the way). It simply stopped working.
    Then I tried my luck using the MAX and its Historical Data Viewer to retrieve the logged alarms and, unexpected, this worked! And after that, like there was magic in the air, the "Alarm&Event Query.vi" worked also again!
    So, this doesn't feel very reliable. I do not interact with the citadel database using other ways than the Query vi and the Library-/SharedVariable-Settings (writing to the data base is managed by the shared variable engine).
    Did someone experience the same problem and can I prevent this behavior somehow?
    Thanks in advance,
    Thomas

    Hello Thomas,
    Unfortunately it seems that this behavior is not reproducible.
    Has the error occurred again since your last post?
    I checked our internal database and I was not able to find any hints, that this is a common issue.
    Could you please post the important section of your code, if the error appears again?
    So we can dive a little bit more into detail.
    Regards
    Ulrich
    AE NI-CER  

  • Session time out problem

    Hi guys
    I am using WSAD 5.0. the problem that i am having is that i have a properties file where i give the session time out value along with many other things. and when a user logs in a servlet takes those values from the properties file and sets the session time out value, using session.setMaxInactiveInterval(). but the problem is the session is still maintained even after the stipulated inactive time. Can any one tell me what could be the problem.
    Note: when i say session.getMaxInactiveInterval(), i get the value that i have set in the properties file.
    Thanks

    You're sure you specified seconds rather than milliseconds?
    - Saish

  • Time-out problems with RV320 (after upgrade from RV042)

    config:
    dual wan
    WAN1: 4G router (DHCP) - approx 25Mbit/ 8Mbit
    WAN2: PPOE (DSL) - 1 Mbit/ 0.2 Mbit
    worked with a RV042 before and upgraded to a RV320 now.
    all other things are unchanged.
    3 problems - 2 solved/ not critical - one still open:
    a) not critical:  DHCP Status does not include all devices (changing view - but all-time problem)
    I would suspect a software bug.... DHCP itself works perfectly/ IPs are assigned (just not shown in status)
    b) solved (at least for now):  internet connection featured time-outs; after many tries, disabling the SPI in the firewall helped
    btw: this only happend for the WAN1 - WAN2 worked  (or is that slow that the additonal wait time did not matter ;-)
    c) very annoying: exchange connection (from Outlook client to external exchange) still has time-outs (mostly the whole mail client hangs/ ends to be restarted).
    As soon as I disable WAN1, it works!  But it´s not the LTE WAN itself - switching back to the RV042 does not show the same symptom.
    I tried: include IP into local DNS (in general I work with google DNS servers - but changing that does not help either), opening all traffic for teh realevant IPs and disabling the firewall completely.  no positive results....
    thanks for any hints....

    I agree with you on a, probably a bug of some sort.
    b is an issue I've seen before, and even on similar bandwidth (25/5) on my rv016.  What was able to figure out is that the carrier (ISP) is sending about 4k/sec of ICMP packets to the router, which in turn makes the router think it's under attack so it drops the connection.  As you can tell, disabling the SPI helps.  For me, putting another router in front of my rv016 (on 2 of 3 wans) was my only 'permanent' solution.
    c sounds like there's a protocol binding/static route in the rv042 that you need to add to the rv320.  I'd check that first.
    Huntsville's Premiere Car and Bike e-magazine: www.huntsvillecarscene.com

  • Time-Out Problem mit OpenGL in AE und E3D lösen.

    Hallo.
    Ich habe folgendes Problem:
    Ich habe mit AE cs6 und E3D einen Schriftzug erstellt welchen ich im Laufe eines Videos in die Kamera einfliegen lassen möchte. Soweit nichts aufwändiges. Doch jedesmal wenn ich es render oder den Zeiger der Timeline an die besagte Stelle verschiebe wo das Objekt am größten für die Kamera erscheint, kommt folgende Fehlermeldung:
    "The NVIDIA OpenGL driver lost connection with the display driver due to exceeding the Windows Time-Out limit and is unable to continue"
    Bei CS5 konnte man ja OpenGL an - und abschalten.  Ghet das bei CS6 auch irgendwie oder kann man die Zeit bis zum Timeout manuell verlängern?
    Bereits getroffene Maßnahmen:
    GraKa-Treiber - Update
    GraKa - Treiber deinstalliert und komplett neu installiert
    NVIDIA - Systemsteuerung Energiverwaltung auf maximale Leistung gestellt
    Element 3D deinstalliert und installiert
    Element 3D neue Version installiert
    AE Voreinstellung geändert wie folgt:
    Heruntersetzen der Grenze für adaptive Auflösung auf 1/2
    Maximale Disk-Cache-Grösse 20 GB
    RAM verfügbar für AE 12,9 GB
    RAM pro Hintergrund-CPU 3GB
    Computer:
    Intel i5-3470
    RAM 16GB
    GForce GT 610
    Windows 7
    After Effects cs6
    Alle Programme laufen auf einer 128 GB SSD
    Ich hoffe mir kann einer hier weiter helfen ich kann schon nicht mehr schlafen deswegen.

    Das hat mit AE und E3D nix zu tun. Das ist der Grafiktreiber selbst. Treiber aktualisieren, sinnvoll konfigurieren oder neue GraKa kaufen... Die 610 ist eh nur ein übeteuerter Heizriegel...
    Mylenium

  • Time-out problem in Sync. replication

    When I would like to add tables to materialized view group in updatable MV in synchronous mode , I encount
    below error :
    ORA-02049 : Timeout : Distributed transaction waiting for lock
    By increasing the time-out of lock , nothing happens and error still exists.
    Thanks in advanced to help me.

    Hi Pat,
    How many record did you copy ??
    Could you restrict the copy in not 1 package ??
    Package per package ...
    I suggest you ..
    e.g. you have restriction by a 0CALMONTH / something ..
    Then,
    You can copy e.g. for January to March, then March to August, etc.
    You can automate it by planning sequence.
    Hopefully it can help you a lot.
    Regards,
    Niel.
    thanks for the points you choose to assign.

  • Select query - Time out error

    Hello Experts,
    Please help me this below query. If I ran the program, it will take so much time to execute the below query and its goes to time out.
    Please help me.
    SELECT  mvgr1                           "Line of Business
                werks                             "Plant
                lgort                               "Storage Location
                charg                              "Batch
                matnr                             "Material Number
                kwmeng                          "Ordered quantity
                posnr                              "Item
                vbeln                              "Sales Order Number
          FROM  vbap
          INTO  TABLE gt_salesdatatemp
           FOR  ALL ENTRIES IN gt_matmerge
         WHERE  matnr EQ gt_matmerge-matnr
           AND  werks EQ gt_matmerge-werks
           AND  mvgr1 EQ gt_matmerge-mvgr1
           AND  lgort EQ gt_matmerge-lgort
           AND  charg EQ gt_matmerge-charg
           AND  abgru EQ space.
    Thanks in advance.

    Hi,
    If the number of records to be fetched is very very high then you can use the cursor concept.
    Please see the below code.
    =====
    OPEN CURSOR dbcur FOR SELECT .... FROM ....... WHERE ...... .
        DO.
        FETCH NEXT CURSOR dbcur INTO TABLE itab PACKAGE SIZE 10000.
           IF sy-subrc NE 0.
                EXIT.
           ENDIF.
        ENDDO.
    CLOSE CURSOR dbcur.
    =====
    Using this concept you can fetch the data in packets.
    Additionally, you can take care of the following points to have better performance.
    a. Check that your query is using the index.
    b. Check that the internal table is not initial. If it is initial then the select will happen for all records in the DB.
    Regards,
    Saurabh

  • Query Time Out and Shared Objects

    Hi,
    I have 2 questions.
    1) from st22 i can get the list of users and time out information. But how can I find related query which has been time out by that user ?? as of now i was getting query information from st22 by getting abap program name which starts with "G" and find related query for that from the table rsrrepdir. But recently it is happening that i get abap program which starts with "G" from st22 time out but its not giving me any query information in RSRREPDIR table or by t-code se38.
    can anyone guide me how can i get query info from st22 ? we have so many time out occuring in production have to trace that and improve the query performance.
    2) 2nd question is - how can i get list of queries which are having shared objects like variables, templates, key figures, structures etc...
    is there any specific table or t-code which provides that? we have to delete some queries in prod. but before that we want this list.
    A.H.P. I am counting on you extensively for help coz i have seen that you reply to everybody. and i have asked same question in another forum at SDN but no reply !!!
    waiting for help...

    Hi Bhanu,
    thank you for your prompt reply.
    well, we dont have woorkbooks atall. we got the inventory list of all queries needs to be deleted in production. we are deleting very very old queries which are not even in used now. i know the variables and str. etc...remains but still needs to know how to find out the queries with shared object. i want that information in hands before i delete anything in dev. system and transport it to prod. so, i will have proof that i didnt delete anything important. hope you understands what i mean and why i need to know this !
    i found few tables related to this but cannt relate them and get the info I need. RSRREPDIR, V_ELTDIR_TXT, RSZELTXREF,etc..
    where used list in BEx gives us the webtemplates names nothing else. i meant not the shared objects. and if it is giving shared objects info then i guess i am not aware of it coz few queries i tried to check didnt get that info in "where used" list.
    in metadata repository ?? i didnt get it!! how can i find queries with shared objects in metadata rep ?

  • Query time out's

    Hello,
    I have troubles regarding query performance. Many queries time out ("connection time out 500"). They seem a bit too heavy (for example when there is a need too drill down on material level from material group)
    What can be done in order to decrease the query run-times?
    Best regards,
    Fredrik

    hi Fredrik,
    check if helps
    Business Intelligence Performance Tuning [original link is broken]
    oss note
    557870 'FAQ BW Query Performance'
    and 567746 'Composite note BW 3.x performance Query and Web'.
    Prakash's weblog
    /people/prakash.darji/blog/2006/01/27/query-creation-checklist
    /people/prakash.darji/blog/2006/01/26/query-optimization
    service.sap.com/bi -> performance

Maybe you are looking for