Poor performance: portal report using inline views

I have created a portal report that uses inline views that performs terribly. It has 6 inline views. When I cut out half the views, the performance doubles. When I run the same query in sql + on my portal database with all the views, I get the results back instantly. Any ideas on what is causing the performance hit in portal? Any ideas on a remedy?

More info
SELECT patch_no, count(*) frequency
FROM users_requests
WHERE patchset IN (SELECT arps2.patchset_name
FROM aru_bugfix_relationships abr, aru_bugfixes ab, aru_status_codes ac,
aru_patchsets arps, aru_patchsets arps2
WHERE arps.patchset_name = '11i.FIN_PF.E'
AND abr.bugfix_id = ab.bugfix_id
AND arps.bugfix_id = ab.bugfix_id
AND abr.relation_type = ac.status_id
AND arps2.bugfix_id = abr.related_bugfix_id
AND abr.relation_type IN (601, 602))
AND included ='Y'
GROUP BY patch_no
order by frequency desc, patch_no
Runs < 1 sec from SQL navigator and from portal (if i hardcode the value for fampack.
Takes ~50 secs if i replace with :fampack and set default value to 11i.FIN_PF.D

Similar Messages

  • Performance Issue with Crosstab Reports Using Disco Viewer 10.1.2.48.18

    We're experiencing Performance Issue (retrieving 40000 rows) with Crosstab Reports Using Disco Viewer 10.1.2.48.18 ( > 01 Minute , executing "Building Page Axis" or executing a Refresh).
    Are there parameters to tun (in pref.txt file) , in order to reduce "Building Page Axis" execution ?
    Note : We've got the same performance problem , using Discoverer Desktop 10.1.2.48.18.
    Thank's in advance for your Help.

    Hi
    Well if the same issue occurs in both Desktop and Viewer then you have your answer. It's not the way that Discoverer is running the workbook its the way the workbook has been constructed.
    For a start, 40000 rows for a Crosstab is way over the top and WILL cause performance issues. This is because Discoverer has to create a bucket for every data point for every combination of items on the page, side and top axes. The more rows, page items and column headings that you have, the more buckets you have and therefore the longer it will take for Discoverer to work out the contents of every bucket.
    Also, whenever you use page items or crosstabs, Discoverer has to retrieve all of the rows for the entire query, not just the first x rows as with a table. This is because it cannot possibly know how many buckets to create until it has all the rows.
    You therefore to:
    a) apply sufficient filters to reduce the amount of data being returned to something manageable
    b) reduce the number of page items, if used
    c) reduce the number of items on the side or top axis of a crosstab
    d) reduce the number of complex calculations, especially calculations that would generate a new bucket
    If you have a lot of complex calculations, you should consider the use of a materialized view / summary folder to pre-calculate the values.
    Does this help?
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • Poor performance of Report Writer reports (Special Ledger Library)

    Greetings - We are running into problems with poor performance of reports that are written with the SAP Report Writer. The problem appears to be caused when SAP is using the primary-key index in our Special Purpose ledger (where the reports are generated). The index contains object fields that cannot be added to the report library (COBJNR, SOBJNR, ROBJNR). We have created alternate indices, but they are not being picked up with the Report Writer reports.
    Are there any configurable or technical settings that we can work with in order to force the use of a specific index for a report? It seems logical that SAP would find the most efficient index to use, but with the reports that we are looking at, this does not appear to be the case.
    Any help that can be offered will be greatly appreciated...We are currently using version 4.6C, but are planning an upgrade to ECC 6.0 later this year.
    Thanks in advance -

    Arjun,
    Where / which files contains these parameters we cannot find them all ??? 
    Tomcat - Java _properties and try again ( You can tune below value as per your system memory)
    -XX:PermSize=256m
    -XX:MaxPermSize=256m
    -XX:NewSize=171m
    -XX:MaxNewSize=171m
    -XX:SurvivorRatio=2
    -XX:TargetSurvivorRatio=90
    -XX:+DisableExplicitGC
    -XX:+UseTLAB
    As a general update it looks like we need to use the Monitoring tools that are installed by default, we are now in the process of installing the database etc
    Cheers

  • Poor performance on reports that were migrated from 6i to 10g

    We are migrating from 6i client server to 10g reports server and getting poor performance on various reports. Reports that work in seconds in 6i are taking much longer to run or even timing out.
    Reports Server:
    Version 10.1.2.0.2
    initEngine = 1
    maxEngine = 20
    minEngine = 1
    engLife = 1
    engLife = 1
    maxIdle = 30
    The reports are being called from 10g forms with the following:
    T_repstr := '../reports/rwservlet?server=rep_aporaapp_frhome1'
    || '&report='|| T_prog_name
    || '&userid='|| T_nds_uid;
    || '&destype=cache'
    || '&paramform=yes'
    || '&mode=Default'
    || '&desformat=pdf'
    ||' orientation=Landscape';
    web.show_document(T_repstr,'_blank');

    Using these and not hearing much bad
    Init Engine 1
    Max Engine 6
    Min Engine 0
    Eng Life 10
    MaxIdle 30
    Trace Error
    Trace Replace
    I set my Report Server Parameters
    CACHE SIZE - 700
    CACHE DIRECTORY = (you have to decide)
    IDLE timeout 120
    Max Connections 120
    Max Queue Size 4000
    trace options = trace_err
    trace mode trace_replace

  • ABAP - Editable report using Excel view

    hi friends
    In my report i am using REUSE_ALV_GRID_DISPLAY
    Function module to display the data in alv format. I am using the view in
    Excel format.
    My requirement is,
    If i change the data in the
    excel sheet that should reflect in the internal table.
    I am able to do changes, but the data is not getting change in the internal
    table.
    The purpose of this is, the output of this report will be the
    input of another program after changing the output in excel(only, bcoz in
    excel they will change using some formulas).
    Note:
    I am
    getting the changes to internal table if i use grid display not in excel
    format.
    Can anyone suggest me how to solve this problem?

    Hi u can esily do this using Object oriented ALVs. Heres the code :
    *& ALV using objects : ADD, MODIFY RECORDS
          Data Declaration
    DATA : ITAB1    TYPE TABLE OF SFLIGHT,
           G_CUST1  TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
           G_GRID1  TYPE REF TO CL_GUI_ALV_GRID,
           LT_FCAT1 TYPE LVC_T_FCAT,
           LS_FCAT  TYPE LVC_S_FCAT.
         Start of selection
    START-OF-SELECTION.
      PERFORM POPULATE_TABLE.
    END-OF-SELECTION.
      CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
          PBO module
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'ZSAB1'.
    SET TITLEBAR 'xxx'.
      IF G_CUST1 IS INITIAL.
        CREATE OBJECT G_CUST1
          EXPORTING
            CONTAINER_NAME    = 'CC1'.
        CREATE OBJECT G_GRID1
          EXPORTING
            I_PARENT          = G_CUST1.
      ENDIF.
      PERFORM FCAT_SFLIGHT.
    to display the ALV Grid
      CALL METHOD G_GRID1->SET_TABLE_FOR_FIRST_DISPLAY
        CHANGING
          IT_OUTTAB       = ITAB1
          IT_FIELDCATALOG = LT_FCAT1.
    transfering the grid from display mode to editable mode
      CALL METHOD G_GRID1->SET_READY_FOR_INPUT
        EXPORTING
          I_READY_FOR_INPUT = 1.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Form  fcat_sflight
          Filling Field Catalog
    FORM FCAT_SFLIGHT.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          I_STRUCTURE_NAME       = 'SFLIGHT'
          I_CLIENT_NEVER_DISPLAY = 'X'
          I_BYPASSING_BUFFER     = 'X'
        CHANGING
          CT_FIELDCAT            = LT_FCAT1.
      LOOP AT LT_FCAT1 INTO LS_FCAT.
        IF    LS_FCAT-FIELDNAME EQ 'PRICE'
         OR LS_FCAT-FIELDNAME EQ 'PLANETYPE'
         OR LS_FCAT-FIELDNAME EQ 'FLDATE'.
          LS_FCAT-EDIT = 'X'.
          LS_FCAT-CHECKTABLE = '!'.      "do not check foreign key relations
          MODIFY LT_FCAT1 FROM LS_FCAT.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " fcat_sflight
    *&      Module  USER_COMMAND_0100  INPUT
          PAI module
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'SAVE'.
          PERFORM SAVE_DATA.
        WHEN 'LEAV' OR 'CANC' OR 'BACK'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                    "USER_COMMAND_0100 INPUT
    *&      Form  save_data
          checking the changed or added data is consistent
    FORM SAVE_DATA.
      DATA: L_VALID TYPE C.
      CALL METHOD G_GRID1->CHECK_CHANGED_DATA
        IMPORTING
          E_VALID = L_VALID.
      IF L_VALID IS NOT INITIAL.
        PERFORM UPDATE_DATABASE.
        MESSAGE S000(0K) WITH TEXT-S01.
      ENDIF.
    ENDFORM.                    "save_data
    *&      Form  update_database
          Update records to DB table
    FORM UPDATE_DATABASE.
      DATA: LS_SFLIGHT TYPE SFLIGHT,
            LS_OUTTAB LIKE LINE OF ITAB1,
            LT_INSTAB TYPE TABLE OF SFLIGHT.
      LOOP AT ITAB1 INTO LS_OUTTAB.
        MOVE-CORRESPONDING LS_OUTTAB TO LS_SFLIGHT.
        APPEND LS_SFLIGHT TO LT_INSTAB.
      ENDLOOP.
      MODIFY SFLIGHT FROM TABLE LT_INSTAB.
    ENDFORM.                    "update_database
    *&      Form  POPULATE_TABLE
          POPULATE TABLE I_KNA1
    FORM POPULATE_TABLE .
      SELECT * FROM SFLIGHT INTO TABLE ITAB1.
    ENDFORM.                    " POPULATE_TABLE

  • Open BI Publisher report  using URL View activity

    Hi,
    i need to call BI Publisher report and I want to use URL View activity (i followed instruction on http://oraclebizint.wordpress.com/2007/07/30/customizing-obi-ee-%e2%80%93-go-url-parameters/ but i can't have HTML Form inside af:form)
    But parameters on URL View activity are visible and i have to send username and pass..
    Is there another way?
    Tnx.
    Andreja

    Yes, I can put HTML form at top or bottom of page but i wanted to put in panelCollection (because of page design)....
    but I will think out something to look nicely too :)
    Tnx

  • Performance issues when using Smart View and Excel 2010

    Hello, we are experiencing very slow retrieval times when using Smart View and Excel 2010. Currently on v.11.1.3.00 and moved over from Excel 2003 in the last quarter. The same spreadsheets in 2010 (recreated) are running much slower than they used to in 2003 and I was wondering if anyone else out there has experienced similar problems?
    It looks like there is some background caching going on as when you copy and paste the contents into a new file and retrieve it is better.....initially. The size of the files are generally less than 2mb and there aren't an expecially large number of subcubes requested so I am at a loss to explain or alleviate the issues.
    Any advice / tips on how to optimise the performance would be greatly appreciated.
    Thanks,
    Nick

    Hi Nick,
    Office 2010 (32 bit) only is supported.
    Also check these documents:
    Refresh in Smart View 11.1.2.1 is Slow with MS Office 2010. (Doc ID 1362557.1)
    Smart View Refresh Returns Zeros (Doc ID 758892.1)
    Internet Explorer (IE7, IE8 and IE9) Recommended Settings for Oracle Hyperion Products (Doc ID 820892.1)
    Thank you,
    Charles Babu J
    Edited by: CJX on Nov 15, 2011 12:21 PM

  • Using inline view with NOT IN clause

    I have a query with a NOT IN clause in the where clause that I would like to convert to an inline view. The select looks something like this:
    select uid, SYSDATE from tab1, tab2
    where tab1.uid = tab2.uid
    and ...
    and tab1.uid not in (select uid from tab3 where....)
    I've used inline queries elsewhere to great effect, but this one has me stumped. If anyone can help, it would be greatly appreciated.

    There can be problem with using not in or not exists depending on the amount of data in the tables and the relationship between them.
    I didn't got if you had problem with the existing SQL-statement, created view or both.
    Check statistics and look at explain plan for the sql-statement and the view.
    The problem can actually be some where clause that you have in the sql-statement but not in the view, but apply later when using the view.
    //Anders

  • Problem while using inline view.

    hello everyone, i have a certain problem. i have a query where i have used 3 inline views.which is as follow.
    SELECT X.MC_ID,
    X.PROD,X.EFF,Y.PROD,Y.EFF,Z.PROD,Z.EFF
    FROM
    (SELECT A.MC_ID MC_ID,A.COARSE_FINE,DECODE(A.COARSE_FINE,'F',NVL(A.PRODUCTION,0),0) PROD,
    DECODE(A.COARSE_FINE,'F',(NVL(A.PRODUCTION,0)/NVL(A.FINE_TARGET_PROD,0))* 100,0) EFF
    FROM PR_DAILY_DOFFING_ENTRY A
    WHERE A.SHIFT = 'A'
    AND MC_ID = 24
    AND TO_CHAR(A.DOFFING_DATE,'DD/MM/RRRR') = '28/10/2004') X,
    (SELECT A.MC_ID,A.COARSE_FINE,DECODE(A.COARSE_FINE,'F',NVL(A.PRODUCTION,0),0) PROD,
    DECODE(A.COARSE_FINE,'F',(NVL(A.PRODUCTION,0)/NVL(A.FINE_TARGET_PROD,0))* 100,0) EFF
    FROM PR_DAILY_DOFFING_ENTRY A
    WHERE A.SHIFT = 'B'
    AND MC_ID = 24
    AND TO_CHAR(A.DOFFING_DATE,'DD/MM/RRRR') = '28/10/2004') Y,
    (SELECT A.MC_ID,A.COARSE_FINE,DECODE(A.COARSE_FINE,'F',NVL(A.PRODUCTION,' '),' ') PROD,
    DECODE(A.COARSE_FINE,'F',(NVL(A.PRODUCTION,' ')/NVL(A.FINE_TARGET_PROD,' '))* 100,' ') EFF
    FROM PR_DAILY_DOFFING_ENTRY A
    WHERE A.SHIFT = 'C'
    AND MC_ID = 24
    AND TO_CHAR(A.DOFFING_DATE,'DD/MM/RRRR') = '28/10/2004') Z
    Now my problem is that the view z is returning null as results in the prod and eff coloums.( well that is fine since i actually have no datas in my table against shift 'C') but inline views x and y are returning datas. but when i am selecting this -- SELECT X.MC_ID,
    X.PROD,X.EFF,Y.PROD,Y.EFF,Z.PROD,Z.EFF nothing is being returned as all the coloums are showing null values. when it should show values in (X.PROD,X.EFF,Y.PROD,Y.EFF) coloumns and null in (Z.PROD,Z.EFF) coloumns. please suggest me what to do now.
    Edited by: pari kankaria on Aug 23, 2009 11:02 PM

    is this your complete query? I guess you are missing the joining conditions if this is your complete query.
    it should be like this
    SELECT x.mc_id, x.prod, x.eff, y.prod, y.eff, z.prod, z.eff
      FROM (SELECT a.mc_id mc_id, a.coarse_fine,
                   DECODE (a.coarse_fine, 'F', NVL (a.production, 0), 0) prod,
                   DECODE (a.coarse_fine,
                           'F', (  NVL (a.production, 0)
                                 / NVL (a.fine_target_prod, 0)
                            * 100,
                           0
                          ) eff
              FROM pr_daily_doffing_entry a
             WHERE a.shift = 'A'
               AND mc_id = 24
               AND TO_CHAR (a.doffing_date, 'DD/MM/RRRR') = '28/10/2004') x,
           (SELECT a.mc_id, a.coarse_fine,
                   DECODE (a.coarse_fine, 'F', NVL (a.production, 0), 0) prod,
                   DECODE (a.coarse_fine,
                           'F', (  NVL (a.production, 0)
                                 / NVL (a.fine_target_prod, 0)
                            * 100,
                           0
                          ) eff
              FROM pr_daily_doffing_entry a
             WHERE a.shift = 'B'
               AND mc_id = 24
               AND TO_CHAR (a.doffing_date, 'DD/MM/RRRR') = '28/10/2004') y,
           (SELECT a.mc_id, a.coarse_fine,
                   DECODE (a.coarse_fine,
                           'F', NVL (a.production, ' '),
                          ) prod,
                   DECODE (a.coarse_fine,
                           'F', (  NVL (a.production, ' ')
                                 / NVL (a.fine_target_prod, ' ')
                            * 100,
                          ) eff
              FROM pr_daily_doffing_entry a
             WHERE a.shift = 'C'
               AND mc_id = 24
               AND TO_CHAR (a.doffing_date, 'DD/MM/RRRR') = '28/10/2004') z
    WHERE x.mc_id = y.mc_id AND y.mc_id = z.mc_id     ----something like this should be there change it according to your conditionNOTE : NOT TESTED
    Edited by: Qwerty on Aug 24, 2009 11:46 AM

  • JRC degraded performance, large reports using exportPDF of JRC sample code

    All,
    I am using JRC, Weblogic, and Oracle in order to dynamically create reports using Crystal.  The problem I am seeing is that for very large reports (e.g. 600K +), the performance degrades substantially. 
    There are not a lot of subreports, and I've narrowed it down that the queries are not taking significant amount of time to execute.  I'm using the JRC Helper Sample code, exportPDF call in order to create these reports.
    For small reports (e.g. < 40k) we are looking at a few seconds.  When we start executing the larger reports we are seeing them in 6-20+ minute range.
    Weblogic version is 8, jdk 1.4.
    Any suggestions?  We are not using stored procs, just straight JNDI/JDBC calls.
    Thank you for your time,
    Scott

    Hi Scott,
    I recommend to put this question in our [Java dev f|Java SDK Application Development;orum
    Best regards
    Falk

  • BIP report using HTML view in dashboard printing without scrollbars, parts

    Have created BI Publisher report in the MS Word using Landscape page settings.The report is printing without scrollbars in the OBIEE Dashboard using HTML view.
    Could not see the whole page output...have tried using resolution property settings in the dashboard configuration...havent found any solution.
    Have tried to use MHTML but the logos are missing.
    Any quick solution for the above will be very helpful.
    Thanks
    Baddam

    Hi Venkat,
    Thanks for your quick respond.
    1.) Auto Run is enabled. And the report runs automatically as well. But then it ignores the dashboard prompt (as a regular report would do as well). But when I choose some values in the prompt and then press go. Then it says I have to press on view as well.
    2.) no that is not the case. My report is so big that it always need a scroll bar ;) also adjusting the size settings in the dashboard doesn't help. The only occurs when viewing in HTML, when previewing in excel or RTF it all just work fine.
    3.) true, but ow well this is the least importetant one ;) so if this doesn't work, than it doesn't work ;)
    4.) Ok, I will have a look on that.
    5.) I did enabled HTML and EXCEL outputs in my BIP report. But when the first point is working, then I don't want to see the control bar anymore and I want to have the output on the dashboard in HTML and then I want to build a button, or a link or something that exports the request to excel. Is that possible?

  • Liquify & poor performance (scratch drive use)

    Hi,
    (Firstly, I'm an ex programmer, so fairly technical...)
    I've recently been looking into the performance of the liquify filter in Photoshop CS4 11.0.1 on my i7-950, Vista64, 64 bit photoshop, 12Gb RAM. It seems to "stall" for a second or two after certain brush strokes. Other people on the internet have reported similar things.
    I've come to the conclusion that the Liquify filter has a fundamental issue, as described below. Firstly, here's what I've noticed:
    I'm liquifying a large image (5000 pixels deep) using a large brush (1500 pixels).
    When I do a few liquify brush strokes with the push tool, I notice that liquify stalls for a few seconds.
    Vista performance monitor tells me that Photoshop is writing a large amount of data to a file on my F drive, which is NOT the drive I've set to be my scratch disk (my scratch disk is Y drive - a fast raptor)
    What I believe is happening (this is my guess) is, since Photoshop 7.0, Liquify gained multiple undo states. In the implementation of this, the developers chose to get Liquify to not use the scratch disk that Photoshop does, but instead to choose the largest drive it can find to use to save history states. My evidence for this is that some people with network and USB drives have to disconnect them in order to get liquify to perform well after you lift the mouse button and my F drive is the joint largest I have in my machine. I've also noticed that if you use a 1500 size brush on a SMALL file (like 1500 on it's largest axis) you don't get the same stall - which suggests to me that the history states system saves the entire image (presumably as well as the mesh) in order to speed up the undo.
    This problem as described doesn't appear to me anything to do with:
    RAM - I have 12Gb on Vista64 and photoshop64 and set photoshop to use 6Gb of that. The photoshop file is a single layer file only at 16bit.
    Processor speed - I'm on an i7 950.
    OpenGL settings - it's only when I lift the mouse button after several mouse operations that the problem happens. I've also tried switching that off.
    History states settings in photoshop - I've tried setting it to one.
    I've checked TEMP emvironment variables and virtual memory settings. Neither is specifiying the F drive.
    Has anyone else seen this? Can you reproduce it using these steps:
    Load a PSD (preferably 16 bit, single layer)
    Resize it to over 5000 pixels on it's largest axis.
    Start liquify
    Change the brush size to 1500 pixels
    Do a number of small push brush strokes
    After a few, you should notice a small stall
    If you can, get the resource monitor up in vista: task manager -> choose "performance" tab -> Click "Resource monitor" button -> open "disk" dropdown -> click on "write b/min" to show you the programs accessing the most disk. This should show you photoshop (liquify presumably) saving a large amount of data to a drive you never told it to use.
    I'm quite happy to be wrong with any or all of my guesswork, assumptions and conclusions and would be delighted if anyone has a solution for this - other than the usual "resize, save mesh, load mesh" option to speed up liquify - I have 100 files to liquify and it's just too slow
    Thanks everyone in advance for your thoughts
    Phil
    Finally here's some links which show similar things:
    http://www.realgeek.com/forums/photoshop-cs4-liquify-tool-issue-472605.html
    http://www.xpertgurus.com/showthread.php?t=171454
    http://www.fredmiranda.com/forum/topic/754197/0

    Here is what someone else said about the issue:
    "When people on here say Photoshop is no longer accessing the scratchdisk as they have lots of ram, are they SURE? I initially thought it was odd when a noise I hadn't noticed before (More than likely due to having loud music on whilst editing) when using alt+click to hide/show all layers was infact my hardrives seeking. It's almost inaudible but I tend to have very sensitive hearing.
    So, i'm just working on a large 120 scan building up my layers as you do, and I go to liquify a section of the image. Now it's a large image and even though my PC is fast I don't expect it to absoultely blitz everything I throw at it, and liquify is typically a pretty crap part of Photoshop for speed anyway. So out of curiosity I open up task manager to see what my CPU usage is like.. bouncing along the bottom, jumping upto 25/30% every so often, usually when making larger adjustments, felt happy, and clicked OK.
    Something made me open up Resource Monitor and noticed the hardrive jumping upto 180mb/s usage. Expand the view and it is indeed Photoshop absolutely tanning the hardrive. All the while my Ram usage is at around 5GB.
    So, if this is indeed normal, a word of advice folks  Invest in a RAID0 scratchdisk volume if you do large edits on large files.. Because photoshop seems to prioritize the scratchdisk before ram in some cases. If this is not normal or doesn't happen to you, please state specs, PS version, settings etc, tar.
    For those interested, computer is a 3.2ghz Quad, 16GB of ram, RAID0 array for OS (Which is also the scratchdisk), and Photoshop CS4 64-bit ram usage is set at 70%, Cache Levels 6, History states 20. "
    It's from one of the links in my original post.. The thing that I seem to have found that others have not spotted in my investigations is that Liquify is using any disk that it wants and (so far) there doesn't seem to be a way to tell it to use your specified scratch disk.

  • Poor Performance generating pdf with Disco Viewer

    Version: 10.1.2.54.25
    Please humour me, I’m not a Discoverer friendly person.
    Never even seen it.
    But I am supporting a client who brings me Discoverer problems in the third person...
    So issue is...
    They often generate large reports.
    Sometime, the users will export (not sure if that is correct term or not) them to pdf format.
    This part of the process takes a while.
    A 10,000 line/row report can take 25 minutes to generate in pdf.
    Users are finding this unacceptable.
    Excel generation for a similar report is done in approx 1.5 minutes.
    Sorry, I can find nothing at Oracle sites, and a few things using google.
    I can see that there are some client level controls in Disco that allows you to control resolution, memory, etc for pdf generation.
    So..
    1.     What exactly are all the related setting and what do these settings control.
    2.     Are there any known issues for this?
    3.     How is the pdf generated, this client process or server ? How can I describe this process to my client so that it can justify the difference between pdf & excel (assuming there is no known issue).
    4.     Any good documents dealing with this (please don’t point me to user guides)
    5. any other ideas, thoughts ?

    Hi
    Well if the same issue occurs in both Desktop and Viewer then you have your answer. It's not the way that Discoverer is running the workbook its the way the workbook has been constructed.
    For a start, 40000 rows for a Crosstab is way over the top and WILL cause performance issues. This is because Discoverer has to create a bucket for every data point for every combination of items on the page, side and top axes. The more rows, page items and column headings that you have, the more buckets you have and therefore the longer it will take for Discoverer to work out the contents of every bucket.
    Also, whenever you use page items or crosstabs, Discoverer has to retrieve all of the rows for the entire query, not just the first x rows as with a table. This is because it cannot possibly know how many buckets to create until it has all the rows.
    You therefore to:
    a) apply sufficient filters to reduce the amount of data being returned to something manageable
    b) reduce the number of page items, if used
    c) reduce the number of items on the side or top axis of a crosstab
    d) reduce the number of complex calculations, especially calculations that would generate a new bucket
    If you have a lot of complex calculations, you should consider the use of a materialized view / summary folder to pre-calculate the values.
    Does this help?
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • Interactive Report using a View with a Pipelined Function

    Hello fellow Apex people,
    I'm Using Application Express 4.1.0.00.32
    I've got an interactive report that references a view (STOCK) and a pipelined function
    The basic query is listed below.
    SELECT S.CHANGED_TIME "Changed Time"
    , S.CHANGED_BY "Changed By"
    , S.ID "Id"
    , STKST_DESCRS.STOCK_STATUS_CODES "Stock Status Codes"
    , STKST_DESCRS.STOCK_STATUS_DESCRS "Stock Status"
    , S.ORIGINAL_CONTAINER "Original Container"
    FROM STOCK S
    , table(LWS_StkstStatus (S.ID)) STKST_DESCRS
    ORDER BY S.CO_ID,
    S.SEQUENCE_NUM;
    When the page is first run all the data is displayed correctly,
    If I define a filter, sort or a blank search the data from the pipelined function (STKST_DESCRS.) becomes null and isn't displayed.
    Does anyone know what is happening?
    Many Thanks

    I'm curious why you find this dangerous. I want a report that looks like this:
    Opportunity X:
    4 - 2-apr-2008 - Closed deal
    3 - 1-mar-2008 - Called Joe again
    2 - 12-feb-2008 - Called Joe
    1 - 14-jan-2008 - Initial call with customer.
    When you enter a new note, I want it to be numbered 5. The only problem I can imagine is someone deleting a note, which will almost never happen, and if it does, it just leaves a numbering gap. I don't see how using the function in a SELECT will accomplish this.

  • IE8 on XP shuts down on first print of Crystal Report using ActiveX Viewer

    Environment:
    u2022 Business Objects Enterprise XI 3.1 SP3 FP 3.5
    u2022 Tomcat 5.5
    u2022 Windows Server 2003
    u2022 JDK Version: 1.6
    u2022 Internet Explorer 8 - compatibility mode
    u2022 client machines Windows XP Professional SP3
    Issue:
    The browser shuts down after last page is queued for printing upon installing ActiveX print control for the first time in all XP SP3 environments.  Issue does not occur when using Vista or Windows 7.  Subsequent printing works fine after ActiveX print control has been installed once.
    Steps Taken:
    -"Enabled memory protection to help mitigate online attacks" option in IE and turned on DEP on OS - this is mandatory for company security policies.  Issue does not occur if this option is turned off.
    -Not reproducible on my end under same environment
    -PDF printing works, however this is not a feasible solution
    -issue does not occur for IE6 and IE7 in XP, and IE8 on Windows 7
    -disabling DEP via boot.ini also removes issue
    -upgrading client workstation to Windows 7 also not a viable solution
    -validated version of  \Business Objects\common\4.0\crystalreportviewers12 \ActiveXControls\PrintControl.dll on the BOE server as 12.3.1.684
    -on client machines, added to Trusted Sites  the web site of report origin. Open internet explorer >Tools>Internet Options>Security Tab>Trusted Sites Security Zone >Click Sites> Add Site by typing the web site address---> Click Add -->OK then close the internet Options dialog box.
    -not applicable solution, BO XI R2 - "Blank "Crystal Reports Viewer" window - attempt to print report
    relevant links:
    http://support.microsoft.com/kb/875352
    http://blogs.msdn.com/b/ie/archive/2008/04/08/ie8-security-part-i_3a00_- dep-nx-memory-protection.aspx

    Hi Seb,
    It's already been validated that turning off DEP works. however, DEP is mandatory for this customer.
    I did come across the release notes for IE8 at http://msdn.microsoft.com/en-us/ie/dd441788, indicating the following,
    Turn off Data Execution Prevention group policy
    The Group Policy setting, Turn off Data Execution Prevention (Windows Components | Internet Explorer | Security Features), does not currently function as expected. While the Internet Control Panel option will appear to be disabled, Data Execution Prevention is still turned on. This is a known problem and will be corrected it in a future update.
    Thanks,
    Calvin

Maybe you are looking for