Optimization of application

Hi
How can I optimize my application(Forms/Reports etc)
What are basic steps for that.
Thanks
skr

Hi,
What are basic steps for that.1 - Observe - See your SQL*Forms latency, and observe Oracle performance with STATSPACK:
http://www.dba-oracle.com/art_dbazine_forms_garmany.htm
http://www.dba-oracle.com/art_statspack.htm
2 - Analyze - Find the root cause of the performance problem
3 - Fix

Similar Messages

  • Problem Modify and optimize an application

    We have problem using modify application and optimize application on a specific application.
    The application name is GPFormat.
    When we do a modify application and choose "Reassign SQL Index" we get the following errror message:
    Error message:: Cannot drop the index 'dbo.tblFACTGPFormat.IX_tblFACTGPFormat', because it does not exist or you do not have permission.
    And if we do an optimize application with "Full Optimize" and "Compress database" we get the following errror message:
    Error message:There is already an object named 'CONSTTBLFACTGPFORMAT' in the database.
    Could not create constraint. See previous errors.
    We using BPC 5,1 SP5 and SQL2005

    It seems a previous run of optimize with compress was failing.
    So you have to rename CONSTTBLFACTGPFORMAT table and make sure that installation user
    of SAP BPC has the correct access regarding table tblFactGPFFormat.
    Are you using custom indexes for this table?
    I suggest to drop the existing cluster index for table tblFactGPFormat and after you have to run another optimize with compress. This should fix all your problems.
    Regards
    Sorin Radulescu

  • Optimize active application

    I've heard that you can, via unix commands, tell Tiger to optimize either memory or processor power, to the active application. For example, if I have aperture and photoshop running, but aperture is the forward application (the one that I am actively using) then the OS will devote the most processing power to it.
    How do you do this (what are the terminal commands) and is it worth doing?

    You will get opposing views as to whether this is or is not worth doing or whether it is best to just leave it to the OS. The command is renice; type man renice into terminal, hit <return> and read all about it.

  • Optimize application does not empty FAC2 and FACTWB tables

    Hello everyone,
    I am currently using OutlookSoft 4.2.338 and recently came across the following problem:
    Optimize application fails to empty FACTWB and FAC2 tables, even though it says "Successfully finished"
    -Whenever I run an optimize process directly (= not scheduled), it takes less than one second and the message "Successfully finished" pops up. However FAC2 and FACTWB are NOT empty
    - When I schedule an optimize proces, the log usually states "Fail"... (But not every time, it 's a bit random here)
    - The problem occurs with one specific application in one specific appset (that contains 3 applications, the other 2 can be optimized just fine)
    - The application contains a fairly large number of records (close to 20 millions) and, yes, some records have a "source" value at 1.
    However, the same application, on a different server, with a bigger number of records (and more "1" source values!) optimizes just fine.
    - The problem is not appset or server related, as other applications can be optimized without problem
    - The application has data imports scheduled every night, and the FAC2 table keeps growing
    - Data sent through an Input schedule stay in FACTWB.
    Did anyone come across this sort of issue before?
    Any suggestion as to how to be able to optimize the application again? (apart from moving the records manually from FAC2 to FACT...)
    Many thanks in advance
    David

    Hello,
    Unfortunately there is no such table. The only table where some mention of optimization is made is tblPackageLog, where the log of optimization tasks is recorded.
    Thanks to both of you anyway.
    David
    PS: Actually your answers gave me the clue I needed, many thanks! On version 4.2, the table tblDefaults stores the optimization status
    The query
    select * from tblDefaults
    where KEYID ='Optimize'
    and APP=  App name
    showed that the value was somehow set to 1, preventing any optimization. I manually set it to 0, and that did the trick!!!
    Many thanks again guys!
    Edited by: David Placci on Mar 2, 2012 1:50 PM
    Edited by: David Placci on Mar 2, 2012 2:44 PM

  • 10.6.2 update causes all non-Apple applications to crash.

    update Final Cut Studio 3 and Aperture fail to open as well (pro apps)
    Hi: Hoping for some expert help here.
    Updated from 10.6.1 to 10.6.2 today, using the combo update. The Software Update version refused to install.
    After a reboot, I was *unable to open any non-Apple branded application*. Firefox, Adobe CS3 or CS4, Roxio, MS Office, you name it. All Apple branded apps, iLife, iWork, Mail, Safari, all performed well.
    I created a new admin account, hoping that those problems would not occur - but they did.
    I have since done a Time Machine backup and am ready to do a clean install to rid myself of this mess.
    Before I do, I'm wondering if there's an easy fix out there.
    I did do a repair permissions before and after the install. I have removed Application Support files from the Library (both in the root and my profile).
    Am now angry and frustrated, but this isn't the first time Apple has let me down with a poor update package.
    Any suggestions/help would be appreciated.
    Thanks.
    Message was edited by: Prof. Van Nostrum

    donv (The Ghost) wrote:
    I am still happily at 10.6 because .6.1 broke things for some and offered me nothing I needed. Looks like .6.2 combo will be the same. I have no incentive to install it.
    Keep in mind:
    1. There is no evidence that the Snow Leopard updates have broken anything for most users -- because of the focus of forums like this one on problems, they are not reliable indicators of typical results.
    2. Among the reports of Snow Leopard update problems, many if not most are caused by unidentified pre-exsting conditions, not the updates themselves. These things should be fixed whether or not you update the OS because they usually get worse over time & eventually can't be ignored.
    3. For almost all users there are very strong incentives to install the updates. Among them:
    • Eliminating bugs that have been identified in the original release of the OS, typically ones that occur under relatively rare conditions. Just because one has not affected you yet does not mean it won't in the future.
    • Adding small & sometimes not-so-small improvements in the reliability, efficiency, & optimization of applications & application services. Every OS release is subject to deadlines; there are always some things that could be improved given more time to work on them. Software updates give the engineers the time they need to add these tweaks to the system.
    • Eliminating potential security exploits that have been identified in earlier releases of the OS. The OS is pretty secure to begin with; however, it is not so secure that users should become complacent about this -- especially since many of the flaws are well documented, meaning those with malicious intent can easily learn how to exploit them. This has been a historic problem with Windows: so many users of that OS are so lax about applying security updates that Windows malware that could not exploit the updated OS still regularly spread across the Internet & affect tens of millions of users. This includes Mac users because the malware often turns the vulnerable computers into "zombies" used to create botnets to do things like generate spam or launch denial of service attacks.
    There is little indication that this kind of malware currently targets Macs -- Windows computers are still the low hanging fruit most malefactors target -- but continued complacency among Mac users about this issue plus the increasing market share of Macs do not bode well for the future.
    Simply put, all OS's should be considered ongoing works in need of improvement. Apple does not make public all the fixes or improvements any OS update provides, so unless you try them you won't know how significant they will be for you. Caution is good -- always have a backup/reversion strategy should something go wrong -- but the old adage "if it ain't broke don't fix it" does not apply -- the OS is always broken so it is really a matter of how broken it is, not if it is or isn't.

  • Apllication optimization

    Hi all,
    I am trying to Optimize the Application , but it is giving the following error:
    - Errors in the OLAP storage engine: The attribute key cannot be found: Table: dbo_tblFactLegalApp, Column: ACCTDETAIL, Value: .
    Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation.
    Errors in the OLAP storage engine: An error occurred while processing the 'LegalApp' partition of the 'LegalApp' measure group for the 'LegalApp' cube from the MEDEVELOP database.
    Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation.
    Internal error: The operation terminated unsuccessfully.

    Fiona's definitely got the right diagnosis. You must remove the invalid records from the fact table.
    The frustrating thing with this error message, sometimes, is that it only tells you the first member of the dimension that is invalid. If you fix this one, and then re-process, you may get a second member. And then a third... and a fourth.
    Try this query in SQL mgmt studio, to identify all the invalid acctDetail members:
    select distinct acctDetail
    from tblFactLegalApp
    except
    select ID from mbrAcctDetail where calc = 'N'
    select distinct acctDetail
    from tblFac2LegalApp
    except
    select ID from mbrAcctDetail where calc = 'N'
    select distinct acctDetail
    from tblFactWBLegalApp
    except
    select ID from mbrAcctDetail where calc = 'N'
    That tells you the complete magnitude of the problem, but not what caused it. Normally I find the cause to be script logic that uses a member property in the *REC statement; there's no validation available to ensure that the property value is a valid base-level member of the appropriate dimension. Or it could be a business rule set up with a DIMLIST property, etc.
    After you identify the root cause, you can then also decide how to fix the corrupt data. Easiest & safest is to delete these records, and then re-run the logic that caused the problem initially. But sometimes that means you'll lose data. If that's the case, then you can update tblFactLegalApp where acctDetail = 'whatever' set acctDetail = 'somethingBetter'

  • Problem in Restoring database througn online application

    Can I restore database stored in SQL-Server 2000 using an online
    application.
    When I tried it is giving an error that -- "exclusive access to the database
    cannot be obtained. Database may be in use."
    Probably this is happening as I am using a connection pool to optimize my
    application.
    Suggest me how this problem can be solved.
    Thanks in advance.
    Regards

    you should attach that part of code for further information

  • Application Server ABAP - What's New in SAP NetWeaver 7.4 (Release Notes) - SAP Library

    To add a comment, please log in or register on the top of this page and choose Reply. Please write your comment in English.
    You can also go back to the SAP help page.

    Dear Community User,
    SAP NetWeaver 7.4 is optimized for SAP HANA. It enables the use of SAP HANA as the underlying database and facilitates the optimization of applications for SAP HANA. It also includes new and changed features for the Application Server ABAP, connectivity, UI technologies, Business Warehouse and security.
    Bird's-eye view from SAP NetWeaver 7.4, I think it will help you to get a quick overview
    Good Luck, if it will help you to get a Bird's-eye view from SAP NetWeaver 7.4  then please award the answer as useful. Thanks in advance.
    Best Regards
    Abubakar

  • RULE BASED OPTIMIZER TUNING

    Hi all,
    On one of the production server we are using RULE BASED OPTIMIZER(Its application requirement).
    I have to tune this database as users are complaining about the performance.
    Any tips how can I tune for a RULE BASED optimizer database.
    Does the tuning statergy will remain same as like seeing execution plan for missing index,instance paramets
    execpt you cant generate stats.
    Regards
    Umair

    Hi!
    There are one thing about RBO, YOU must check all long-running queryis for it's
    execution plans, try find better plans and after force RBO to using it.
    You can use different hints for changing eceution plans. But for tuning RBO's database you must soent a very big time, YOU must be a CBO ;)

  • Image Optimization in CQ5

    Is an image automatically optimized by CQ5 when it renders the website? Or do we need to store web ready/optimized versions of the images?

    thx for answering
    You understood right, I have enough memory for saving 1-bit images, but
    Graphics.drawImage(Image img, int x, int y, int anchor) can draw only RGB images so each time I want to draw some image, I have to remake 1-bit images into RGB images, it takes a lot time, so I need to make some optimization
    My application draws symbols, but symbols are presented by Glyphs, so I draw some black&white Glyphs

  • Backup by Application

    Hi all,
    Do you know how can i make a backup only for one Application? No for an Application Set, just for one Application.
    Regards
    Jorge

    Hi Jorge,
    With the usual Server Manager, you cannot take the backup of a particular application. It will take the backup of the entire application set. There is no standard tool for taking backup of an application. This has to be done manually.
    1. Create the application in your new appset.
    2. Assign the desired dimensions to the application.
    3. Process and full optimize your application in the older appset.
    4. Take backup of the fact table of the application from the older appset, using SQL export feature. It will export the data into an excel sheet. This can be imported into your new application, either through import DM or using the SQL import feature.
    5. Copy all the templates (reports and input schedules) from the webfolder of the older appset into the new appset.
    6. Do the above for the transformation files, conversion files, any script logics, etc.
    7. If you have audit data, please follow the step 4.
    The above steps will be enough. Any other experts can add something to this, if I have missed any point.
    Hope this helps.

  • How far is it possible to upgrade a Mac Pro mid-2010 to the maximum extract.

    Hello
    How far is it possible to upgrade a Mac Pro mid-2010 to the maximum performance. I would be interested how far one could come close to the performance of the new Mac Pro 2013, or is it hopeless.
    My computer
    Mac Pro
    mid-2010
    Processor 2 x 2.4 GHz Quad-Core Intel Xeon
    Memory 14 GB 1066 MHz DDR3 ECC
    Graphics Card ATI Radeon HD 5770 1024 MB
    Software OS X 10.9.1 (13B42)
    Please excuse my english is not the best because.

    For what apps?
    Okay, you have the slower 2.4GHz processors, most have found that MHz still rule and matter, meaning a 6-core 3.4GHz for some applications (most) was the best and the sweet spot.
    So you could upgrade to a pair of 3.2GHz 4-core (cheapest) rather than splurge on two 6-core 3.34GHz (more expensive and more cores).
    First thing to do, put the system on a 256GB Samsung 840 SSD.
    For photoshop and graphics, invest in some more SSD ($US300 for 500GB) and put those on a PCIe SSD controller ($300 Sonnet Tempo Pro) and put Aperture/Lightroom on one, and use the 2nd SSD for scratch.
    RAM: 24-32GB would probably help all but the more casusalist of user.
    Tips and articles:
    http://www.macperformanceguide.com head to the TOPICS main page and there are dozens of sections each a different area of upgrade and optimization for applications. Storage, memory, how to, use arrays, backup strategy.

  • SAP BPC 7.5 (MS) - The members are locked.

    Problem occured when the processing time to clear down one TIME period of data took 3 hours on Fri pm.
    On Monday morning, I executed a Run Package > Clear > on the same segment.  It ran for 1hr and 10 minutes and I escalated to our Helpdesk for a server reboot (this has worked in the past).  The server was rebooted before I executed an "Abort" on the clear function.
    When the server was backup, I "aborted" the clear.
    Subsequent attempts are CLEAR resulted in the message "The current members are locked::(N'ACTUAL'<N'2011.JAN")(ACTUAL,2011.JAN).
    Things I had tried in order:
    1)  send data to one intersection of ACTUAL, 2011.JAN via EVDRE- failed - The current members are locked.
    2)  Full Optimize on application.  then repeated (1).  Same results.
    3)  Full Process on dimensions Category (ACTUAL) and Time (2011.JAN).  Process Application. Repeated (1).  Same results.
    4)  Tried sending data to ACTUAL 2011.FEB - success.
    5)  Tried copying data from ACTUAL 2011.JAN to other periods - success.
    6)  Tried to move ACTUAL 2011.JAN data - failed.  The current members are locked.
    Work status is not activate in our instance.
    Thank you.

    Hi Connie,
    You will need your IT help desk to look at the database table called
    lck<YourAppName>
    in your AppSet database.
    You will need to clear/delete all the records appearing in that above table.
    Once that is done you should be good to go.
    Thanks,
    John

  • How do I change my NAT settings?

    WRT54GS router
    How do I change my NAT settings?

    Ok let me ask this. Can anyone tell me exactly what settings I need to put my WRT54GS router on for my 360. Ports, DNS, QoS, MTU, or anything else that might help. Please leave in detail as I am very ignorant with this router. I had Verizon DSL that went straight from a Westell modem/router to the 360. I never had lag and was host for a lot of sessions. I have now switched to cable which gives me a faster connection 4664/238kbps but for some reason the lag is horrible. What I have done so far is download new firmware. Enabled DMZ host IP address. Enabled QoS. Here I had to put the upstream bandwith to manual with 100000kbps. Port priority on high with flow control enabled to the 360(port 2). I disabled flow control to 2 unused ports. Optimize gaming applications with highest priority to port 2. So I am completely lost from here as what else to do or undo. I don't know how to increase my upload speed as I was told upload speed is extremely important for gaming. I feel like pulling my hair out at this point and switching back to a slower connection just to get my system the way it was. Please anyone help as I am extremely frustrated. HELP!!!!!!!!!!!!!!!!!!!!??????????????

  • Concept of groups vs concept of roles

    Hi!
    I'm designing an LDAP structure mainly for authentication and authorization of users. I want to use the LDAP server for applications, intranet (different platforms like linux, NT, ...) and portals.
    I read the Admin guide about groups and roles and found, that there aren't that many reasons for using roles instead of groups. The only real difference is (as I understood) that when using roles, I don't have to search for the the groups a user is member of, because every user contains the nsrole attribute with all the roles he is member of.
    One big reason for not using roles is, that they are quite specific for iPlanet Directory Server. If one ever changes to another product (for example OpenLDAP) the roles concept may or may not be the same. When using groups I don't have that problem.
    (If my information about that is incorrect please conradict!)
    A mixture of groups and roles is a quite bad idea because if I put a group in a role, the "nsrole" attribute is added only to the group but not the the members of the group, so if I use roles, I should stick to them and should not use any groups.
    As I told at the beginning, I am planning an LDAP structure. I don't have any "real life LDAP-experience" so if your experience is different, please tell me.
    Thanks in advance for your opinion!
    Florian

    1. Why there could be a problem without scopes in
    groups. If I have two companies and each of them has
    a group "employees". Two companies would probably be
    separated in two different subtrees, so I just use a
    dynamic group, where I can specify a subtree where
    groupmembers can be located or I use static groups,
    where I define each entry.You see, you had to make a choice on which group type you could use - not because one was more convenient for defining members for the problem at hand, but because only one would work at all.
    One thing I did not mention about roles advantages: they all work the same way - if a new role type were invented, applications written to work with roles prior to the new role, would still work with that role type. Groups types are so different that forward compatibility is not possible - mostly because to even use groups, applications have to do all the work to do common things like, enumerate the group, enumerate the groups an entry belongs to, test for group membership etc.
    >
    2. The coding logic for group evaluation with dynamic
    and static groups and even mixtures of it is quite
    complicated, it is much easier to ask an entry for a
    roledn and thats it, but do most clients support
    roles? Probably not. But then roles have not been around as long. I don't have any hard data on how many apps use roles - you would be surprised how hard it is to get that data for a developer.
    As far as I know roles are not used in any
    other LDAP Server. Well, the Sun DS, and the Netscape DS (which admittedly were once the same thing) both support the same roles.
    So you can optimize an
    applications implementing a role based queries, but
    if you have a OpenLDAP environment you also need a
    possibility to use groups. Talk to the OpenLDAP people about that. I believe they (at one time at least) decided to support the Netscape slapi interface - roles have interface components in that api.
    I do understand what you are saying - there isn't an RFC, so other servers don't support roles. Well, I'm sorry, I never got around to it. To be perfectly frank, a lot of LDAP RFCs/Drafts merely describe some proprietary mechanism which other servers never adopt. Some even describe mechanisms that nobody has ever implemented.
    When it comes down to it, it is only you who can decide whether being able to move to OpenLDAP or some other server without any reimplimentation is an important consideration. Every server will have features not supported by others, and if your choice is to use only those that are commonly supported, then that is your choice.
    Roles will allow much less complex coding in order to use them and they are much faster than equivalent client side operations, but the price is non-comformance with other servers. But when that non-conformance simply boils down to entries which merely "describe" the groups without adding application level functionality - how much have you really lost? Well, until you need to change server vendor you have only gained, and then you'll need to put in the effort you saved ealier.
    On the other side, what
    application do support roles right now? (I really
    don't know)Apart from applications by vendors that also supply DS I don't know either - but support for features such as this need to come from customers of those products. It is surprisingly simple to add support for roles in a product (for most it will almost be free) - much simpler than for groups.

Maybe you are looking for

  • Middle click paste no longer works correctly zsh

    After a recent update my middle click to paste no longer works right. Instead or just pasting "x" it will paste "00~x01~". I tried terminator and rxvt-unicode and they do the same. This is a recent issue that just started after an update. Is anyone e

  • Help needed (Release Order from ME29N)

    Hello, We are facing problem while releasing the purchase order from transaction me29n. System is generating an email saying “Update terminated” with following message: Update was terminated System ID.... UD5 Client....... 052 User..... RCT3982 Trans

  • Planned Order

    Hi Experts, I am using one production line for 3 products in REM. If there are requirements for all 3 products in same periods, after MRP run I find planned order for all products assigned to production on same date in planning table with capacity re

  • Ipod gone crazy

    hi there just got a brand new 5 generation ipod and dudes is doing weired things. let me just tell you i already posses an old ipod mini for 2 years and never experienced any problems. anyhow mz ipod is basically not playing any music anzmore!! its w

  • Very Complex SQL Query

    Hi, I have three tables master(m_id m_name) 1 m1 2 m2 3 m3 t1(m_id, int_type) 1 INT(2) 1 INT(3) t2(m_id, char_type) 1 CHAR(3) 1 CHAR(4) master table has m_id as a primary key, while this is foreign key in tables t1 and t2. Now i want to get the resul