Different performance in different environments

Hi
I have two environments Database ( production and tests), in production My query execute work fine with good time, but
in tests environment It is very slow. The Tables, indexes ..etc are same.
What can I to get to DBA to look ?

following are some basic checks ( which solve most common performance issues)
--- Gather statics in the env that's slow or verify if statistics are recent
--- Compare explain plan for sample queries and check if plan is different and if it is then work towards making it same.
--- Compare both environments init parameters to make sure parameter values are comparable..
And if problem is more broad like entire DB/application slow then different things like server configuration/load/memory etc should be verified. Application configuration and components should be verified. List is endless with different options like AWR/ADDM reports/statspack...

Similar Messages

  • LabVIEW Embedded - Performance Testing - Different Platforms

    Hi all,
    I've done some performance testing of LabVIEW on various microcontroller development boards (LabVIEW Embedded for ARM) as well as on a cRIO 9122 Real-time Controller (LabVIEW Real-time) and a Dell Optiplex 790 (LabVIEW desktop). You may find the results interesting. The full report is attached and the final page of the report is reproduced below.
    Test Summary
    µC MIPS
    Single Loop
    Effective MIPS
    Single Loop
    Efficiency
    Dual Loop
    Effective MIPS
    Dual Loop
    Efficiency
    MCB2300
      65
        31.8
    49%
          4.1
      6%
    LM3S8962
      60
        50.0
    83%
          9.5
    16%
    LPC1788
      120
        80.9
    56%
        12.0
      8%
    cRIO 9122
      760
      152.4
    20%
      223.0
    29%
    Optiplex 790
    6114
    5533.7
    91%
    5655.0
    92%
    Analysis
    For microcontrollers, single loop programming can retain almost 100% of the processing power. Such programming would require that all I/O is non-blocking as well as use of interrupts. Multiple loop programming is not recommended, except for simple applications running at loop rates less than 200 Hz, since the vast majority of the processing power is taken by LabVIEW/OS overhead.
    For cRIO, there is much more processing power available, however approximately 70 to 80% of it is lost to LabVIEW/OS overhead. The end result is that what can be achieved is limiting.
    For the Desktop, we get the best of both worlds; extraordinary processing power and high efficiency.
    Speculation on why LabVIEW Embedded for ARM and LabVIEW Real-time performance is so poor puts the blame on excessive context switch. Each context switch typically takes 150 to 200 machine cycles and these appear to be inserted for each loop iteration. This means that tight loops (fast with not much computation) consume enormous amounts of processing power. If this is the case, an option to force a context switch every Nth loop iteration would be useful.
    Conclusion
    LabVIEW Embedded
    for ARM
    LabVIEW Real-time for cRIO/sbRIO
    LabVIEW Desktop for Windows
    Development Environment Cost
    High
    Reasonable
    Reasonable
    Execution Platform Cost
    Very low
    Very High / High
    Low
    Processing Power
    Low (current Tier 1)
    Medium
    Enormous
    LabVIEW/OS efficiency
    Low
    Low
    High
    OEM friendly
    Yes+
    No
    Yes
    LabVIEW Desktop has many attractive features. This explain why LabVIEW Desktop is so successful and is the vast majority of National Instruments’ software sales (and consequently results in the vast majority of hardware sales). It is National Instruments’ flagship product and is the precursor to the other LabVIEW offerings. The execution platform is powerful, available in various form factors from various sources and is competitively priced.
    LabVIEW Real-time on a cRIO/sb-RIO is a lot less attractive. To make this platform attractive the execution platform cost needs to be vastly decreased while increasing the raw processing power. It would also be beneficial to examine why the LabVIEW/OS overhead is so high. A single plug-in board no larger than 75 x 50 mm (3” x 2”) with a single unit price under $180 would certainly make the sb-RIO a viable execution platform. The peripheral connectors would not be part of the board and would be accessible via a connector. A developer mother board could house the various connectors, but these are not needed when incorporated into the final product. The recently released Xilinx Zynq would be a great chip to use ($15 in volume, 2 x ARM Cortex A9 at 800 MHz (4,000 MIPS), FPGA fabric and lots more).
    LabVIEW Embedded for ARM is very OEM friendly with development boards that are open source with circuit diagrams available. To make this platform attractive, new more capable Tier 1 boards will need to be introduced, mainly to counter the large LabVIEW/OS overhead. As before, these target boards would come from microcontroller manufacturers, thereby making them inexpensive and open source. It would also be beneficial to examine why the LabVIEW/OS overhead is so high. What is required now is another Tier 1 boards (eg. DK-LM3S9D96 (ARM Cortex M3 80 MHz/96 MIPS)). Further Tier 1 boards should be targeted every two years (eg. BeagleBoard-xM (ARM Cortex A8 1000 MHz/2000 MIPS board)) to keep LabVIEW Embedded for ARM relevant.
    Attachments:
    LabVIEW Embedded - Performance Testing - Different Platforms.pdf ‏307 KB

    I've got to say though, it would really be good if NI could further develop the ARM embedded toolkit.
    In the industry I'm in, and probably many others, control algorithm development and testing oocurs in labview. If you have a good LV developer or team, you'll end up with fairly solid, stable and tested code. But what happens now, once the concept is validated, is that all this is thrown away and the C programmers create the embedded code that will go into the real product.
    The development cycle starts from scratch. 
    It would be amazing if you could strip down that code and deploy it onto ARM and expect it to not be too inefficient. Development costs and time to market go way down.. BUT, but especially in the industry I presently work in, the final product's COST is extremely important. (These being consumer products, chaper micro cheaper product) . 
    These concerns weight HEAVILY. I didn't get a warm fuzzy about the ARM toolkit for my application. I'm sure it's got its niches, but just imagine what could happen if some more work went into it to make it truly appealing to wider market...

  • How to call same form by different performs as below?

    Hi,
    i want to use a Form get_data by calling Perform get_data twice with two different internal tables as below
    perform get_data    tables   it_upload
                                using    tab_name
                                changing it_material. 
    it_material has structure as below
    types : begin of ty_material,
                 serno  type sy-tabix,
                 matnr1 type mara-matnr,
                 matnr2 type mara-matnr,
                 matnr3 type mara-matnr,
                end of ty_material.
    perform get_data    tables   it_upload
                                using    tab_name
                                changing it_location.
    it_location has structure as below
    types : begin of ty_location,
                site1  type mard-werks,
                site2  type mard-werks,
                sloc1  type mard-lgort,
                sloc2  type mard-lgort,
              end of ty_location.
    now how to declare Form Get_data
    can anyone suggest me how to declare Form Get_data

    FORM parameters are normally strongly typed, so if you want to pass different tables in different calls to the same PERFORM, you need to use two internal table parameters in the FORM interface like below
    FORM foo  USING /CHANGING itab1 TYPE <table type1>
                              itab2 TYPE <table type2>
    ENDFORM
    Otherwise you need to use TYPE STANDARD TABLE, in which case you can use a single parameter for both the internal tables but you will also need to FIELD-SYMBOLS, and there should be some indication for you to ASSIGN the field symbol to what internal table type that may come at runtime. This will be a overkill, without much use, when you can achieve what you want by simply using two parameters.

  • Distributed File System Replication between servers with different performance

    If Distributed File System Replication is set between servers with different performance. What will happen with the performance of the fastest server? Will the performance decrease to match the performance of the
    slowest server in the chain? I mean, will the source slow down (processor speed) if the recipients can't keep up? 

    Hi,
    If you mix different performance server for DFS replication, most of improvements on the fastest server are disabled for backwards compatibility and the performance decrease to match the performance of the slowest server.
    For more detailed information, please refer to the article below:
    Tuning replication performance in DFSR (especially on Win2008 R2)
    http://blogs.technet.com/b/askds/archive/2010/03/31/tuning-replication-performance-in-dfsr-especially-on-win2008-r2.aspx
    Best Regards,
    Mandy 
    If you have any feedback on our support, please click
    here .
    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.

  • Lync 2010 server and UM role on different domains in different forests

    Hello 
    I have a Lync 2010 environment running on domain A, with exchange 2010 UM also running in Domain A.  We are in the process of migrating users and mailboxes from domain A to domain B.  Once we reach our enterprise voice users with exchange UM enabled
    we will need to install the exchange UM role on the exchange server in Domain B.  
    There is a 2-way trust relationship between domain A and domain B.
    All the users from are running Lync on a PC located in Domain B, using Lync credentials from Domain A.
    Are there any issues running Lync 2010 and Exchange UM from different domains in different forests?  Is it as simple as creating a new UM DialPlan and UM IP Gateway to the domain A Lync FQDN?
    Thanks

    Hi,
    Each UM forest must be configured to trust the forest in which Lync Server is deployed, and the forest in which Lync Server 2013 is deployed must be configured to trust each UM forest. If Exchange UM is installed in multiple forests, the Exchange
    Server integration steps must be performed for each UM forest or you’ll have to specify the Lync Server domain.
    Here is a link about for UM of Lync server 2013 but similar for Lync server 2010:
    http://technet.microsoft.com/en-us/library/jj966276(v=exchg.150).aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Can you set different sounds for different incoming email accounts?

    Can you set different sounds for different incoming email accounts? Example, I have multiple email accounts on Mail. I would like the sound for my roadrunner account to be different from my .mac and personal website accounts. Is it possible to configure this or is there a script out there that someone knows about.
    Thanks

    You could choose None in Preferences > General > New Mail Sound and set up a rule for each account in Preferences > Rules as follows:
    If [any/all] of the following conditions are met:
    [Account] [AccountName]
    Perform the following actions:
    [Play Sound] [Sound]
    Problem is, that would cause the sound to be played for junk mail as well — probably not what you want.

  • Same role follwing different workflows at different times in GRC 5.3

    Hi All,
    We have a strange issue in our GRC 5.3 system where we had created a workflow for three roles in such a way that if the CUP Request having those roles doesn't create any violation (with users's pre-existing access) then those roles will be auto-approved.
    In case CUP Request creates violation then it should follow another workflow where it goes to designated approvers for approval.
    The issue now is that request for these three roles without any violation are getting auto-approved (which is desired), but there are times that request for same roles, again without any violation are following other workflow i.e they are going to approvers for approval and are not auto-approved.
    This is very surprising that how can same role in same situation can follow different workflows at different times.
    Any idea???
    Thanks
    Aditi

    It is not that simple and straight forward.
    These roles do not have any violations within themselves....workflow is designed in such a way that it goes to approver only if there are violations with user's already existing roles, else the role is auto-approved. In our design we can have only one role per request.
    Issue is strange because same role is following different workflows at different times even though there are no violations.
    Risk analysis is performed at the time of request submission, so we can see that there are no violations with user's already existing access.

  • HT204053 i RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    I RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    Welcome to the Apple community.
    iTunes and iCloud and different accounts, you will need to delete both accounts from your device before adding the new details in their place.
    For iCloud go to settings > iCloud, scroll down and hit the delete button. You can then sign back in using your correct details. For iTunes go to settings >store, tap your account ID and then sign out, you can then sign back in using your correct Apple ID.

  • Not able to color different rows with different colors in a column of table

    Hi,
    I am trying to to display different rows with different colors in a column of the table based on some decode condition.
    I have gone through the following threads :
    Can we colour the rows in the column of a table
    Changing Color of a value in a column
    This is what i have done :
    1.Added the following code to custom.xss(changed the name to Custom.xss as suggested in one of the above threads) --- in path ---- jdev\myhtml\OA_HTML\cabo\styles
    <style selector=".1">
    <includeStyle name="DefaultFontFamily"/>
    <property name="font-size">11pt</property>
    <property name="font-weight">Bolder</property>
    <property name="color">#008000</property>
    <property name="text-indent">3px</property>
    </style>
    <style selector=".2">
    <includeStyle name="DefaultFontFamily"/>
    <property name="font-size">11pt</property>
    <property name="font-weight">Bolder</property>
    <property name="color">#FFFF00</property>
    <property name="text-indent">3px</property>
    </style>
    2. Sql query of the VO is :
    select comments,role ,decode(role,'REQUESTER','1','2') Colorattr from xxat_sars_action_history where request_id = :1 and event_name = :2 and action_code <> 'PENDING'
    order by sequence_num desc
    3. Coded the following in the process request of the controller:
    OATableBean table = (OATableBean)webBean.findIndexedChildRecursive("CommentsTB");
    OAMessageStyledTextBean roleBN = (OAMessageStyledTextBean)webBean.findIndexedChildRecursive("role");
    OADataBoundValueViewObject cssjob = new OADataBoundValueViewObject(roleBN,"Colorattr");
    roleBN.setAttributeValue(oracle.cabo.ui.UIConstants.STYLE_CLASS_ATTR, cssjob);
    where 1 and 2 form the colors ( i have even tried with 'Red' and 'Yellow'...as it was not working replaced with 1 and 2)
    4.The query returns data fine with corresponding 1 and 2 values.
    But different colors are not getting reflecting on to the UI.
    I am testing this on my local jdev.
    Please do let me know if i am missing something.
    Thanks ,
    Sushma.

    Any Clues please.....
    Thanks,
    Sushma.

  • Different accounts in different computers

    Me and my wife have different acounts, in different computers (with differente ios devices), in the past we share of music and books bought from itunes without problems, but know I found the restriction of 90 days to change de AppleID
    ¿How can now share our content bouth between our two accounts?

    Hi Dongoyo79,
    Welcome to the Support Communities!
    The article below explains how your Apple ID can be used for different services.  If the majority of your iTunes purchases are on one of your Apple ID's -- you can sign out of the iTunes Store and sign back in using that Apple ID and password.  You can continue to use your other Apple ID to keep all of your data separate for iCloud, etc.
    The other option is to use your own Apple ID for iTunes AND iCloud.  If you have separate User accounts on your computer, then you could each build your own iTunes library.  Review the article below and decide which option is best for you.
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    An Apple ID is the email address you use as a login for just about everything you do with Apple, including using iCloud to store your content, buying songs from the iTunes Store, and downloading apps from the App Store.
    When you set up your iPhone, iPad, or iPod touch, you can use the same Apple ID for iCloud services and purchases on the iTunes Store, App Store, and iBooks Store. You can also use one Apple ID for iCloud services and another Apple ID for store purchases (including iTunes in the Cloud and iTunes Match). You will get all the benefits of iCloud whether you use the same Apple ID for iCloud and store purchases, or different IDs for each.
    The following section explains these two approaches.
    Using the same Apple ID for Store purchases and iCloud (recommended)
    Using one Apple ID for iCloud and a different Apple ID for Store Purchases
    Frequently Asked Questions
    I have purchased music, apps, or books with multiple Apple IDs. How can I get all of this content onto my iOS device?

    First, you need to copy all of your purchased content so it is on the same Mac or PC with iTunes. This computer should be the one you sync your device with. For more information on how to move your content, see these articles:
    Mac:  iTunes for Mac: How to copy purchases between computers
    PC:  iTunes for Windows: How to copy purchases between computers
    Next, authorize your computer to play content with each Apple ID in iTunes. Once your computer is authorized for all your content, it can be synced to your iPhone, iPad, or iPod touch. 
    I hope this information helps ....
    - Judy

  • In a single program how to lookup different EJB from different application

    Hi,
    I have deployed two applications app1 and app2 on oc4j.
    There is a stateless session bean in a1 called ejb1.
    And there is also a stateless session bean ejb2 in app2.
    I write a test jsp in app1 to lookup ejb1 and ejb2 as an application client. So I need to create an application-client.xml for it.
    <?xml version="1.0"?>
    <!DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN" "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd">
    <application-client>
    <display-name>ejbs</display-name>
    <ejb-ref>
    <ejb-ref-name>ejb1</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>class_of_ejb1Home</home>
    <remote>class_of_ejb1</remote>
    </ejb-ref>
    <ejb-ref>
    <ejb-ref-name>ejb2</ejb-ref-name>
    <ejb-ref-type>ejb2</ejb-ref-type>
    <home>class_of_ejb2Home</home>
    <remote>class_of_ejb2</remote>
    </ejb-ref>
    </application-client>
    However, When I run the test.jsp, It will report following error:
    javax.naming.NamingException: Error reading application-client descriptor: No location specified and no suitable instance of the type 'class_of_ejb2' found for the ejb-ref ejb2
    In fact, if I only lookup any of the ejb and the application-client.xml just specify only the according ejb-ref, everything is alright.
    But how to construct the application-client.xml so that it can suitable for 2 different ejb in different application? Do I miss something in doing it?
    Kindly advice!
    Queeny Tang

    Hi Debabrata Panda,
    I did add parent in web.xml, but it still encounter
    "Error reading application-client descriptor: No location specified and no suitable instance of the type 'class_of_ejb2' found for the ejb-ref ejb2"
    In my program, a jsp in app2 will lookup ejb1 of app1. In the same way, a jsp in app1 will lookup ejb2 of app2.
    if I declare in server.xml
    <application name="app2" path="../applications/app2.ear" parent="app1" auto-start="true" />
    <application name="app1" path="../applications/app1.ear" parent="app2" auto-start="true" />
    That will cause error reading application-client.xml for all
    ejbs.
    How to solve this.
    Thanks in advance!
    Yours Queeny

  • How can we assign different colours to different records(line items) in alv

    how can we assign different colours to different records(line items) in alv reporting?

    Hi Friend,
    Please see this SDN Wiki  for setting the color in ALV :[http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP-DevelopingInteractiveALVReportusing+OOABAP]
    There are so many SDN Wiki's on this  just try with search  Alv Color display in SDN,
    Regards,

  • HT1476 My iPhone 4S will charge on a laptop but not from a wall plug. I have tried different boxes and different USB cords from the wall but none work. These boxes and USB cords work for other family members with iPhones. I'm stumped :/

    My iPhone 4S will charge on a laptop but not from a wall plug. I have tried different boxes and different USB cords from the wall but none work. These boxes and USB cords work for other family members with iPhones and a USB cord that works from the laptop won't work from 3 or 4 different wall boxes that work for others. I'm stumped :/

    Update: It seems as though the phone will charge if I plug it in and then turn it off.  It will not charge while the phone is on.  Also iTunes will not recognize it, so I can't sync or anything.  I read somewhere that it could be a fuse somewhere?? Or maybe the dock connector. Where is the best place to get this repaired?

  • Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    The link is to a discussion started on 12/18 in the FiOS Internet forum.  Here's the link I get now, however it is different than the link I pulled a few hours ago.  If this system changes the link again, it may not work.
    http://forums.verizon.com/t5/FiOS-Internet/Frustration-and-just-confused-with-internet-help-please/t...
    You can also look for the topic, "frustration and just confused" in the FiOS Internet forum.
    Here's a link that is in the thread that gives more detail.
    https://secure.dslreports.com/faq/15984
    Good Luck!
    P.S.  "Copper Contributor" is my "rank."  gs0b is my user name.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

  • I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I'm not really sure how to get those source files back

    I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I’m not really sure how to get those source files back and get rid of the extra long path to where the source files are now located. If I re-link files to their current catalog (many different paths to files in same catalog) can I merge (import catalogs) into one master catalog?  Will the new (Master catalog) have the correct link to the source file?  If not, how or can this be done?
    I have tried to explain my situation as clearly as I can.  Do you understand my situation?
    This maybe something you don’t have time to help me with.  If not can you suggest somewhere I can get an answer?  I really need help.  PLEEEZZZ HELP ME.
    Bruce Schuerman
    Norman, OK
    405_514-4875 (call collect)
    [email protected]

    Is there any solution (other than buying
    I really think 'buying' is the best solution on this one.  Ideally, you would have at least five internal hard drives.
    System
    Projects
    Cache/Scratch
    Media
    Exports
    Use externals and network drive only for backup.

Maybe you are looking for

  • WiFi issues with iPhone 4S & ios 6 update

    Okay here is my issue... I've been reading alot of issues that people have with connecting to WiFi with their new iPhone 5, iPhone 4S or other devices but I have no trouble connecting to WiFi at all. My problem is that WiFi wont 'work'. The WiFi I'm

  • Want report to display Sales Life Cycle for Particular Sales Area

    Hi all, What are the select-options,parameters and tables for the report sales life cycle for a particular sales area and if possible send me the code for the same. Thanks in advance Santosh R

  • Query Template Caching Properties

    I need to change the IsCachable on the fly in an IRPT page. It seems every property is exposed in the query object EXCEPT IsCachable. Am I missing something? Assuming I'm not, how can I simply tell the query template to NOT check the cache for this u

  • Rhsnippet.apj Error with RoboHTML 11 Project on Network

    I have an RH 11 project on a network drive. The project has 485 snippets. When adding or modifying snippets I get the following error: An error occurred while trying to read data from <n:\roboHelp Projects\\rhsnippet.apj <1>. When I open the rhsnippe

  • OS upgrade on machine without carrier

    hi, i've got a bb bold 9700 with OS5. if i want to upgrade it in the futer(to os6), how can i do so? the links in this forum let me select my carrier. but my bold is not branded and no carrier software is running on it. which one should i select, or