Apex 4.0 install note - watch out for PLSQL_OPTIMIZE_LEVEL 3 in 11g!

Hi all,
I just wanted to share a tidbit I found during installation Apex 4.0 on an 11.2.0.1.1 database on a slower computer...
We had our PLSQL_OPTIMIZE_LEVEL set to 3 to enable code-inlining for PL/SQL objects - and this REALLY slowed down the apex installation big time. It was so slow I aborted the install, then restarted after setting it down to level 2.
After setting it to level 2 - it really sped up and installed fine.
I just wanted to share this in case others run into a hanging install like I did...
I'm thinking that apexins.sql should be modified to "ALTER SESSION SET plsql_optimize_level = 2;" before proceeding - but before then - be sure to keep an eye out for this...
Good luck!
Edited by: Philbewan on Jun 24, 2010 6:14 PM

Hi Phil,
Thanks for posting this information.
I've installed APEX 4.0 with optimization level 3 and code=type = native in an 11.2.0.1 database, and you're correct - it took a while. And I imagine on a "slower computer", this will take even longer. But I reason this is to be expected - you're asking the PL/SQL optimizing compiler to be most aggressive in its optimization against the PL/SQL objects of Application Express...and as you know, there is a lot of PL/SQL in Application Express.
Also, the installation and compilation step is a one-time event. If you're looking for maximum performance for each and every page view (execution of the APEX engine for millions of page views), the extra cost of time associated with installation seems almost trivial, by comparison.
I don't agree that apexins.sql should be modified to alter the PL/SQL optimization level. Customers have it set for a particular reason and the Application Express installer shouldn't override that.
Regardless, I do believe your advice to be aware of this setting is worthwhile for the APEX community. Thanks for sharing this.
Joel

Similar Messages

  • What do I need to watch out for when installing Mountain Lion from scratch?

    I feel like it's a good moment to erase everything from my computer and reinstall Mountain Lion. I'd like to know which things I should watch out for.
    Most of my important stuff is located on an external hard drive. Some of the applications are located there as well, the other ones I can simply re-downloading, I don't mind this.
    I have my whole iTunes library and my iPhoto library which obviously I'd like to keep. I'm also concerned about my text messages on my iPhone -- they're very important to me. And so are also my Notes, Reminders, and Contacts.
    The thing is, I do not want to do a fresh install and then reload a backup. What would be the sense of making this? None I guess... I'm doing a fresh install becuase I believe there's lots of useless files and maybe even dangerous files on my Mac that I'd like to get rid of. I guess that if I would load the backup, they would all be here again...
    Is it maybe possible to load only certain things from Time Machine, for example my iPhoto or iTunes library?
    Maybe someone can help me here, totally new with this...

    Alright, I'm slowly getting ready to do this. Apparently I do not need an install DVD but I can just press CMD+R to get to the option to do a fresh install, that's why my Mac didn't come with an install DVD (that's what I've read and what I've been told at least).
    Now I'm wondering... do I need to copy those items from the User folder at all? I mean, I have a complete backup on an external hard drive. I could just go there in the folders and select what I would like to copy to my Mac again, suchs as my music library or photo library. Is there any risks? I'm worried about even the smallest things, like creation dates changing and stuff like this. They mean something to me

  • Something to watch out for...

    hi, i was getting pretty desperate with my pc the other day, so i bought a gigabyte mobo, to try my cpu out on..
    all started ok, untill installing graphic's drivers and such when i started to get the all familiar 0x0000007f errors..
    so i looked at my cpu a bit more carefully, and guess what...
    on 3 of the pins was a thin layer of heatsink paste..
    so, with the help of a cheap toothbrush i cleaned the pins and put my old 875pNeo back to work..
    yep.. i feel really dumb.
    but got to thinking, how many others may well have greasy finger prints or heatsink goop on their pins??
    hope it helps..

    The CPU pins are really something to watch out for as if something goes wrong there, it'll goes wrong everywhere !!!
    My friend's client try to fix up a P4 3.0GHz HT system himself so he don't need to pay for installation charges and the next day, he brought it back to the shop complaining that he was given a bad CPU, my friend tested the system and found out that was completely no sign of life after hitting the power button. At wits ends, we decided to take everything out to check and we were shocked to near death ... guess what... the socket handle wasn't even pushed in completely to lock the CPU into the socket and he has placed the CPU chip wrong without following the golden arrow and it caused the one empty socket and one fully bent down golden pin, what's worse was the Z-Bracket for the heatsink was not fully fixed in!!! So that wasn't a complete force to push the heatsink down to fully contact with the CPU chip... I've no idea how he set the whole thing up in such a mess... .
    This bad setup has burn down the CPU itself due to overheating, one burnt CPU socket (almost the whole mobo was burn down...), one burnt FX5600 VGA card, 2 burnt DDR400 RAMs, 2 burnt dimm slots, 2 burnt SATA 120GB Seagate HDDs, 1 burnt CWT 550watts PSU and 2 burnt black and half melted IDE cables .

  • What is the recommended upgrade for OSX 10.6.8 and what should I watch out for with the upgrade?

    I would like to know whether there is a recommended upgrade for OSX 10.6.8.  Is it Mountain Lion?  Is there anything I should watch out for in case I do the upgrade?  My computer is not working optimally and now my external drive (My Passport, 1TB) is not recognized by my computer.  Thanks!

    You should try to get your computer working before you upgrade.
    Check that your computer is compatible with Mountain Lion/Mavericks/Yosemite.
    To check the model number hold down the option/alt key, go to the Apple menu and select System Information.
    MacBook Pro (Mid/Late 2007 or newer) model number 3,1 or higher
    Your Mac needs:
    OS X v10.6.8 or OS X Lion already installed
    2 GB or more of memory (More is better - 4 GB minimum seems to be the consensus)
    8 GB or more of available space
    Check to make sure your applications are compatible. PowerPC applications are no longer supported after 10.6.      
    Application Compatibility
    Applications Compatibility (2)
    Do a backup before installing.

  • Two Q's: HD noise, and need to watch out for anything after minor "fall"?

    Apologies in advance; I'm guessing that I'm concerned about nothing in both cases here, but I figured it wouldn't hurt to ask (besides making me look paranoid :D).
    1) You know that "grinding/clicking" noise HDs typically make when working? (I mean the one normally associated with HDs, not any of the "click of death" stuff.) Occasionally, I hear a single grind/click that's louder and/or sharper than the usual. Anyone else hear that? I'm assuming it's normal, but just asking.
    2) I put my laptop down on a wad of sheets atop a futon of mine while I did something else. Unlike usual, the laptop slid off the sheets onto the surface of the futon. The momentum caused it to further slide off the edge of the futon onto the carpeted floor (about 10.5 inches off the floor; it's a thick futon) with a very audible "thunk." It landed with one edge still propped on the edge of the futon, and I believe, tho' I'm not 100% sure, it landed hinge-side first.
    Any chance anything got jarred out of whack or anything like that? Anything I should watch out for as I use it (as I'm doing now; seems fine so far)?
    Thanks.

    LeaperBP wrote:
    Perhaps, then, "grinding" wasn't the best word, because it definitely wasn't any sound that I haven't heard from a perfectly functioning HD before - just a little louder. "Whirring"? Hmm.
    This still concerns me. The HD should not make any noise other then a very light tick or click caused by the r/w head seeking a track or another slightly louder click or even clunk when the heads park. The parking is a one time thing, repeated as often as once every half minute or so under some undesirable circumstances, not a continuous chatter of any kind. Normally it should only sound when you power down or when you move the computer.
    One other normal sound is a "white noise" sound caused by the rushing of air as the platters spin. They spin at a constant speed but the whooooosh sound made can vary slightly due to the fact the r/w head may be near the center of the platters or near the outer edge, each place making a slightly different noise. The whooosh sound maybe should be described as a continuous shhh. It is always present when the drive spins if it is audible at all on any given drive. On slower drives, 5400 RPM, it can be virtually silent.
    A hard drive can have a vibration that can be felt in the hand, and can also be heard as a hum. It will also be constant whenever the drive is spinning. It does not come an go. It is by far more common in 7200 RPM or faster drives.
    • light clicking = head seek
    • louder single click/clunk = head park
    • shhh = air turbulence caused by spinning platters
    • continuous hum = vibration caused by spinning platters

  • Watch out for EZ numbers

    Watch out for a new class of phone numbers Verizon has termed "EZ numbers". Here in Philadelphia PA they are all in the 215-936 exchange, which was formerly only used for Verizon's weather forecasts. These numbers are an offshoot of 900 and 976 numbers and cost $5.00 per call. They give out passcodes for people to use on datelines, partylines etc.  These numbers are never blocked automatically by Verizon; you have to call the business office and request it. Unfortunately knowledge about this is so rare that even some Verizon reps will not know what you are talking about but most will. These numbers are advertised by the datelines and partylines themselves. Also even if you get a block put on for these services, ordering certain optional features on your line such as Do Not Disturb or Call Intercept may cause the block to disappear as itt is not compatible with certain Verizon services. Be careful because if charges are made on your phone from these numbers Verizon will not take them off your bill and will then block BOTH your toll and non basic services until the charges are paid.

    I was on the phone with customer service for an hour because I didn't understand my bill. I'm absolutely positive I'm paying the same amount I was previously, I'm absolutely sure that I have one less gig of data than I did previously and I'm absolutely sure that the sales person left out the details that would have told me this when I switched plans. The only compromise that happened here is I lost a gig of data because I believed what I heard at the store. It was a total misrepresentation presented in a way that's hard to pass up.
    I'm done with Verizon regardless, I'm just spreading the word in the hopes that it helps others avoid this situation. I guess the one good thing is that it's not an extended contract so I can switch to another provider sooner than later.

  • Watch out for Wondershare

    Watch out for Wondershare DVD for iPhone converter. Doesn't work and their support is really bad. Insulting and not helpful. Try everything else before you try them.

    I was on the phone with customer service for an hour because I didn't understand my bill. I'm absolutely positive I'm paying the same amount I was previously, I'm absolutely sure that I have one less gig of data than I did previously and I'm absolutely sure that the sales person left out the details that would have told me this when I switched plans. The only compromise that happened here is I lost a gig of data because I believed what I heard at the store. It was a total misrepresentation presented in a way that's hard to pass up.
    I'm done with Verizon regardless, I'm just spreading the word in the hopes that it helps others avoid this situation. I guess the one good thing is that it's not an extended contract so I can switch to another provider sooner than later.

  • 2-3 things to watch out for when SAP is the source for a Data Warehouse

    Hello
    What are 2-3 things to watch out for when SAP is the source for a Data Warehouse (Informatica for ETL and Cognos for reporting)?
    Thanks
    G. Vijay

    Going through some or all of this might help:
    Empty Safari's cache (from the Safari menu), then close Safari.
    Go to Home/Library/Safari and delete the following files:
    form values
    download.plist
    Then go to Home/Library/Preferences and delete
    com.apple.Safari.plist
    Repair permissions (in Disk Utility).
    Start up Safari again, and things should have improved.
    If not, MacFixit have published a very detailed (very!) article on speeding up a slow Safari, here:
    http://www.macfixit.com/article.php?story=20070416000657464
    Many, including me, have also followed the advice given by others here to add DNS codes to their Network Settings, with good results in terms of speed-up:
    Open System Preferences/Network. Double click on your connection type, or select it in the drop-down menu. Click on TCP/IP and in the box marked 'DNS Servers' enter the following two numbers:
    208.67.222.220
    208.67.220.222
    Click on Apply Now and close the window.
    Restart Safari, and repair permissions.

  • TS1424 A movie I bought (not rented) on Itunes stopped working after not watching it for over a year.  Now it just shows a black screen.

    A few years ago I bought GI Joe The Rise of Cobra on Itunes (not rented, bought).  Now, after not watching it for at least a year, when I try to play it all I get is a black screen.  How can I fix this?

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar

  • What gotchas should we watch out for when porting code from the Adobe SDK to the Acrobat SDK?

    What gotchas should we watch out for when porting code from the Adobe SDK to the Acrobat SDK?
    ... and the other way around?
    I have found some evidence that the preprocessor variable PLUGIN seems to prevent macros from includes from being defined. The NPROC and SPROC constructs seem to be involved (partners in crime, if you will).
    -Ramon
    ps: Please see my related thread "What is the difference between xxProcs.h and xxCalls.h?"

    Here's a gotcha that I bumped into:
    extern "C" HINSTANCE gHINSTANCE;
    I found it in a successfully developed code on the Windows/Plugin side. It is something that I had never used on the APDFL side AND my Windows linker is complaining about several gXXXX missing functions.
    IOW: It sounds like the above statement is the solution to my linking problems. Somehow the APDFL seems to take care of the C vs. C++ details.
    -Ramon

  • Good evening, after upgrading Iphoto 9.5 a page opened requiring to upgrade my library. As it did not work out,for fear of losing all my pictures I  loaded Iphoto 9.4.3  with Time machine but I had lost quite a few photos. As a matter of fact, after searc

    Good evening,
    after upgrading Iphoto 9.5 a page opened requiring to upgrade my library. As it did not work out,for fear of losing all my pictures I  loaded Iphoto 9.4.3  with Time machine but I had lost quite a few photos. As a matter of fact, after searching , I found them In Photo library in 'images' on my hard drive. When I double click, 9.5 appears with all my pictures. Therefore, I would like to use 9.5 just by by clicking on the icon down my finder and  not by being obliged to open my hard drive.
    Would you please tell me what I should do. Thank you.
    Best regards,
    Robert

    Huh?
    As it did not work out,for fear of losing all my pictures I  loaded Iphoto 9.4.3  with Time machine but I had lost quite a few photos. As a matter of fact, after searching , I found them In Photo library in 'images' on my hard drive. When I double click, 9.5 appears with all my pictures.
    So, you have restored 9.4.3 from Time Machine but can see all your pictures in 9.5?
    Do you have two version of iPhoto on your Machine?
    And if you didn't update the Library, ("as it did not work out,") how can you see things in 9.5?
    So, whatever set up you have is confusing.

  • What to watch out for on craig'slist

    Found a 32g wi fi for $230 on craig'slist. When something is to good to be true it usually is. Is there something I should watch out for.
    Thanks

    What to look out for is "the ad is on CL". :>
    I have done a couple deals thru CL. A few seemed like scams, a couple I know were and the ones
    that did go mostly well, the people said they would pay what I was asking then when we met, all tried
    to get me to go lower. I guess they think that when your there and they are waving $, you will sell
    instead of leaving and trying again.

  • Verizon Navigator: Watch out for wrong directions!

    If you downloaded Verizon Navigator, watch out!  Make sure the directions are accurate before you start your trip!
    I tried to use Verizon Navigator on a trip last week, to return to Raleigh Durham airport from Wilmington, NC.  My starting address was in Wilmington, on a standard residential street.  (Not a dirt road or unusual location.)  My destination was RDU -- the Raleigh Durham Airport -- also a well-known address on I40.
    Navigator worked fine during the week for trips around Wilmington, so I thought there would not be a problem with the return to RDU.  Wrong!  Navigator sent me on a wild goose chase up Route 421.  When I reached the junction with Route 17 (with a sign "To I40"), Navigator told me, "Make a legal U-turn then drive 52 miles..."  At that point, I knew Navigator was lost.  So I took Route 17 to I-40 -- and switched to Google Maps. 
    This round-about trip up 421 and back to I40 ran through central Wilmington, which wasted 45+ minutes.  I almost missed my flight at RDU.
    If you decide to use Verizon Navigator, be sure to check the directions and route before you start!
    I hope this is helpful,
    Mark

    Look, not only can you get incorrect information from a Verizon rep, odds are that if you call three different reps with the same question, you will get three different answers - and all three could be wrong.
    I called once because activating a new phone had knocked a promo off my account (after I had been assured it wouldn't when I signed up and extended my contract). The first rep told me I couldn't have the promo back, that it was physically impossible to put the code back on my account as the system wouldn't allow it. I hung up and called right back, and rep number 2 said, "No problem," and had it back on in two minutes.
    This same rep then told me that the promo was only valid for 12 months, then I'd go back to regular price. When I had signed up and extended my contract, I was assured that the promo would continue the entire two years ( I asked repeatedly). Hung up again, got another rep who told me it would last the entire contract. Asked for a supervisor, who put me on hold for 5 minutes, then came back  to tell me it would stay in effect until I changed plans (beyond 2 years if I stay with the same plan)
    Three reps, three answers. And don't bother asking them to send you their answer in writing - they will NOT under any circumstances put their words down in writing. They will offer to notate it in your account, but who knows if they actually do. And, how can you prove it's there if the issue arises?

  • The error showing as Fiscal year change has not carried out for the coCd

    Hi all,
    I am facing a very critical situation. My client has the last closed fiscal year as 2006(from 2006 april to 2007 march).For the fiscal yr. 2007(2007april to 2008 march) they have already finalised and submitted the reports made from some parallel software.They now want to tally this report with SAP system and to adjust the SAP system entries as per this report.This work was running fine.But on 01.04.2009 none of the asset reports are running.The error it's throwing is as-
    Fiscal year change not yet made for company code PWAL
    Message no. AB059
    Diagnosis
    You have not yet carried out a fiscal year change for company code PWAL, although the current system date is in the new fiscal year.
    Procedure
    Carry out the fiscal year change for company code PWAL.
    Proceed
    The error is quite understandable.We have to close 2007 and then perform the fiscal year change.But the problem is that the adjustment for the year 2007 is not yet complete.Is it the only solution with me that I should close the yr.2007 and again open it after the fiscal yr. change? If that is done can I take care of the adjustment in the posted depreciation? Or is it possible that the system date can be made back to 31.03.2009(very stupid ask!). The real problem is that my client has mistakely created some assets in the year 2007(by AS91 after changing the take over date) those should have been shown in the next year and also some assets are creted in the year 2008 by the same strange method those should be shown in the year 2007.What I am doing now is deleting these legacy assets and creating the new assets in the correct year.And this process is not yet complete.If I close the year 2007, then the depreciation of these legacy assets will also be posted.Later how can I reverse the effect?Also without seeing the reports I can't make the adjustments.Please suggest/advice.
    Debabrata

    Hi Debabrata,
    You have to do all fiscal year closing steps for 2007. When you reopen it you can do a repeat run for 2007. (You can do the reapeat run only for the new/ changed assets.)
    Try first to test this in an actual test system (document it and do the same in production). Perhaps as you know when 2009 is open I want to close 2008 in one week.  All changes they make in the asset system (change depreciation keys, recalulating,...) can result in postings in 2007 / 2008 what they don't want and later fiscal year problems. You will found a lot off masages about this on the form.

  • Planning on Buying Used 2008 Black Macbook on Craiglist, what should I watch out for?

    I have one in mind already and hte owner say that the battery is shot.  but i have a 2008 macbook battery at home that I will replace that with.  What are some things that i can do to test the computer to make sure everyhting else is in working order.  What are some things to look out for?

    DO NOT buy it unless it comes with the origional 2 discs that shipped with it.  Ask to use disc 2 to run the Apple Hardware Test before you purchase it.  Make sure EVERYTHING works.  Bring a cd/dvd with you to test the optical drive.  Open TextEdit or any word processing program they have on it and test EVERY key.  Also, check
    mac2sell.net to make sure they are asking a reasonable price.  Overall, use common sense.

Maybe you are looking for

  • Is there a way to see what movies are discounted (4.99) in itunes?

    Besides the weekly ad banners in itunes displaying any sales, is there an easy way to see which other movies are discounted in itunes? I've tried a power search, but many of the movies in a particular category have a "view" button in the price column

  • Seeburger Installation Question

    Hi Experts, We are currently doing an SAP PI 7.1 project where for an implmenetation using Seeburger Adapter (FTP/VAN) and other modules e.g. BIC However while trying to do implementation have come across quite a few issues which seem to be installat

  • Itunes literally freezes every 10 seconds doing anything

    Itunes literally freezes every 5 seconds, anything that i click on eg. music, deleting a song, renaming a song, clicking on the movies tab, basically any basic function of clicking something on itunes. It freezes up for 10-15 secs then works again. A

  • Flash button to external video

    Hello there, i want my button to open external video, but not in a new window, just to play it in some portion of the screen.The thing is: I made my first flash based website and i want to add some animations which i made(in 3ds max),but if i get it

  • Migration to Shared Services

    Has anyone had much luck migrating security to shared services? Or have you had to just recreate your security in the new system? We're trying to migrate from Hyperion 7.1(Essbase, Analyzer, Intelligence) to Oracle EPM 11G and are running into some i