How to speed up the performance in Oracle APEX - Classical Report loading

Hi,
I am using APEX 4.2, DB 11.2.
I have created 2 reports in the page and the time that is taken to load this page is very huge.
To speed up the performance materialized views were used on queries, but still the performance is the same.
checked the app in DEBUG mode, the following event takes a lot of time to execute:
0.08415 4.76698 rows loop: 15 row(s) the query onky takes very less time to execute
0.08184 0.00181

ghini wrote:
Hi,
I am using APEX 4.2, DB 11.2.
I have created 2 reports in the page and the time that is taken to load this page is very huge.
To speed up the performance materialized views were used on queries, but still the performance is the same.
checked the app in DEBUG mode, the following event takes a lot of time to execute:
0.08415 4.76698 rows loop: 15 row(s) the query onky takes very less time to execute
0.08184 0.00181
Check query performance very carefully. If you execute the SQL more than once in a short amount of time the data will be in memory and accessed more quickly. It is possible that your fast response time was against cached data and therefore faster. If this is the case further tuning the SQL (the MV query) may help.
It is also possible the slowness is due to other factors - network, firewall, antivirus software, etc. I am running Apex on my laptop using the embedded pl/sql gateway and due to antivirus and security software it can take pages 30 seconds or more to load.

Similar Messages

  • Oracle APEX Classic Report Break Formatting

    I created a classic report. Under report attributes I defined Break Formatting as "First, Second and Third Column".
    The data columns for this report are Domain, Discipline, TechnologyArea and Products.
    Domain is the parent. Discipline is a child of domain. TechnologyArea is the child of Discipline. Products are children of TechnologyAreas.
    Domain prints in the first column, Discipline in the second, TechnologyArea in the third and Product in the fourth. There are one to many products for any TechnologyArea - and one to many TechnologyAreas for any Discipline - and one to many Disciplines for any Domain. The report is sorted on Domain, Discipline, TechnolgyArea and Product. Therefore domain prints over and over and over. Discipline prints over and over until it changes. TechnologyArea prints several times before it changes. I don't like that.
    I want the report to print Domain and not print it again until it changes. I want it to do the save for Discipline and TechnologyArea.
    I set break formatting to "First, Second and Thrid Column". Now Domain prints once and does not print again until it changes. So far so good! Now Discipline prints once and does not print on subsequent rows until the discipline changes. So far so good! The TechnologyArea name prints on every row. That's not good.
    Given this pattern, if there were an option for First, Second, Third and Fourth columns I think that would give me the report I want - but there's not. Can anyone tell me how to stop TechnologyArea from repeating on every row?

    This look about right?
    notice the last two records in the with statement are duplicates.
    with test_data as(
        select 'MAMMAL' domain, 'DOG' discepline, 'BEAGLE' technologyArea, 'SQUEEKY TOY' product from dual union all
        select 'MAMMAL',  'DOG' ,   'RETRIEVER', 'SQUEEKY TOY' from dual union all
        select 'MAMMAL',  'CAT' ,   'LION',      'SQUEEKY TOY'  from dual union all
        select 'MAMMAL',  'CAT' ,   'CHEETAH',   'SQUEEKY TOY'  from dual union all
        select 'MAMMAL',  'DOG' ,   'DINGO',     'SQUEEKY TOY'  from dual union all
        select 'REPTILE', 'LIZARD', 'IGUANA',    'LARGE ROCK' from dual union all
        select 'REPTILE', 'LIZARD', 'GUILLA MONSTER', 'LARGE ROCK' from dual union all
        select 'REPTILE', 'SNAKE',  'CORAL',     'LARGE ROCK' from dual union all
        select 'REPTILE', 'SNAKE',  'PYTHON',    'LARGE ROCK' from dual union all
        select 'REPTILE', 'SNAKE',  'KING',      'LARGE ROCK' from dual union all
        select 'MAMMAL',  'DOG' ,   'BEAGLE',    'BONE' from dual union all
        select 'MAMMAL',  'DOG' ,   'RETRIEVER', 'BONE' from dual union all
        select 'MAMMAL',  'CAT' ,   'LION',      'BONE' from dual union all
        select 'MAMMAL',  'DOG' ,   'DINGO',     'BONE'  from dual union all
        select 'REPTILE', 'LIZARD', 'IGUANA',    'HEAT LAMP' from dual union all
        select 'REPTILE', 'LIZARD', 'GUILLA MONSTER', 'HEAT LAMP' from dual union all
        select 'REPTILE', 'SNAKE',  'CORAL',     'HEAT LAMP' from dual union all
        select 'REPTILE', 'SNAKE',  'PYTHON',    'HEAT LAMP' from dual union all
        select 'REPTILE', 'SNAKE',  'KING',      'HEAT LAMP' from dual union all
        select 'MAMMAL',  'CAT' ,   'CHEETAH',   'BONE' from dual union all
        select 'MAMMAL',  'CAT' ,   'CHEETAH',   'BONE' from dual
    select * from(
    select
        case when domain         != nvl(domain_lag,        ':START:') then domain         else null end as domain,
        case when discepline     != nvl(discepline_lag,    ':START:') then discepline     else null end as discepline,
        case when technologyarea != nvl(technologyarea_lag,':START:') then technologyarea else null end as technologyarea,
        case when product        != nvl(product_lag,       ':START:') then product        else null end as product
    from(
        select domain, discepline, technologyarea, product,
               lag(domain,1)         over(order by domain, discepline, technologyarea, product) domain_lag,
               lag(discepline,1)     over(order by domain, discepline, technologyarea, product) discepline_lag,
               lag(technologyarea,1) over(order by domain, discepline, technologyarea, product) technologyarea_lag,
               lag(product,1)        over(order by domain, discepline, technologyarea, product) product_lag
          from test_data
         order by domain, discepline, technologyarea, product)
    where coalesce(product, technologyarea, discepline, domain) is not null
    edit
    I did not understand the question properly before submitting this. Here it is anyway.
    Cheers,
    Tyson Jouglet
    Edited by: Tyson Jouglet on Jan 26, 2011 2:42 PM

  • Any idea how to speed up the performance of my Macbook Pro?

    I bought a MacbookPro in 2008, it's been great till now when I updated it on Snow Leopard first and Lion later on, has slowed down since.
    I was wonder if there is any way to speed it up. I've been using the CleanGenius Free program to clean it, but it doesn't improve much.
    Any Idea?
    MacBook Pro
    Processor  2.2 GHz Intel Core 2 Duo
    Memory  2 GB 667 MHz DDR2 SDRAM
    Graphics  NVIDIA GeForce 8600M GT 128 MB
    Software  Mac OS X Lion 10.7.4 (11E53)
    Cheers

    I would avoid such cleaning programs.
    Have you adequate free disk space? Allow at least 20GB.
    Have you enough RAM? Use Activity Monitor, System Memory tab to see if you have some free RAM. If not, watch the page ins/page outs figures - if page outs climbs rapidly, you probably need more RAM.
    In Activity Monitor, look to see which processes are using most CPU.
    Do a system restart every day, as this helps flush out temp files, log files etc.

  • How to speed up the BEA weblogic workshop perforkmance?

    Hi,
    Does anybody knows how to speed up the BEA weblogic workshop,as it consumes heavy memory.
    I've configured the settings in workshop.cfg file and set the maximum memory size as 1024m midium size 516m and minimum size as 256m
    and deleted all the files from .workshop directory before open up the workshop file.
    But it hanging up the system when i opened the worshop file after some time. what could be the problem . i am using 2GB ram size

    Hi Vishnu,
    I agree this can also be one of the reason for the performance. There is Trend Micro Office Scan client installed on my system, but i couldn't not do any settings ,as it is disabled by sys admin .
    however, i removed all the scanning processes from task manager and set the high priority for the java process! still, no improvement. There are only few jpd files not even 500kb size, but when i open them, weblogic cried and utilized lots lots of memory! :-(
    I am afraid to open the weblogic which had jpd files,as it hanged my whole system, unable to perform any other tasks!

  • How to speed up the deletion of 11million records from the table

    Hi,
    How to speed up the deletion of 11million records from the table.
    I need expiditious reply. Please do the needfull in advising
    Regards

    Please try to understand the question.Well it would help if you would answer some of the questions you have been asked as your question is not complete and clear and no matter how hard we try, we really need you to try and ask the question properly.
    So as previously asked
    Which simply supports the idea that we need:
    1) better definition of the business purpose (why)
    2) oracle version
    3) operating system
    4) hardware configuration
    to give a moderately accurate answer.
    I would like to add
    5) How many rows in total in the table to begin with.
    6) What is your delete statement
    7) Is this a one time operation or will it happen regularly
    8) Can you use partitioning.

  • How to speed up the loading of live data into flash file.

    How to speed up the loading of live data into flash file if the swf file size is 1.5 MB. Flash file is using 20 web service connections to load the live data.

    Hello,
    I am also facing a similar problem wherein the SWF file takes time to load the refreshed data in Infoview i.e. after exporting the xlf file to Business Objects platform. Currently I am using Xcelcius Engage/Enterprise 2008 SP3 Windows (file name: 51038212.ZIP) version 5.3.0.0 build number 12,3,0,670. Also the SWF file is approximately 2MB in size  and it uses 42 live office connections.
    Please suggest solution as to how to decrease the time it takes to refresh the live office connections.

  • How can I check the version of Oracle in Linux?

    Dear all :
    How can I check the version of Oracle in Linux ?
    Regards
    Terry

    Hi terry;
    How can I check the version of Oracle in Linux ?You mean your db version or something else? If you mean you want to control your version issue is:
    source env file as oramgr
    sqlplus "/as sysdba"
    when u login sqlplus it will give u something as below:
    SQL*Plus: Release 10.2.0.4.0 - Production on
    Regard
    Helios

  • How can I Improve the Performance using Global Temo Tables ??

    Hi,
    Can anyone tell me , How can i make use of Global Temporary Tables to improve the Performance.
    I have few sample scripts ,
    Say i have the View based on some Complex query like ,
    CREATE OR REPLACE VIEW Profile_values_view AS
    SELECT d.Profile_option_name, d.Profile_option_id, Profile_option_value,
    u.User_name, Level_id, Level_code
    FROM Profile_definitions d, Profile_values v, Profile_users u
    WHERE d.Profile_option_id = v.Profile_option_id
    AND ((Level_code = 'USER' AND Level_id = U.User_id) OR
    (Level_code = 'DEPARTMENT' AND Level_id = U.Department_id) OR
    (Level_code = 'SITE'))
    AND NOT EXISTS (SELECT 1 FROM PROFILE_VALUES P
    WHERE P.PROFILE_OPTION_ID = V.PROFILE_OPTION_ID
    AND ((Level_code = 'USER' AND
    level_id = u.User_id) OR
    (Level_code = 'DEPARTMENT' AND
    level_id = u.Department_id) OR
    (Level_code = 'SITE'))
    AND INSTR('USERDEPARTMENTSITE', v.Level_code) >
    INSTR('USERDEPARTMENTSITE', p.Level_code));
    Now i have created the Global temp Table as ,
    CREATE GLOBAL TEMPORARY TABLE Profile_values_temp
    Profile_option_name VARCHAR(60) NOT NULL,
    Profile_option_id NUMBER(4) NOT NULL,
    Profile_option_value VARCHAR2(20) NOT NULL,
    Level_code VARCHAR2(10) ,
    Level_id NUMBER(4) ,
    CONSTRAINT Profile_values_temp_pk
    PRIMARY KEY (Profile_option_id)
    ) ON COMMIT PRESERVE ROWS ORGANIZATION INDEX;
    Now I am Inserting the Records into Temp table as
    INSERT INTO Profile_values_temp
    (Profile_option_name, Profile_option_id, Profile_option_value,
    Level_code, Level_id)
    SELECT Profile_option_name, Profile_option_id, Profile_option_value,
    Level_code, Level_id
    FROM Profile_values_view;
    COMMIT;
    Now what my doubt is, when do i need to execute the Insert Statement.
    Say , if the View returns few millions of records , then loading such a data into Global Temporary table takes lot of time.
    Then what is the use of Global Temporary tables and how can i improve the Performance using the same.
    Raj

    Thanks for the responce ,
    There are 2 to 3 complex views in our database, and there always be more than 5000+ users will be workinf on the application and is OLTP application. Those complex views are killing the application performance.
    I what i felt was, if i create the Global Temporary tables for thow views and will be able to load the one third million of records returned by the views in to cache and can improve the application performance.
    I have created the Global Temporary tables for 2 views with the option On Commit Preserve , But after am inserting the records into the Temp table and when i Issue the commit statement, the Temp table is getting Cleared.
    I really got surpised of this behaviour as i know that with the Option On Commit Preserve , the rows should retain in the Temp Table, Instead , it's getting cleared.
    Pelase suggest , what to do ??
    Raj

  • How can i do the RAC with Oracle 9i ?

    How can i do the RAC with Oracle 9i ?
    The Oracle 9i has a RAC(Real Application Cluster)module , please who can tell me how can i let it working .
    Which hardware the RAC need's
    Thank All ,
    [email protected]

    That is right you need atleast 2 boxes. The two servers will use the same hard disks.
    The concept is an extension of OPS(Oracle Parallel Server).
    Basically, you install Oracle Server Software on both the boxes, One database will be shared by both the servers. You can access your database through the Server1 or Server2. If Server1 fails then the Server2 will take over all the connections. You can add or remove any servers to and from the cluster any time you want with out impacting your production.
    They share load, reliable, scalable....

  • How can I improve the performance of my MBP battery?

    Hi, I've had my MBP 2.2GHz for about 2 months and a half now. I use the iStat Pro widget, and it says I've cycled the battery 94 times and the health is down to 92%.
    I've looked up how to optimize the performance and realized I've misused my battery excessively. I use the WI-Fi 95% of the time. I mainly use it for school. This is what a day in use usualy is:
    Charging all night, about an hour of use without power source, half an hour of use connected to the power source, about an hour of use without power source, 40 minutes with power source, and then asleep until I get home and use it usually connected to a power source unless not in my desk.
    I still don't quite get what exactly the cycles mean, but I'll be calibrating the battery soon.
    The question is: How could I optimize the performance to my battery and what habits will make it last longer? Is there any way I could recover the health of it? I plan on buying a new battery soon.

    Welcome to the Forums!
    Actually, you are already using your battery in an optimal manner. Li-based batteries need to be used frequently and 'lightly' (i.e. not fully discharged too often) for best longevity. 92% health after 94 cycles is good (Apple specification is 80% health for 300 cycles).
    You should properly calibrate your battery every 2 months or so:
    http://docs.info.apple.com/article.html?artnum=86284
    For more info on batteries and a what constitutes a cycle, see these pages:
    http://www.apple.com/batteries
    http://www.apple.com/batteries/notebooks.html
    Hope this helps...

  • How can I improve the performance of my app?

    Hi,
    I have written an java application. This app makes a large number of calls on a method getting a value from an array. Profling the app reveals that it spends more than 90% of the time in this call. Because the app makes so many calls to this method the app isnt running as fast as it should!!! Can someone tell me how I can improve the performance of the app? Are there any techniques that I can use to improve the performance?

    paul_b wrote:
    I have written an java application. This app makes a large number of calls on a method getting a value from an array. Profling the app reveals that it spends more than 90% of the time in this call. Sounds like you should optimise that call. Either change the code in the call so it is faster or call it less often.
    Because the app makes so many calls to this method the app isnt running as fast as it should!!! It will run faster if you get it to do less work, if it is doing only the work it should do then that is how fast it is.
    Can someone tell me how I can improve the performance of the app? Are there any techniques that I can use to improve the performance?Optimise the code, call it less often, use a server or servers with more resources/CPU.

  • IPod classic content is missing from my iTunes library after a reinstallation of Windows 7 on my PC. How do I restore the contents of my iPod classic to my iTunes library WITHOUT losing that content on my iPod?

    iPod classic content is missing from my iTunes library after a reinstallation of Windows 7 on my PC. How do I restore the contents of my iPod classic to my iTunes library WITHOUT losing that content on my iPod?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • My hard drive with all my actual music files died.  how can I transfer the music on my ipod classic to another drive?

    my hard drive with all my actual music files died.  how can I transfer the music on my ipod classic to another drive?

    If you purchased all of the songs through itunes store, please follow these steps:
    1. Open up Itunes and Click on Itunes Store
    2. Once you're in the Itunes Store look to right side of the screen and you should see the word "purchased". Click purchased and you'll be sent to a purchase screen.
    3. Click on "All Songs" and then it will show all the songs you've downloaded. From there you just hit the button that looks like a cloud with an arrow on it, and it will download all the songs all over again.
    If you didn't purchase them through Itunes, then you'll have to download software that will strip the songs from your iPod onto your computer. Here is a guide about how to copy iPod music. Hope it helps. Feel free to email me if you need further help.

  • How do I get the volume on my ipod classic to the same level for all songs?  Some are louder than others.

    How do I get the volume on my ipod classic to the same level for all songs?  Some songs are a lot lower than others.

    Coverflow in iTunes is sorted by Album Artist whereas coverflow on the iPod classic is sorted by Artist. Unfortunately, there is no way to set this on your iPod. This is such a fumble on Apple's part that I'm beginning to think they're becoming another Microsloth with buggy firmware and products.

  • How do i transfer the songs on my ipod classic, ones i put on from cds, to itunes on my new computer??

    how do i transfer the songs on my ipod classic, ones i put on from cds, to itunes on my new computer??

    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

Maybe you are looking for