Slowness of interactive report in SSL

All,
Has anyone experienced slow response for Interactive Reports when on https? I just tried running exactly same interactive report in non-SSL mode and it ran at least 2-3 X faster. Anyone aware of any issues with https configuration for Apex. Other pages, standard reports do not have as severe slowness. We are talking 40-50 seconds to bring results back to screen in https and 8-10 seconds with just http. Report only has 1000 records being queried so the issue is not with the query itself --direct SQL brings back results in tenth of second.  So there seems to be some issue with the web component and the rendering of the page itself not so much the database response. 
Any help would be appreciated!! Very frustrating to users.
Thanks,
Pat

Please refer to [A simple ALV Interactive program |http://wiki.sdn.sap.com/wiki/display/Snippets/AsimpleALVInteractiveprogram].

Similar Messages

  • SQL statement with Function returns slow in Interactive Report

    I have an Interactive Report that returns well but when I add in a function call in the where clause that does nothing but return a hard coded string of primary keys and is compared to a table's primary key with a like operator the performance tanks. Here is the example:
    get_school2_section(Y.pk_id,M.pk_id,I.section,:P577_SECTION_SHUTTLE) LIKE '%:' || I.pk_id || ':%'
    I have the values hard coded in the return of the function. There are no cursors run in the function, there is no processing done in the function. It only declares a variable. Sets the variable, and returns that variable back to the SQL statement.
    I can hard code the where clause value to look like this:
    ':90D8D830A877CCFFE040010A347D1A50:8ED0BBFDEAACC629E040010A347D6471:9800B8FDBD22B761E040010A347D0D9A:' LIKE '%:' || I.pk_id || ':%'
    This returns fast. When I add in the function call which returns the same hard coded values, the page goes from returning in 1 to 2 seconds to 45 or more seconds.
    Why does adding a simple function call into the where clause cause such a deterioration in performance.
    Edited by: alamantia on Aug 17, 2011 7:39 AM
    Edited by: alamantia on Aug 17, 2011 7:40 AM

    So you are telling me that the where clause with a function call will NOT run the function on every row? Please explain that to me further?
    if you have code that is the following:
    select a,b,c from a_table where a > 2 and b < 3 and function_call(c) > 0You are telling me that Oracle will NOT call that function on EVERY row it tries to process in the select?
    Thank you,
    Tony Miller
    Webster, TX
    I cried because I did not have an office with a door until I met a man who had no cubicle.
    -Dilbert
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Interactive report performance problem over database link - Oracle Gateway

    Hello all;
    This is regarding a thread Interactive report performance problem over database link that was posted by Samo.
    The issue that I am facing is when I use Oracle function like (apex_item.check_box) the query slow down by 45 seconds.
    query like this: (due to sensitivity issue, I can not disclose real table name)
    SELECT apex_item.checkbox(1,b.col3)
    , a.col1
    , a.col2
    FROM table_one a
    , table_two b
    WHERE a.col3 = 12345
    AND a.col4 = 100
    AND b.col5 = a.col5
    table_one and table_two are remote tables (non-oracle) which are connected using Oracle Gateway.
    Now if I run above queries without apex_item.checkbox function the query return or response is less than a second but if I have apex_item.checkbox then the query run more than 30 seconds. I have resolved the issues by creating a collection but it’s not a good practice.
    I would like to get ideas from people how to resolve or speed-up the query?
    Any idea how to use sub-factoring for the above scenario? Or others method (creating view or materialized view are not an option).
    Thank you.
    Shaun S.

    Hi Shaun
    Okay, I have a million questions (could you tell me if both tables are from the same remote source, it looks like they're possibly not?), but let's just try some things first.
    By now you should understand the idea of what I termed 'sub-factoring' in a previous post. This is to do with using the WITH blah AS (SELECT... syntax. Now in most circumstances this 'materialises' the results of the inner select statement. This means that we 'get' the results then do something with them afterwards. It's a handy trick when dealing with remote sites as sometimes you want the remote database to do the work. The reason that I ask you to use the MATERIALIZE hint for testing is just to force this, in 99.99% of cases this can be removed later. Using the WITH statement is also handled differently to inline view like SELECT * FROM (SELECT... but the same result can be mimicked with a NO_MERGE hint.
    Looking at your case I would be interested to see what the explain plan and results would be for something like the following two statements (sorry - you're going have to check them, it's late!)
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two),
    sourceqry AS
    (SELECT  b.col3 x
           , a.col1 y
           , a.col2 z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5)
    SELECT apex_item.checkbox(1,x), y , z
    FROM sourceqry
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two)
    SELECT  apex_item.checkbox(1,x), y , z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5If the remote tables are at the same site, then you should have the same results. If they aren't you should get the same results but different to the original query.
    We aren't being told the real cardinality of the inners select here so the explain plan is distorted (this is normal for queries on remote and especially non-oracle sites). This hinders tuning normally but I don't think this is your problem at all. How many distinct values do you normally get of the column aliased 'x' and how many rows are normally returned in total? Also how are you testing response times, in APEX, SQL Developer, Toad SQLplus etc?
    Sorry for all the questions but it helps to answer the question, if I can.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Performance issue with Hyperion Interactive Reporting  Report

    Hi,
    We created a report in Hyperion Interactive reporting using Hyperion Essbase as database connection file .
    Report performance was good in Interactive reporting Studio we don't have any problem in studio.
    when we open the report in Hyperion Workspace report performance is very very slow. We are using system 11.1.1.3
    Any suggestions to resolve performance issue will be really helpful.
    Thanks in advance
    Regards
    Vamsi

    Thank you so much, It is working fine when the report is in table structure (List Report. I mean insert a table and drag and drop the fact items and dimention items in to the table)
    The requirement is looks like that, it is not a pivot table. Now I want apply the different color or shadow for Item1 and Item 2 in all groups... Please help me.
    Total Fact Fact 1 fact 2 Fact 3 ......
    Group 1
    Item 1 Item 1 000 000 000 000 ...
    Item 2 Item2 000 000 000 000 ....
    Group 2
    Item 1 Item 1 000 000 000 000 ...
    Item 2 Item2 000 000 000 000 ....
    Group 3
    Item 1 Item 1 000 000 000 000
    Item 2 Item2 000 000 000 000
    Thanks and Regards,
    Murugan

  • Interactive Report wide Column Sorting hangs in Internet Explorer

    I have an application that contains an interactive report. The Column Sorting and Filtering functions work fine in Firefox. However, if I try to sort a wide (110 byte - it contains a hyperlink) column in Internet Explorer, APEX produces the 'loading data' image and then hangs. Even a sort of a narrow (3 byte) column is noticeably slower in Internet Explorer than in Firefox.
    We are running APEX 3.1.1 on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production with the Partitioning, OLAP, Data Mining and Real Application Testing options

    Hello,
    I answer you over your post.
    Joe Bertram wrote:
    Hi,
    That's an interesting issue. What kind of images are these? Are they the default images installed or are they your custom set of images?The images are png files included as they were icons into the table.
    >
    You say the images disappear when you sort the report. Does it happen when you sort on demand in the dashboard or when you sort it in the report itself? Or both?Only when sort from the dashboard. From the report itself, the answers works fine.
    >
    What are your environment details?Server:
    OBI 10.1.3.4.1.090414.1900
    Windows 2003 server
    JDK 1.6.0.17
    Thin Client:
    Internet explorer 8
    >
    Thanks for the extra info.
    Best regards,
    -JoeIt happens also in other two environments (Development and Pre-production) with the same SW architecture.
    Thanks for your time.

  • Open Interactive Reporting report using smartcut

    Hello,
    i was wondering if i can open an Interactive Reporting report from a link from a separate web server (not workspace).
    I know i can add username and password to my smartcut link to open my report directly. Is there a way to use encrypted password?
    thank you,
    daniele

    If you had more thoroughly read the docs, you would have found your answer in 2 forms in the v11.1.1.3 document on pages 85 - 87. The note on the bottom of page 85 talks about transparent access and where to get more info, and the HTML forms shown on pages 86 and 87 show how to define the username and password as hidden parameters on the form.
    If you want browser-to-web-server communications encrypted, you need to use SSL and set up the Hyperion configuration accordingly.
    Edited by: Mark Ostroff on Sep 30, 2010 2:14 PM

  • Speed up proces of migration Interactive Reporting version 8.3.2 to 9.3.1.

    Is there a way to speed up the proces of migration Hyperion Performance Suite 8.3.2 to Interactive reporting 9.3.1?
    What I tried and what helped was:
    SQL repository transfer has been improved by copying (select into the old db tables to the new repository.
    Transfering the repository files is done by a manual xcopy script from server A to server B.
    But the proces of renamning and converting the bqy files into the new version is very very slow. And we have to convert about 8000 files.
    I found a java heap size setting in the run.xml but I am not aware of any improvements after increasing that value.
    It is the brioqry_s.exe which takes much time to open, convert and save the individual files.
    Is is just a matter of adding extra cpu or memory? I am not too familiar with that kind of things. But if anyone has a idea we can work on it.
    Hope to heare from you, Detlev

    we had to much job output. We deleted it in the source. That helped a lot.
    Also the USAGE events where deleted just from the sql tables. It useless information in a new environment so why bother migrating it. Now it ruins within 13 hours. Thats acceptable.

  • Issue with Interactive Report

    I have a report that grabs over 10,000 rows (it's an inventory). When I run it from sql plus, it is pretty fast. When I run it from a standard report, again it's pretty fast. However, my interactive report takes about 2 min to load. I did a p_trace and got this result from the accompanying TKPROF
    <pre>
    select
    ROWID as apxws_row_pk,
    "MASTER_STYLE",
    "STYLE_DESCR",
    "STYLE_LINK",
    "STYLE",
    "COLOR_NO",
    "COLOR_DESCR",
    "LINEPR",
    "RETAIL_PRICE",
    "AVL",
    count(*) over () as apxws_row_cnt
    from (
    select * from (
    select style,
    style_link,
    style_descr,
    color_no,
    color_descr,
    avl_qty,
    linepr,
    retail_price,
    master_style,div,
    k_apex.return_avl_matrix(style,color_no,k_apex.f_get_value('WHOUSE'),:global_cust_no) AVL
    from nkw.vw_style_chooser
    where (div = :global_div_no or :global_div_no is NULL)
    ) r
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    order by ROWID
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 2 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 17 0.67 0.65 271 62548 8700 17
    total 19 0.67 0.65 271 62550 8700 17
    Misses in library cache during parse: 1
    Optimizer mode: CHOOSE
    Parsing user id: 61 (recursive depth: 1)
    Rows Row Source Operation
    17 WINDOW SORT
    10000 COUNT STOPKEY
    10000 NESTED LOOPS
    10000 NESTED LOOPS
    10000 NESTED LOOPS
    10000 NESTED LOOPS SEMI
    10000 TABLE ACCESS FULL INVENTORY_M
    10000 INDEX UNIQUE SCAN PK_ITL (object id 31210)
    10000 TABLE ACCESS BY INDEX ROWID COLOR_M
    10000 INDEX UNIQUE SCAN PK_COLOR_NO (object id 30737)
    10000 TABLE ACCESS BY INDEX ROWID COSTING_M
    10000 INDEX UNIQUE SCAN PK_CS_STYLE (object id 30759)
    10000 TABLE ACCESS BY INDEX ROWID COSTCOLS
    10000 INDEX UNIQUE SCAN PK_CCL_SKU (object id 30752)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file scattered read 26 0.01 0.03
    db file sequential read 70 0.00 0.06
    </pre>
    Is there a way to only have it start with a few hundred rows to speed up the process?
    Thanks,
    Scott

    What is the pagination type that you have selected in the in the interactive report ? (Pagination type is under "Pagination" tab of interactive report attribute). Ensure that it is not set to "Row ranges X to Y of Z". That can be one of the reason for slow performance.
    Regards,
    Ashish
    http://www.dbcon.com

  • Interactive Report Region Layout

    I created an interactive report, but it can have many records (close to 1000), and my customer needs to print it.
    Let's assume 4 records A,B,C,D
    when displaying, the report shows as
    A
    B
    C
    D
    I have enough room on the page to get it to go horizontally
    and I'd like my report to show as
    A B
    C D
    Any suggestions on how to accomplish this?
    Thanks,
    Scott

    I'm seeing this is not really possible in interactive reports...
    I am ok doing this in standard reports, but I need the condition.
    basically 2 Rows Across in each row. this will make my report look nicer... I really don't want to write an HTML script to output this as it is very slow.
    Does anyone have any suggestions for this?

  • Interactive reports / export CSV

    Hi everybody,
    We've got a problem with Apex 4.0.1.00.03 and the interactive reports.
    Ours applications are beyond a proxy server in SSL security, and the problem is when we do an export in *.csv with an interactive report with IE (7, 8 or even 9) there is a bug and we've got this message:
    Internet Explorer can't download f from appw.xxx.xx.ch
    We'haven't this kind of bug or message while we're using Chromium, Firefox, Safari or Opera, only IE.
    Does anyone got this kind of architecture and this sort of message or bug with IE and the export ?
    Best regards
    Chrispi

    Bump.
    Will it be possible in Apex 4 with Websheets may be?

  • Interactive reports filter

    How can I run Interactive report only after entering all criteria ?

    vlablin,
    Are you hiding it because the report is slow without any filters? or because showing the full dataset not make sense?
    The thread here might be helpful: Re: Interactive Report Question
    - Marco

  • Interactive report based on a temporary table?

    hi -- I'm trying to get around some performance issues using database links, and the use of global temporary tables was suggested.
    However, the performance issue is in defining the query for an interactive report... and the allowable source for these seems to be more particular
    than for other queries / reports.
    I currently use asa collection the source of data for the IR -- works, but is SLOW for DB links.
    I don't know how much benefit to expect from the use of a global temporary table... but it seems I can't
    create an IR based on a temporary table... as when the query is parsed the table does not exist.
    Am I missing something? Has anyone done this?
    Thanks,
    Carol

    If you build the global temporary table and leave it in place, then it might work. Deleting and creating tables on the fly is NOT really suggested in Oracle. When you need to, you could in the page header execute a procedure to select/insert into the global temp table, since they normally clear out when your session is complete..
    Thank you,
    Tony Miller
    Webster, TX

  • Interactive Report Source Issue (Speed Related)

    Hi,
    I'm having a bit of an issue with an interactive report that forms the basis of an app i am creating. This was running fine until i decided to switch up the number of test rows from 100k to 5 million. The source for the report is as follows
    SELECT
      a.field_1,
      a.field_2,
      a.field_3,
      a.field_4,
      a.field_5,
      a.field_6,
      a.field_7
    FROM
      table_a a
    where
      (a.field_1 = :P1_VARIABLE_1
      or :P1_VARIABLE_1 is null)
      and (a.field_2 = :P1_VARIABLE_2
      or :P1_VARIABLE_2 is null)
      and (a.field_3 = :P1_VARIABLE_3
      or :P1_VARIABLE_3 is null)This takes about 60 seconds to run in the application environment when the variables are populated (far too slow) and less than 1 second when the variables are null. So far i have been unable to recreate this issue in PLSQL developer, i.e. when i run this query with substituted values for the variables it runs fine, the issue only occurs when running in the application. The search fields are indexed and i don't think this is the problem. I have changed the where clause of the query to the following:
    where
      a.field_1 = :P1_VARIABLE_1
      and a.field_2 = :P1_VARIABLE_2
      and a.field_3 = :P1_VARIABLE_3and this also runs in less than a second both in and out of apex (only with populated variables, without there are no results which is why i can't use this..), which i found very confusing. Has anyone come across any similar problems to this before? I really don't understand what's going on!
    Here's some of the debug:
    select
           null as apxws_row_pk,
           "FIELD_1",
           "FIELD_2",
           "FIELD_3",
           "FIELD_4",
           "FIELD_5",
           "FIELD_6",
           "FIELD_7"
    from (
    SELECT
      a.field_1,
      a.field_2,
      a.field_3,
      a.field_4,
      a.field_5,
      a.field_6,
      a.field_7
    FROM
      table_a a
    where
      (a.field_1 = :P1_VARIABLE_1
      or :P1_VARIABLE_1 is null)
      and (a.field_2 = :P1_VARIABLE_2
      or :P1_VARIABLE_2 is null)
      and (a.field_3 = :P1_VARIABLE_3
      or :P1_VARIABLE_3 is null)
    )  r
    0.18: binding: ":P1_VARIABLE_1"="P1_VARIABLE_1" value="value_1"
    0.18: ...Session State: Save "P1_VARIABLE_1" - saving same value: "value_1"
    0.18: binding: ":P1_VARIABLE_2"="P1_VARIABLE_2" value="value_2"
    0.18: ...Session State: Save "P1_VARIABLE_2" - saving same value: "value_2"
    0.18: binding: ":P1_VARIABLE_3"="P1_VARIABLE_3" value="value_3"
    0.19: ...Session State: Save "P1_VARIABLE_3" - saving same value: "value_3"
    78.82: Printing rows. Row window: 1-10. Rows found: 1Any help trying to speed this up would be greatly appreciated!
    Cheers,
    James
    Application Express 3.2.1.00.11
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0

    Gus C wrote:
    One thing I would try.
    Create a new report using the wizard and during the create process, say yes to enable search fieldsNot for an interactive report.

  • Interactive report - Function returning SQL query

    i notice that it is not possible to create an interactive report based on a function call. can anyone shed any light on why this is?
    also, is there a work around possible? i really dont want to store my SQL query inside a page in the application

    Craig,
    I tried the collection workaround as well but noticed that it gets incredible slow when data sets grow bigger. Depending on what you need maybe my solution is of help for you:
    I used multiple subpages with interactive reports, an iframe and a javascript function setting the iframe-src on the main page, see my last post on
    interactive report custom GO-Button (-process)
    Paul

  • Open document from interactive report

    Application Express version 4.0.2.00.07.
    In apex I am trying to accomplish the following:
    1. create a link to a pdf or Word document stored on local network using the file browse button.
    2. store the link to that file in my table but not store the actual document in the oracle table.
    3. open the document from link in interactive report.
    My dba does not want to store anymore documents into oracle because of performance issues we are experiencing with current applications that do this. Does anyone know the where to find sample code that will accomplish this task or will load the linked document into the oracle table but delete the document from the blob when the document is closed.

    You're probably looking to use the BFILE functionality - a pointer to a LOB on the filesystem.
    Try looking at some of the following sources for guidance
    http://docs.oracle.com/cd/B10501_01/appdev.920/a96591/adl12bfl.htm
    APEX BFILE
    http://monkeyonoracle.blogspot.com.au/2009/10/storing-images-outside-oracle-xe-with.html
    Scott

Maybe you are looking for

  • Use ADF in E-Business suite r12

    Hi I user E-Business suite r12, is there any document how to use ADF embded inside OAF. Thanks

  • Updating my iphone 3gs biiiiiiiiig problem!!!!!

    Urgeeeeeeeeeent plzzzzzz. I updated my iphone 3gs to iso5 and before updating i made backup for my phone and after that i can't restore my app., contacts, sms, every thing on my mobile......I have made restore from the backup and nothing happened ???

  • Backing up or Syncing iPhone question

    I can't re-write all I've written..... but, I don't understand why you have back up and sync, what is the difference between syncing and backing up in iTunes, and should I have backed up before I synced...? Hence all the games are not saved where you

  • Invalid ELF Heder [possible solution, for the unlucky]

    well i duno whre to post this, but whatevr.. [woffle] yesterday i found that for whatever reason a lot of apps stop working , and instead started complaining about libc.so..6 having an invalid ELF Header... [?] i dunno, that was before and after the

  • Raw material usage calcutation

    Hi , I have requirement to calculate rawmaterial  consumption . Plaese guide me on what fileds  and tables baed i can calculate the consumption . Thanks Shankar