What are the ways to make Query run fast?

Hi Experts,
When a query runs slow, we generally go for creating an aggregate. My doubt is - what other things can be done to make a query run faster before creating an aggregate? What is the thumb rule to be carried out for creating an aggregate?
Regards,
Shreeem

Hi Shreem,
If you keep Query simple not complicate it with runtime calculations , it would be smooth. However as per business requirements we will have to go for it anyways mostly.
regarding aggregates:
Please do not use the standard proposal , it will give you hundreds based on std. rules , which consumes lots of space and adds up to load times. If you have users already using the Query and you are planning to tune it  then go for the statistics tables:
1.RSDDSTAT_OLAP    find the query with long runtimes  get the Stepuid
2. RSDDSTAT_DM
3. RSDDSTATAGGRDEF  - use the stepuid above to see which aggregate is necessary for which cube.
Another way to check ; check the users as in 1 to find the highest runtime users and find the last used bookmarks by user thru RSZWBOOKMARK for this query and check if the time matches and create the aggregates as in 3 above.
You can also Use Transaction RSRT > execute & debug  (display stats ) - to create generic aggregates to support navigations for New queries and later refine as above.
Hope it helps .
Thnks
Ram

Similar Messages

  • The sample rate in my code is too low. Is there a way to make it run faster?

    Dear Sir,
        I am a LabVIEW customer, and just have a question about LabVIEW.
        We are running a code of "Wirebonder Project", but find the sample rate is too low. I'm wondering if there is a way to make it run faster. (I have
    attached the code here.)
        Thank you very much!
    Yours Sincerely,
    Xian Zhang
    Attachments:
    Wirebonder_Project_Code.zip ‏169 KB

    Hi Xian,
    What system are you running this code on and are you using the LabVIEW Real-Time Module? There is a presentation online on Optimizing and Benchmarking Real-Time code with useful related links as well as other articles in the DevZone on things like Benchmarking an Application Using LabVIW Real-Time and DAQmx.
    As you can see, this is not a simple question, so take a look at the information in these links and see if you can narrow down what in your code is running slowly and how much you might be able to improve the speed.
    Regards,Stephen S.
    National Instruments
    Applications Engineering

  • What are the steps to make it seamless for a customer to use the install program and then use the installed program?

    I wrote an install program (.exe) that is downloaded from a website.  When run, it 1) leads a customer to browse to a directory, and 2) copies files (.exe, .dll, etc.) from a website to that directory.  When I run, the installed program works.
    What are the steps to make it seamless for a customer to use the install program and then use the installed program? 
    bhs67

    This site https://msdn.microsoft.com/en-us/library/vstudio/2kt85ked%28v=vs.110%29.aspx provides a basic description of the Visual Studio Windows Installer. 
    Near the bottom of the page is "You can unlock all the features of InstallShield by paying to upgrade to the full version of InstallShield."  Where do I find info that describes the differences between the "free" and the "full"
    versions?
    bhs67
    Hello,
    The default feature does support the task for your requirement, so there is no need to pay for the other features unless you want to use some feature which is not free.
    In addition, as this thread
    InstallShield LE not available with VS 2012 RTM? shared, even through there is a link to InstallShield LE in the New Project dialog under Deployment solutions, but it belongs to third-party that I would recommend you consider posting this issue
    at the following forum to get supports about InstallShield.
    http://community.flexerasoftware.com/forumdisplay.php?133-InstallShield
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • What are the ways to download data from ods?

    Hi all,
    what are the ways to download data from ods?
      1. se11/se12
      2. listcube
      3. infospokes.
    Apart from the above 3 is there any other way to download data from my ods.
    I need to download around 90 fields from my ods to a flat file. But listcube doesnt allow me to select all the fields. So i used se11 to download the data from my ods. bUt still se12 doesnt allow me to download all the 90 fields it downloads only 40 fields.
    Can anyone suggest me how to select all the 90 fields and download it to an excel sheet.
    thanxs
    haritha

    Hi Haritha,
    Go to Tcode SE16, give your ODS active Table name and give width of output list as 1023.
    Now run transaction to see your data and then click Settings --> User parameters and Select ALV Grid Display.
    Now you should see and Excel Icon on top, click on it then select Table , then
    Microsoft Excel and it will open your data with all columns you want.
    I just tried for 213 columns
    Hope this helps.
    Thanks
    CK

  • What are the video card requirements for running a 23" cinema display

    What are the video card requirements for running a 22" cinema display(clear acrylic case) w/ a PC? My motherbaord is AGP. Thanks to anyone who can help.
    Intel P4 3.0ghz   Windows XP  

    Hi Lionel,
    As a general rule of thumb, the ATI Rage 128 Pro will not support a 20" LCD. That being said, there are reports of it doing just that (possibly the edition that went into the cube).
    I'm not that familiar with the ins and outs of the Cube, so I can't give you authoritative information on it.
    A good place to start looking for answers is:
    http://cubeowner.com/kbase_2/
    Cheers!
    Karl

  • What are the ways in data transfer

    Hi Experts,
    What are the ways to transfer data from SAP R/3 to SAP BW and SAP BW to SAP APO DP?
    Can anyone help me please.
    Regards
    Suvi

    Hello,
    I can only help on part of your questions, since I'm not familar with R/3 data uploading ...
    If you want to download data from BW infocube to APO DP:
    1)For CVCs, you can just use /sapapo/mc62, input POS name, click 'Create Characteristic Combinations'.
       Then select an option except 'Create manually'.
       In the 'Data Source' area, select load data from 'InfoProvider'.
       Then you can load CVCs from infocube to APO system for generation.
    2)For transactional data (key figure values), you can use /sapapo/tscube.
       Just fill in the source cube's name, version, and tagert planning area's name, version.
       Key figure assignment and characteristic assignment are also necessary.
       Specify other options as to your requirement, and you can download transactional data from BW to DP.
    Best Regards,
    Ada

  • Internet explorer is required to access some of my financial accounts; what are the risks?  I am running Mac OS X 10.7.2 on a Mac Pro

    Internet explorer is required to access some of my financial accounts; what are the risks?  I am running Mac OS X 10.7.2 on a Mac Pro
    Message was edited by: 74683msn

    Advisable is irrelevant...  It is not possible.  There has not been a version of IE for Mac for a long time.  You will have to load Windows on your Mac in order to run IE, or try making your browser mimic IE.  (In Safari, go to Safari -> Preferences, click the Advanced tab and check the box to show the Develop menu.  Then, in that menu, choose User Agent -> Internet Explorer x.0.)  Note that doing that will not work if the site relies on some weird non-standard feature of IE that no other browser on the planet has.

  • What are the ways to control CPU usage?

    Database: Generic
    OS : Linux
    Problem Description :
    Q: What are the ways to control CPU usage precisely like instance caging for 11g if the database host has multiple 10g instances?
    What are the ways to control CPU usage precisely in database host that has multiple 10g instances. I fear that particular instances
    overallocate CPU resource on the host and this affects performance of other instances on the host if CPU_COUNT value is set to default for every instances.
    ** Oracle is working on this issue, but in parallel is opening the topic to the Community so that Community members can add their perspective, experience or knowledge. This will further enhance all knowledge bases including My Oracle Support and My Oracle Support Communities; assisting all Community members and enabling richer solution searches. **

    ram_orcl wrote:
    Database: Generic
    OS : Linux
    Problem Description :
    Q: What are the ways to control CPU usage precisely like instance caging for 11g if the database host has multiple 10g instances?So in other words... how to reduce performance of a process by decreasing the CPU availability to that process. And what do you do with that spare CPU cycles? Imagine that things are now better as the CPU utilisation has dropped by 10% or so?
    What are the ways to control CPU usage precisely in database host that has multiple 10g instances. That is the kernel's job. Or do you think you know better than the very sophisticated processing and scheduling models that the kernel support - and should override that and control that from userspace?
    I fear that particular instances overallocate CPU resource on the host and this affects performance of other instances on the host if CPU_COUNT value is set to default for every instances. Sounds like baloney to me. What you fear and not not fear does not change reality. What is the reality? What is the problem? In crystal clear technical details?

  • What are the ways to download j2ME app to j2ME phones

    Hello Friends,
    What are the ways to download j2ME app to j2ME phones, is there any method that all phones supports.
    I am downloading app to different phone in different ways, i.e using infrared, bluethooth, cable (different cable for different phones), URL (WAP)... offff.....
    Can any one let me know is there any one way that we can download app to phone... i mean is WAP URL support on all phone?
    Thanks
    Kumar.M.R

    The following Java tip may help:
    How to install a J2ME aplication on a mobile device
    http://www.java-tips.org/content/view/617/73/

  • What are the ways to handle Idocs which are failed to post to R/3

    Hi Experts
    What are the ways to handle Idocs which are failed to post to R/3  after sucessfully configuration of the Scenario.
    Thanks & Regards
    Aravind

    Hi
    Check the Idoc Status in R/3 with WE05.
    Idocs will fail in following conditions
    1) Idoc will be in error if all the mandatory field are not mapped.
    2) If partner profile is not maintained.
    3) Most of the times, idocs will be in error due to functional issues.....check the status and take help from functional guys.
         Once the error resolved, reprocess the same idoc using BD87
    Regards
    Abhijit
    Edited by: Abhijit Bolakhe on Mar 18, 2010 3:11 PM

  • What are the rules for keeping things running smoothly

    As my iMac is now a month old and has been burdened with a number of trials, shareware demo, open source, video tutorials and general clutter; what are the basic rules for keeping things running smoothly? My 'log in' is certainly a lot slower although I don't have any apps loading and finder has become much slower with less spring in it's tail. Are there any caches etc that need dealing with? I'm afraid to say I was a bit of a pro at hammering my windows setups till they came to a stand still and I can't bare to see the Mac going the same way. Have I got to be ruthless and limit the number of apps I have installed? The quality of what is available just on apple.com makes it hard for a software addict to stop downloading Any help or just a reality check would be much appreciated....rob

    Hello,
    Mac Maintenance Quick Assist: http://support.apple.com/kb/HT1147
    Great advice here from, "Klaus1" regarding a clutter free Desktop: http://discussions.apple.com/thread.jspa?messageID=7668937#7668937
    Mac Tune-up: 34 Software Speedups
    http://www.macworld.com/article/49489/2006/02/software
    Tuning Mac OS X Performance
    http://www.thexlab.com/faqs/performance.html
    The Top 7 Free Utilities To Maintain A Mac.
    http://mac360.com/index.php/mac360/comments/thetop_7_free_utilities_to_maintain_amac/
    Mac OS X: System maintenance
    http://discussions.apple.com/thread.jspa?messageID=607640
    A good disk utility to empty caches: http://www.apple.com/downloads/macosx/systemdiskutilities/onyx.html
    Use Onyx once a week, run the Maintenance and Cleaning scripts and that will help speed your Mac up pronto.
    Run Disk Utility (Applications/Utilities) once a week and Repair Disk Permissions:
    Launch Disk Utility. Select MacintoshHD in the panel on the left, select FirstAid, then click: Repair Disk Permissions. Quit DU when it's finished and reboot.
    *Tip... very important: Run Disk Utility BEFORE and AFTER all software updates. That will save you headaches down the road.
    You do not need to limit the number of apps installed but one thing to bear in mind. A Mac needs a minimum of 10% available disk space just to boot and it's all too easy fill up a drive and before you know it, you can't open apps, or they open and freeze up, or you can't install software. A good way to keep an eye on available space: Right or control click the MacintoshHD icon on your Desktop, then click: Get Info. In the Get Info window, click the black arrow next to: General so it faces down. You will see: Capacity and Available ... Best best is to always have 15% free drive space.
    Back up your important data every day. If you have a system failure and need to either do an Archive and Install or completely wipe the drive and reinstall your system software, you'll be glad you did.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software.
    Retrospect Desktop (Commercial - not yet universal binary) http://www.dantz.com/
    Carbon Copy Cloner (Donationware) http://www.bombich.com/software/ccc.html
    SuperDuper! (Commercial) http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html
    I hope I didn't inundate you with too much too soon, but just do maintenance, keep your Desktop clutter free, and back up your files daily. Once you get into the habit of doing this, it only takes a few minutes a day.
    Carolyn
    Message was edited by: Carolyn Samit

  • What are the dependent master data for running MRP

    Hi Experts,
                      My client wants to Run MRP After 8 Months of implementation. Now i want to know
    1) What are the Master Data need to be check. They are Using the Strategy 20.
    2) They have confirmed sales order for few customers. Forecast sales orders for few customers.How to map it in sap.
    3) Where will i get Gross Requirement in SAP. Because  MRP run will generates the net requirements.
    4) Is there any report in SAP displays the Forecast values for the selected material.
    Please help me on the above points.
    Thanks
    Satheesh

    HI Vishwa Upadhyay,
                                     Thank you Once again,
    The first point is cleared. Can you please suggest me on the 2,3& 4 points please. What are the configuration settings needed for the different sales order type( i.e.. confirmed and forecast)
    Thanks
    Satheesh.N

  • What are the Client machine requirements for running Forms 6i?

    What are the minimum/ideal hardware requirements of the client machines which run forms 6i in separate frames.
    The reason for asking this is that the users have multiple sessions of separate Forms frames. When they do a lot of activity/transactions, and try to do a windows Print Screen on a MSWord file, nothing seems to print on the Word document. If they save the document and reboot the computer and open the same word document again then the screen print shows up. I am thinking it is because the separate frames take up lot of RAM. Typical configurations of our m/c are PII 400's with 64MB RAM.
    Thanks in advance.

    Hi Lionel,
    As a general rule of thumb, the ATI Rage 128 Pro will not support a 20" LCD. That being said, there are reports of it doing just that (possibly the edition that went into the cube).
    I'm not that familiar with the ins and outs of the Cube, so I can't give you authoritative information on it.
    A good place to start looking for answers is:
    http://cubeowner.com/kbase_2/
    Cheers!
    Karl

  • What are the basic settings required to run webdynpro for abap application?

    Hi,
              i want some information regarding settings(HOST,Port) to run our application through Browser.What are the settings can i give to run my Application.and also i got some problem that when i create a VIEW it didnt shows the Standard Toolbar of Consisting of all UI Elememts.Is this problem is related Installation?
    Thanks & Regards
    Ravi

    Hi Ravi,
    This will be helpful please check.
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/e86de5008b4d9ae10000000a155369/content.htm.
    Reward points if useful.
    Regards,
    Muneesh Gitta.

  • What are the concurrent programs or query for safe purge to claim  space

    I am using Apps R12.1.3 and database 11g Enterprise Edition(11.1.0.7.0) .Due to excess increase in the tablespace sizes,i want to know
    What are the application tables which contains logs and unwanted information which we can purge safely without affecting user data.
    And how to purge them (any query or concurrent program)?

    Hi,
    We discussed this many times before.
    Please use the following link where you will get many (all) refereces
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Purge&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks

Maybe you are looking for