All queries in workflow 2.5 running on 10g slow .. recently

Hello,
I would really appreciate any help in this regards. I have a table that has
350,000 records in the database. We recently migrated from 9i to 10g.
select context from wf_notifications
where begin_date > sysdate - 1;
While in 9i, the following query used to run under a second.
While in 10g, the following query ran for 6 minutes.
(# of rows returned = 11)
if we modify the query to THE following, then it takes about 10 seconds.. but
not as efficient as 9i but acceptable.
select /*+ RULE */ [col] from [table]
where [date_col] > sysdate - 1;
PLEASE HELP. WHAT WENT WRONG. Respond to [email protected]
Regards

Hi,
Probably not the answer that you're after, but...
I think that only workflow release 2.6.3 is certified against a 10g database. I don't think that 2.5 is supported against the most recent database releases - if you check certify it will tell you.
Sorry that doesn't answer your problem, but you might find that you need to upgrade to the latest version of WF to match your DB level.
Matt

Similar Messages

  • How to find the list of all queries on each and every cube in the system???

    Hi All,
    I need some method to get all the reports(queries)(technical name and description),run on all the infocubes in the system. The number is very huge...roughly...on each cube there are near about 40-50 reports and the number of cubes is also too high.
    Is there any table or function moudle which can make this job easy and less time consuming.
    Freinds I need this solution urgetly. Please rush back...
    regards,
    minal

    Hi Minal,
    RSZCOMPIC table lists queries built on the cubes.
    COMPUID is an ID of the query.
    RSZELTDIR table contains description of the reporting elements. DEFTP field equals “REP” designates queries.
    Search for  RSZELTDIR-ELTUID = RSZCOMPIC- COMPUID. Field MAPNAME will contain a tech name of the query and TXTLG field – its description.
    Best regards,
    Eugene

  • Refreshing all queries

    Hi All,
    I have 5 queries in my workbook.
    My requirement is that everytime i refresh a query, all the queries should be refreshed.
    Is this possible?
    I tried some VBA code like this.
          ' Set Backlog_Range = Range("SAPBEXqueries!SAPBEXq0002")
           'Run "sapbex.xla!SAPBEXrefresh", False, Backlog_Range
    'Similar code for all queries.
    But this as expected causes an infinite loop.
    Is there any solution?
    Thanks in advance!
    -Arun KK

    This was resolved by setting flags and stopping the refresh based on the flag.

  • Single Selection Prompt for all queries

    Hi All,
    I have 5 queries in my workbook.
    Each query uses some variable which is not used in the other queries.
    So, i get 5 prompts when i run the query.
    This looks very awkward and also my system almost hangs while showing for each prompt.
    Is there any way of showing all the variables in a single prompt?
    Thanks,
    Arun KK

    Hi,
    I found this answer on a message board:
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/assigning-same-variable-values-for-queries-in-workbook-711943
    There are two answers to your question, depending on whether or not all of the dates are the same info object (i.e., have the same technical name).
    Case 1:  All info objects have the same technical name.
    Use the "refresh all" option:
    Run "SAPBEX.XLA!SAPBEXrefresh", True 'true = refresh all
    BW will use the input from the first set of refresh screen variables for all others.  IF each query have exactly the same refresh screen, you will not see another refresh variable screen.  If not, then BW will stop between queries to ask for more input, only if required. 
    So, the trick would be to define the first query that refreshes in such a way that its variable screen covers everything needed.
    Case 2:  Not all info objects have the same technical name.
    Use the "Save and reuse variable values" option.  You will find this in the query Properties dialog box on the second tab ("Interaction").  Put a check there for all queries except the first one. 
    Set up the workbook so that the first query refreshes by itself
    Run "SAPBEX.XLA!SAPBEXrefresh", False 'False = refresh one only
    Then, after the first query has refreshed, locate the date(s) the user selected and copy those to the ranges for all other date values.  If your installation is BW 3.x, the code below should do the trick.
    It is slightly ineffecient because it will refresh the first query twice.  But, the second refresh will be fast because the results will still be in cache. And, the code to keep it from refreshing the first query twice is not something you really want to mess with.
    Alternatively, instead of using the SAPBEXrefresh, True at the end, you could put in 13 different SAPBEXrefresh, False statements, identifying the other 13 query worksheets individually.
       Run "SAPBEX.xla!SAPBEXrefresh", False, _
           Sheets("firstQueryToRefresh").Range("a cell in the query")
       'locate dates user selected for "0CALMONTH"
       For i = numFilter + 3 To 4 Step -1
           If Range("GS" & i) = "0CALMONTH" Then
               myType = Range("GC" & i)
               myInterval = Range("GD" & i)
               intfirstMonth ("GE" & i)
               extfirstMonth = Range("GF" & i)
               intlastMonth = Range("GG" & i)
               extlastMonth = Range("GH" & i)
               Exit For
           End If
       Next i
       For i = 4 To numFilters + 3
           If Range("GS" & i) = "YCODOCMNT" Or _
               Range("GS" & i) = "YCOSHPMNT" Or _
               Range("GS" & i) = "0CALMONTH" Or _
               Range("GS" & i) = "YCOACCMT" Then
               Range("GC" & i) = myType
               Range("GD" & i) = myInterval
               Range("GE" & i) = intfirstMonth
               Range("GF" & i) = extfirstMonth
               Range("GG" & i) = intlastMonth
               Range("GH" & i) = extlastMonth
           End If
       Next i
       Sheets("SAPBEXqueries").Visible = xlSheetVeryHidden
       Sheets("firstQueryToRefresh").Select
       Application.ScreenUpdating = True
       Run "SAPBEX.xla!SAPBEXrefresh", False
    End Sub
    maybe this will help a bit.
    regards,
    Raymond Baggen
    Uphantis bv

  • Queries taking long time to run

    Hi BW Folks,
    I am working on virtual cube 0bcs_vc10 for bcs(business consolidation) the base cube is 0bcs_c10. We compressed and partitioned the base cube. The queries which i developed are running fine and are in production.
    Now  when a new req came for some more queries after developing them and running in DEv they are taking 20 to 25 mins to run.
    Suprisingly the queries which are running in production they are also taking long time to run, we havent disturbed the performance tuning process we did earlier .
    Can any one of share their experience in how to tackle this. Will assign full points
    THanks

    Hi Nick,
    Do you have a lot of navigational attributes?  That could be slowing you down.  Also, if it's going too slow, try caching and pre-calculation (pre-loads the cache).  Although I'm not sure if this will work with a Virtual Cube.  By their nature they will be much slower than a physical cube.....so worst case scenario for me would be to load the VC data into a regular cube.  If the query is still slow, then at least you know it's a query issue and not the VC.
    Brian

  • I have  a iphn 3gs running on ios 6.1.3  i buy it frm my frnd ..........n it has one prblm that safari mail n maps does't wrk it crashes all time when i try to run these ......plzzz help me what shoud i do ......i have tried reset many times bt it does't

    i have  a iphn 3gs running on ios 6.1.3  i buy it frm my frnd ..........n it has one prblm that safari mail n maps does't wrk it crashes all time when i try to run these ......plzzz help me what shoud i do ......i have tried reset many times bt it does't

    use a computer and restore the phone http://support.apple.com/kb/ht1414

  • Multiple calendars have appeared on my Iphone and I am unable to sync all of them to my PC, running Windows 7 and Office 2010. How can I sync all the calendars to my PC, or, merge the calendars on the Iphone so there is only 1 calendar to sync?

    Multiple calendars have appeared on my Iphone and I am unable to sync all of them to my PC, running Windows 7 and Office 2010. How can I sync all the calendars to my PC, or, alternatively, merge the calendars on the Iphone so there is only one calendar to sync?

    If the hard drive that crashed is the one that stored the itunes library, be sure to restore the library from Time Machine (mac) or whatever backup you use on windows.  That will get back your music.  I suspect that the replacement drive has an empty itunes library and thus, perhaps, the itunes match used that to sync to its servers.
    Try posting in the iTunes Match forum, you'll probably find more knowledgeable folks there.
    https://discussions.apple.com/community/itunes/itunes_match

  • I have 6 devices sharing the same apple id and password. when we download an app, for example a game, it backs up on all devise. therefore we can't run individual games. suggestion? thanks.

    we have 6 devises sharing the same apple id and password. when we download a game app it will backup on all devices. therefore we can not run individual unconnected versions of the game. suggestions. thanks.

    What do yo mean by: " it will backup on all devices"?
    If you mean that is one persone purchases an app it appears on all device then on each device go to Settings>Store and turn off automatic downloads.

  • I'm having issues with Time Machine since my upgrade to Mavericks, running at a snails pace.  Is anyone else experiencing the same?  WiFi is running fine, disabled all the Anti-Virus, still barely runs.

    Is anyone else experiencing the same?  WiFi is running fine, disabled all the Anti-Virus, still barely runs.
    2013 27" iMac

    I'm having the same issue, mine says prepairing to backup. I let it run for 12 hours and it never performed a backup. I have a Mac Book Pro

  • How to capture all queries in a log file

    I need a way to capture all queries fired by all my 200+ DAO java objects easily
    in a log file easy debugging purpose.
    Any thoughts?

    I don't know, I always suppress the html output since the
    html it generates isn't W3C-valid in any context I'm designing. I
    use swfobject for my flash files -- thanks for the idea, though!
    Does it enumerate all URLs that are embedded in a flash file's
    actionscript? That seems like it can get rather data-heavy?

  • I have a HP Pavillion all-in-one with AMD processor running Windows 8.1 64 bit. Flash Player 16.0.0.235 with all current drivers.  I'm consistantly experiencing a green sceen on all Flash Player videos but I have sound.

    I have a HP Pavillion all-in-one with AMD processor running Windows 8.1 64 bit. Flash Player 16.0.0.235 with all current drivers.  I'm consistantly experiencing a green sceen on all Flash Player videos but I have sound.

    [discussion moved to Using Flash Player  forum]

  • How do I detach all queries in Workbook under 04s BEX?

    BEx versions prior to 04s allows you to select Tools -> All Queries in the Workbook -> Detach
    now however within 04s, its seems this functionality has disappeared?

    hi Greg,
    If you are trying to delete the query assignment in the workbook, then you have to switch to "Design Mode" and the click on the "Analysis Grid" and in "Analysis Grid Properties" window delete Data Provider.
    Hope this helps.
    Bhargava

  • Queries on Tuxedo 8.0 running on Tandem - OSS.

    Hi,
    I have few queries on Tuxedo 8.0 running Tandem-OSS:
    a) Does Tuxedo 8.0 running on Tandem OSS supports multi-threading?
    b) When is the Obsolete data for Tuxedo 8.0 running on Tandem - OSS?
    Thanks in advance.
    Regards,
    Sagar

    Hi !
    We have the same problem, but if you put a empty dummy lic.txt in the directory it works fine.
    Do you have any news what the problem is ?
    Is that a bug ?
    Bye Markus

  • List of all queries in the system

    Hi all
    <b>I want to get a list of all QUERIES in my BW system and the details of the DATA TARGETS (cube or ODS) on which they are made.</b>
    Can i get it from any TABLE or TRANSACTION? or will i have to go to each query ( grouped by INFOAREA) to do the same. This i felt will be very tedious. Please advise.
    Regards,
    Pradyut.

    Hi Pradyut,
    Use this table instead - RSZCOMPIC. Give the selection parameter as cube/ods technical name and the version as active.
    This would give the list of technical name of the queries for a Cube/ODS. To get the description of the query use the table RSZCOMPDIR -> give the technical name of the query as input parameter and get the desription. The description is stores in the COMPID field.
    Hope this helps.
    Bye
    Dinesh
    (Do not forget to assign points!!)

  • I can't run all the apps.. when i run it, it crashed out immediately

    i can't run all the apps.. when i run it, it crashed out immediately

    Try:
    - Resetting the iPOd. Nothing will be lost.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Downloading/installing a new app
    - Restorng from bavkup
    - Restoring to factory defaults/new iPod.

Maybe you are looking for