Identification of sources, causing low performance

Greetings,

I have two ESXi and vCenter, two iSCSI SAN, local storage is not used. All the disk activity is based on ethernet LAN.

A few hours ago some VM has experienced very low performance.

When I checked the graphics of first ESXi server performance he showed very high values (see attached).

but when I checked for each individual VM performance charts, even affected VM, everything within a reasonable range.

I have not taken any action, and suddenly everything go back to normal...

How can I identify what is the cause?

Hello

Your screenshot of the performance logs have the information below in blue but unfortunately it was cut. So the next time you have the problem have look lower down for writing and or read rates which shows that intensive use and I would recommend ESXTOP using next time to give you a good amount of data on the problems that you may encounter.

If you have found this or other useful information, please consider awarding points to 'Correct' or 'useful '.

Gregg Robertson, VCP3, 4, MCSE, MCSA, MCTS, MCITP

Tags: VMware

Similar Questions

  • Qosmio X 870 stop without reason - low performance

    Hi all

    I recently purchased a Qosmio X 870 116 and I am extremely disappointed. It is supposed to be a gaming computer, but I can barely run that one game without the PC hangs. I tried to run newer games such as Diablo 3 and Guild Wars 2. During the download of the GW2 Launcher, the PC crashed after a while, closing without no reason.

    I finally managed to install the game on my laptop even when but I always have problems since I play after no more two minutes, the game slows down, the frame per second falls dramatically to 2 FPS and laptop computer crashes again.

    I think there is a problem with the graphics card or the fan because eveytime I try to launch a game, the fan starts to run very fast and noisely.

    I thought that it can also be a problem with technology Nvidia because of their service to Optimus on their recent graphics cards, so I tried to "give priority" use my NVIDIA GeForce GTX 670 M instead of the Intel HD family 4000 chipset used in the laptop computer, by right-clicking the icon of GW2 and opening the NVIDIA Control Panel to select the option "performance Nvidia High."

    Unfortunately, the game freezes still after a few minutes. I have of course updated the drivers for the Nvidia card, but even when it does not work.

    In addition, the laptop seems quite slow for me even while browsing on the Internet and the desktop which is rather worrying since the laptot has 12 GB of memory.

    Anyone have an idea what is the reason for these low performance?

    Thank you in advance.

    Hello

    There is a new BIOS v1.50
    Try to update the BIOS because I read in other threads that similar problem with X 770 has been resolved by the BIOS and update the graphics driver.

    The nVidia driver available on the page of the EU pilot seems to be older than the driver available on the nVidia page. If its interesting to know if you could get the running games using the driver from nVidia page.

  • Why 4 GB of ram exhibits very low performance in vista 64-bit?

    IAM using windows vista 64 bit and I have installed 4 GB of ram I noticed very low performance and low score 4.5 I tired to change the positions of the ram and tried to use a different kind of ram, but my score of 4.5 with 2 GB or 4 GB ram sucked into this score with a low yield iam very disappointed of what can one help me?

    2 * 2 GB samsung pc2 6400 4 GB
    and I tried transcend pc2 5300

    HI BUD85

    Contrary to what said 'DaGreenOne' on 'thread lock', I can assure you that we will not do.
    We strive to help you with this problem.  However, I kind of sharing what he or she said several suggestions have been posted but nothing is your problem.  There was some good suggestions posted here.

    It's frustrating, I know.  Question: If you put the 'original' of return RAM in the system and restore the system back to how it was when you bought, 1st you get the experience index you originally?  This is assuming that you are ready to perform a system recovery which erases the hard drive clean and make it the way it was when manufacturing built the machine.

    Please confirm you "not" mix the different types of RAM in the computer, which means that you put in two sticks of 6400 and two sticks of 5300 (these numbers used for example)

    Thank you

    Ken
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • BlackBerry Smartphones very low performance after impossible to install the game (8310) necessary to reset the phone?

    Hello! Today, I tried to install a game using the Desktop Manager. I can see the icon in the menu, but does not (module not found) and the Desktop Manager does not see the game installed (or in options-advanced-applications)

    The problem is that now the phone has very low performance and I can barely use it, it's too slow.

    I think that the phone must be reset to the settings to factory or something.

    Can someone help me to do this?

    Thank you!

    Hello

    What I was doing to completely wipe my BB. I wrote this before and it printed.

    If your device does not work, perform a backup now if you have not already done save the file to a place and a name that you can easily locate it on computer.

    I then uninstalled DTM and then deleted all the other references to BB/Rim in Windows Explorer, thus eliminating the operating system for the BB to the computer in order to ensure that the version I want to reinstall a new version uploaded.

    Get the latest Desk Top software DTS)
    http://us.BlackBerry.com/apps-software/desktop/?CPID=OTC-DSKTPSW&CP=OTC-DSKTPSW

    and install it on the computer.

    Get the latest version of the operating system

    http://us.BlackBerry.com/support/downloads/download_sites.jsp

    and save it on computer.

    To erase all data on your BlackBerry device, follow these steps.

    (1) download JL_Cmder http://www.4shared.com/get/oqP9V-2Q/JL_Cmder_v19.html

    (2) install JL_Cmder to the computer.

    (3) double check you have already saved the BB. If you DO NOT, you will lose all data.

    (4) make sure that DTS is closed and plug in the BB to the computer via USB

    (5) to reach the JL_Cmder on your computer and double-click it to start. Now, it may take a few tries to connect, so persevering until he does.

    (6) on the first screen, press a key to continue.

    (7) now, if your device uses a password, enter it now. If not, press "N".

    8) press 4 to start CLEANING

    (9) press on 'Y' to continue

    (10) now type "blackberry" to continue

    (11) on the BB, you see a white screen with an error "507". Don't worry, that's what you want! You are now ready to install the operating system.

    Launch the new Desk Top software on the computer

    (1) on the homescreen of the BlackBerry® Desktop Software, click Device > update my device.

    (2) click on view the other Versions. Click the version of the new OS you previously downloaded.

    (3) click on install. The DTM will install the OS and then provide you with a list of applications to install. If you have had problems with an application, do not install it.

    Do not disconnect the device until the whole process is finished and restarted the device.

    After 10 minutes, restart again by removing the battery slot while tension and leave for a few minutes.

    Leave it again for 10 minutes. You should now have a fully functional BB!

  • Characters not visible (caused by hitting the bar space or TAB in PL/SQL developer tool) causing slow running query? and database with low performance?

    Hi all

    I need your help to get this issue resolved its urgent and I'm not able to get to the conclusion. Here is my scenario, I'm getting slow query runs because of some non-visible characters that are copied with the application of the PL/SQL developer tool. Please find below attached screenshot: Oracle_Issue

    Oracle_Isssue.png

    Note: This non-visible characters are caused when we write the query then us hit the SPACEBAR or press TAB PL/SQL developer tool

    I use the developer tool PL/SQL to write or test the query. Now I take this request copy paste in my application of the company (who takes this query connects to Oracle or any source of data base, catch data and produce PDF reports for customers).

    Now, my client is the Oracle user when I write and you run this query by the PL/SQL Developer, it works fine, but when I paste in my Inbox feature request (reporting system) and run it, it runs slower and jams to the customer database. Now after a little research I found that when I copy the query directly from PL/SQL developer at my request, he copy some characters not visible (introduced when we press SPACE or TAB in PL/SQL developer tool when writing query) with the request, then I copy this query again to my box of the application Notepad and delete these non-visible characters. Now, after removing the non-visible characters again once I copy backup question in my application and run the query, it works normally. Please find below attached screenshot: Oracle_Issue 2

    Oracle_Isssue_2.png

    So I think that the cause of slow performance is due to some INVISIBLE CHARACTERS present in the query.

    My application uses SQL server 2008-2012 at the backend to store data from different sources.

    Character set used: SQL_Latin1_General_CP1_CI_AS


    To write and test queries: PL/SQL developer tool

    My Client use Oracle 11 g

    Character set used: Normal character: NLS_CHARACTER: AL16UTF16

    National Characeter: NLS_NCHAR_CHARACTER: WE8WIN1521

    I just wanted to know the blocking process to the top of the database and the characters not visible how affecting slow running query of query database.

    Please let me know if I'm missing something or you need more information on this issue.

    Thanks in advance,

    HP

    Simple answer. No.

    Spaces and line breaks do not change the execution plan created. Does not plan to run slower or faster.

  • Low performance after sleep (Windows 7)

    Hi guys!

    2 days ago my laptop went to sleep mode. After he returned he crushed. I rebooted it and since then it does not work properly.

    (When I restarted the laptop a message appeared stating that he could not leave the sleep mode and all files that has not been save will be lost).

    The performance is really low and I literally can't do anything.

    This is not something which happens only after the mode 'sleep'! It's always like that!

    I should also mention that it works fine in safe mode!

    I could really use some help here! Thank you in advance!

    Yes, it's been a common problem

    All I can say is to ensure that you have the latest Net framework installed manually 4.6.1
    https://www.Microsoft.com/en-US/Download/details.aspx?ID=49982

    And the most recent client update
    https://support.Microsoft.com/en-us/KB/3138612

    In the end, I believe that the cause is a corrupted windows update store

    Have you ever run Disk Cleanup and clean up system files

    Then deleted old windows updates?

  • Re: Satellite Pro M70 - high utilization of the processor - low Performance

    I sincerely hope that someone can help you. I do not consider myself really computer illiterate, but this is where my understanding ends and I really value any assistance.

    I have a Toshiba Satellite Pro M70 for 2 years and I'm a final Defender to Toshiba. However, my operating system is slow. Average day use with Internet Explorer and Office 2007 is a laborious process that takes too much time. I have had conflicts with Trend Micro Internet Security 2008, that works perfectly.

    But turn on the computer takes forever. The CPU usage is generally high and System Idle process as well. I reinstalled Windows XP from the Boot Toshiba DVD already 4 times to nine and install everything over and over again. Each time after all to speed once again, performance is disappointing.

    I expanded RAM to 1.49 GB that makes little difference from the original 1/3 of RAM. It seems that something is slowing down the computer, but it is not visible in the process; but a certain process of svhost.exe who have the ability to handle little or the CPU usage.

    I've used Windows Gold Certified Uniblue Power Suite with a good registry cleaner. This helps a little, but after a few days, it seems only make it worse. I have a processor Intel Pentium M 1.73 GHz. search online reveals that Trend Micro IS 2008 is pretty good and demanding little capacity compared to the competing security packages.

    Is this system/software related or it could be a hardware problem?

    Thanks in advance to all!

    Hello

    I doubt that it could be a hardware problem, I mean a CPU usage can get if a certain service or applications would be run in the background of the OS.

    Generally, Antivirus applications are a kind of software that could cause this problem I had a Norton System works installed on my laptop and this software needs a lot of resources that slowed down the laptop
    In addition, some applications of Toshiba which are installed and running in the background may affect performance. But these applications are required to be able to use all the features of the laptop

    However, in msconfig you could disable.
    Launch msconfig-> Startup tab and disable some processes that are not necessary for you.

    In addition, you can use the CCleaner to clean the registry and operating system

  • NB500 - low performance while browsing

    My nb500's low speed performance to go is very slow
    How can I improve the ability of my laptop

    Hello

    Can you please send more details and info.
    What kind of performance do you mean exactly? Internet connection speed or what?

  • Low performance of the HP 110-3100 PC Mini

    Hello, I have a HP Mini 110 with Widows 7 Starter 32-bit with 1 GB of RAM memory, and it is amazing, slow, after working for about 20 minutes, how is that possible? I have almost no software installed and I do not use it for software that requires high internet connection speed or other special requirements.

    Can someone help me to increase its speed or improve its performance?

    Kind regards

    Mauricio

    Hi, Mauricio:

    1 GB memory not enough these days to the same basis of calculation.

    My recommendation would be to take away the 1 GB memory card and install 2 GB maximum memory.

    This should make your best performing PC for one low price.

    Here is the link to the service manual for your laptop.

    Procedures for removal and replacement of memory can be found in Chapter 4.

    http://h10032.www1.HP.com/CTG/manual/c02481106.PDF

    You need to buy a memory module 2 GB PC2-5300 (667 MHz).

    You can also use a memory module 2 GB PC2-6400 (800 MHz), but it will only run at 667 MHz speed.

    Make sure you get one that is compatible with this model.

    If you can get crucial kingston memory where you live, or those who would be your best bets.

    http://www.crucial.com/store/mpartspecs.aspx?mtbpoid=D916D6B2A5CA7304

    Kind regards

    Paul

  • Keyboard, audio and low performance with Satellite L50-A-19N index output

    Hello

    I recently bought this laptop and I am very disappointed on the keyboard.

    Construction seems pretty harsh, but typing typing particularly fast, I'm leaving A LOT of (double letters) or letters lack mistypes.

    It seems to me that imperfect contact of the bladder base key.
    I wanted to know if this is normal with this model or is to be retrieved.

    Second disappointment is on the quality of the sound, using IDT pilot the most recent laptop (6.10.6491.0) Web but barebone sounds incredibly ugly.

    I need to activate the audio component DTS which is turned OFF by default, only after the beep for the external speakers seem its listenable, but still not as good and audio of my previous laptop with Realtek HD Audio (about same class).

    Can anyone recommend a better sound improvement or how to reach generally of better sound quality?

    My third disappointment is on the performance of the processor, although he should have the processor i7 (4700MQ), the computer index in Passmark PeformanceTest reached only about 6600-6700 points, while different configurations with the same processor unit reach up to 7900-8000 points.

    I would like to know if that could be a defective unit of CPU in my laptop or is rather caused by other circumstances as more slowly other components.

    Hello

    Until we start to talk about all of your problems, you should post some information like: laptop model and perhaps that the system you are using

    Before that, the details are unknown, its actually not make no sense to talk of possible solution and the solutions.

  • Dumprep.exe causes slow performance

    Anyone have any suggestions on how to fix Dumprep.exe causing the slow performance?

    My XP is slow recently.

    Does anyone have any suggestions?
    Thanks in advance for your suggestions

    It's the dump reporting tool and it runs when some program/process causes an error in the system. Therefore, you should know what that the root of the error and fix it. Since you told us nothing about your computer and its recent history, here is general information on troubleshooting a slow computer:

    Some reasons for the slow pace of the computer:

    1. computer has not been maintained - http://www.elephantboycomputers.com/page2.html#Maintenance

    2. the computer is infected with the malware - http://www.elephantboycomputers.com/page2.html#Removing_Malware

    3. the disk is too full. Remove useless stuff, uninstall unused programs. Do not forget to save!
    http://www.elephantboycomputers.com/page2.html#Backing_Up

    4. flaky third party software. Toolbars and modules are particularly guilty in this area. Uninstall toolbars (Google, Yahoo, ISP brand, etc) and look at what modules are in use in your browser (s).

    5. computer has too many unnecessary programs/processes running in the background. Manage your Startup:

    For XP - How to troubleshoot using the Msconfig in Windows XP utility - http://support.microsoft.com/?id=310560
    The free Autoruns program is very useful for managing your Startup - http://www.microsoft.com/technet/sysinternals/default.mspx

    For Vista/Windows7 - Start Orb > Search box > type: msconfig and when it appears in the results area above, right-click and choose 'run as administrator '. Autoruns is also very useful.

    6. the user runs an inflated/invasive such as Norton and McAfee antivirus program. Replace it with a better program. I recommend NOD32 (commercial) or Avast (free). Avira is also good, but the free version has an unpleasant reminder screen (Google for instructions on how to disable it). The user can also run several real-time antivirus/firewall/security programs.

    7. the user has installed new programs that are processor and/or memory-intensive (Photoshop, AutoCAD, Mathmatica or similar) and does not have the power of the equipment.

    8 drive fails and is in PIO Mode (IDE only - not applicable for disks SATA drives). It's very much slow (like being in 1985). See Hans-Georg Michna here information -http://winhlp.com/?q=node/10

    If the hotfix registry PIO only 'glue' (or you have a SATA drive), the drive is probably faulty and needs to be tested.
    http://www.elephantboycomputers.com/page2.html#Hardware_Tshoot

    In addition to the above, see also http://miekiemoes.blogspot.com/2008/02/help-my-computer-is-slow.html

    MS - MVP - Elephant Boy computers - don't panic!

  • Synchronization errors between the primary and Standby - Cause of Performance issue

    Hello

    We have an Informatica Repository Database, which has also a standby Database configured.

    One of these days we had errors in synchronization that is mentioned below.

    Sun Dec 15 05:07:19 2013

    Errors in the /opt/oracle/admin/ROSINP/bdump/rosinp_arc0_802.trc file:

    ORA-16191: customer main newspaper not connected waiting for shipment

    "PING [ARC0]: Heartbeat cannot connect to standby mode ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = tcp) (HOST = uora115r)(PORT=1521))) (CONNECT_DATA = (SERVICE_NAME = rosinr_XPT

    . BSCA.eds.com) (instance_name = rosinr) (Server = Dedicated)))'. The error is 16191.

    Sun Dec 15 05:12:19 2013

    Logging of 1017 errors received on the eve

    This can be only a cause of Informatica service down? Also this synchronization can result in performance problems?

    There is no DB related errors on the database apart from that.

    Kind regards

    Narayan

    Cannot be known from the information provided.

  • Tables 2D causing low framerate

    I get some performance involving issues based on maps generated with 2D arrays. I have 5 levels in the game, but as I bring and following these levels (for example, when I goes from level 1 to level 5 and then level 5 to 1) the framerate drops. More I change levels, shift more I get.

    It has something to do with the berries, I am sure of that, but I don't understand exactly what causes and how to stop it. I tried to fix it myself, but I was not entirely successful. The lag persists. I searched online for similar problems, but none of the solutions I've tried has worked for me. I'll appreciate any advice or suggestions as to what is happening...

    Here is my code (it's all about an image in the main timeline):

    levelProgress = 1;           Level 1

    _Global.bricks = [];          Table to hold all the tiles at my level, but NOT the levels themselves
    updateLevel();                 Calls the function that updates the level according to levelProgress

    function updateLevel() {}
    unloadLevel();
    Switch (levelProgress) {//Switch controls what levelProgress is on}

    case 1:
    Level = new Array();          This is the table that contains the levels; appears only in case 1
    _root.createEmptyMovieClip ("lev", 1);     Creates a movieclip to place tiles appears only in case 1

    Level code goes here; each level is 14 48. I'm only the first and last lines,

    level [0] = new Array (2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);

    level [14] = new Array (3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3);

    break;

    case 2:

    Level code goes here, the same format as level 1, but with different numbers.

    level [0] = new Array (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);

    level [14] = new Array (3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3);

    break;

    Levels will light until the case 5.

    } //end of switch statement

    for (y = 0; y < = 14; y ++) {}
    for (x = 0; x < = 48; x ++) {}
    If (level [y] [x]! = 0) {//Goes through the table puts a tile when it is not zero
    place_brick = lev.attachMovie ("tile", "tile_" + lev.getNextHighestDepth (), lev.getNextHighestDepth (), {_x:x * _y:y - 15, 35 * 35});
    place_brick.gotoAndStop(Level[y][x]);
    Bricks.push (place_brick);         push all tiles in a table, so I can delete them all later (when changing the levels)
    }

    }
    }

    function onEnterFrame() {}

    I have the code here followed the _x position player; When he goes to the right or well left of the screen, I'm doing a levelProgress ++ or levelProgress - and call updateLevel()

    The levels are all on the same frame. When the player goes to another level, I've updated the level and change its _x position

    }

    function unloadLevel() {//this function is called whenever the level is updated to remove the old level
    for (var i in _global.bricks) {}
    _Global.bricks [i] .removeMovieClip ();      This command removes each tile. It reduces the lag a bit, but he continues to accuse a lot!
    }
    }

    Thanks for the suggestions, but all my clips were removed. I just found out what I had to do. I didn't delete the data in the table of bricks, I had, I was just remove the clips of the tiles. The actual data in the table were still there, so I added a line of code in my unloadLevel function:

    function unloadLevel() {}

    for (var i in _global.bricks) {}

    _Global.bricks [i] .removeMovieClip ();

    }

    _Global.bricks = [];

    }

    My paintings of compensation seems to fix the problem, but I do not understand why it causes lag in the first place. In any case, it works fine now.

  • Source of the performance of flow control.

    Hi DBAs,

    I want to follow the Soruce for Capture database and spread covers the performance of database running on 10.2.0.4. For example, how many messages be captured per second. How much spread receiving and sending messages. No messages overwhelmed at Source etc. What I am asking is scripts that experienced the DBA must JJUJ what is happening at the Source. -J' have very often run the Scripts to check health but do not want to run every time. I just want to get statistics on the fly. And is it possible to see how pool of water is consumed at the source at run time?


    (If someone was irritated by this post, please stay away.) Don't advise please - see documentation or google).


    Thank you
    -Samar-

    I think that you are ready to adopt the smenu, or at least the five shortcuts which deals with water courses.

    Nevertheless, here is the output that is produced by ' cap d 0' whiich is the closest to your request:

    CONNECT_STRING=STRMADMIN/STRMADMIN
                              msg    msg    cap                              msg                             App    Read    msg    msg   app
     Capture                  scan   enq   spill   Propagation               prop  Apply                     deq    deq.    app    err  spill
     ----------------------- ------ ------ ------ ------------------------- ----- ------------------------ ------ ------ ------ ------ ------
    CAPTURE_CUSTORD01_M           0      0      0 CUSTORD01_M_2_WAPRD2          2 APPLY_CUSTORD01_M             0      0      0      0      0
    CUSTORD01_LOG_CAPTURE        26      0      0 SOURCE_TO_TARGET              0 SALESGEN_APPLY                0      0      0      0      0
    15h12:31
    CAPTURE_CUSTORD01_M           0      0      0 CUSTORD01_M_2_WAPRD2          0 APPLY_CUSTORD01_M             0      0      0      0      0
    CUSTORD01_LOG_CAPTURE         8      2      0 SOURCE_TO_TARGET              2 SALESGEN_APPLY                2      1      1      0      0
    15h12:32
    CAPTURE_CUSTORD01_M           0      0      0 CUSTORD01_M_2_WAPRD2          0 APPLY_CUSTORD01_M             4      2      2      0      0
    CUSTORD01_LOG_CAPTURE         0      0      0 SOURCE_TO_TARGET              0 SALESGEN_APPLY                0      0      0      0      0
    15h12:35
    CAPTURE_CUSTORD01_M           0      0      0 CUSTORD01_M_2_WAPRD2          0 APPLY_CUSTORD01_M             2      1      1      0      0
    CUSTORD01_LOG_CAPTURE         0      0      0 SOURCE_TO_TARGET              0 SALESGEN_APPLY                0      0      0      0      0
    

    and the code that you can cut and past and adpat:

        #
        # Doing a kornshell loop, for can't flush intermediate results with PL/SQL dbms_out.put_line
        #
        # This routine assumes that dba_streams_administrator are all the same with same password and
        # correspond to  name returned by "select username from dba_streams_administrator where rownum = 1;"
        # the routine connect to this username to perform its task. If it is not the case then you have
        # to restrict and provide the strmadmin username and connection and the routine will only report
        # delta for capture this administrator manage
        #
        if [ -n "$fcapture" ];then
            AND_CAP=" and c.capture_name = '$fcapture'"
        fi
        echo "CONNECT_STRING=$CONNECT_STRING"
        REPEAT_COUNT=${REPEAT_COUNT:-1}
        DETLA_SEC=${DETLA_SEC:-1}
        cpt=0;
        $SETXV
        echo "                          scn    msg    cap                              msg                             App    Read    msg    msg   app"
        echo " Capture                  scan   enq   spill   Propagation               prop  Apply                     deq    deq.    app    err  spill"
        echo " ----------------------- ------ ------ ------ ------------------------- ----- ------------------------ ------ ------ ------ ------ ------  "
    
        while [ $cpt -lt $REPEAT_COUNT ]
        do
          cpt=`expr $cpt + 1`
          sqlplus -s "$CONNECT_STRING" <propagation->apply
     -- declaration type section
     type rec_sess is record ( id               number,      -- logminer id
                               cap_name         varchar2(30),
                               cap_msg_scanned  number,
                               cap_msg_enqueued number,
                               cap_spill        number,
                               prop_name        varchar2(30),
                               prop_msg         number,
                               app_name         varchar2(30),
                               app_deq          number,
                               reader_rcv       number,
                               coor_app         number,
                               app_err          number,
                               app_spill        number
                              ) ;
     type typ_rec is table of rec_sess INDEX BY BINARY_INTEGER;
     a           typ_rec;                   -- a contains first  measurement
     b           typ_rec;                   -- b contains second measurement
     key         number:=0;
     v_cpt       number:=0;
     sqlcmd      varchar2(1024) ;
     v_msg_deq   number;
     v_msg_app   number;
     v_msg_rcv   number;
     v_msg_err   number;
     v_app_spill number;
     v_app_name  varchar2(30);
     v_delta     number:='$DELTA_SEC' ;
    
      procedure show_result is
        v_old_cap  varchar2(30);
        v_cap      varchar2(30);
        v_prop     varchar2(30);
        v_app      varchar2(30);
        var number;
      begin
         FOR i in b.FIRST .. b.LAST
         LOOP
           if b.exists(i) then
              if a.exists(i) then
                -- we found a match of keys between A and B
                dbms_output.put_line(rpad(b(i).cap_name,24,' ')                        || ' ' ||
                        rpad(to_char(b(i).cap_msg_scanned -  a(i).cap_msg_scanned ,99990),6,' ')       || ' ' ||
                        rpad(to_char(b(i).cap_msg_enqueued - a(i).cap_msg_enqueued,99990),6,' ')       || ' ' ||
                        rpad(to_char(b(i).cap_spill - a(i).cap_spill,99990),6,' ')     || ' ' ||
                        rpad(b(i).prop_name,24,' ')                                    || ' ' ||
                        rpad(to_char(b(i).prop_msg - a(i).prop_msg,99990),6,' ')       || ' ' ||
                        rpad(b(i).app_name,24,' ')                                     || ' ' ||
                        rpad(to_char(b(i).app_deq - a(i).app_deq,99990),6,' ')         || ' ' ||
                        rpad(to_char(b(i).reader_rcv - a(i).reader_rcv,99990),6,' ')   || ' ' ||
                        rpad(to_char(b(i).coor_app - a(i).coor_app,99990),6,' ')       || ' ' ||
                        rpad(to_char(b(i).app_err - a(i).app_err,99990),6,' ')         || ' ' ||
                        rpad(to_char(b(i).app_spill - a(i).app_spill,99990),6,' ')
                   );
              end if;
           end if;
         end loop ;
      end ;
    
      function take_measurement  return typ_rec is
         row   typ_rec;
      begin
         for c in ( select
                    l.DB_LINK, a.USERNAME stream_admin ,
                    p.propagation_name, p.source_queue_name,
                    p.destination_queue_name destination_queue_name,
                    c.capture_name, c.logminer_id,
                    nvl(sc.total_messages_captured,0) msg_scanned,
                    nvl(sc.total_messages_enqueued,0) msg_enqueued, ps.TOTAL_MSGS msg_prop,
                    bq.spill_msgs cap_spill
                 from
                    dba_db_links  l,
                    dba_streams_administrator a,
                    dba_propagation p,
                    dba_capture c,
                    gv\$streams_capture sc,
                    gv\$propagation_sender ps,
                    gv\$buffered_queues bq
                 where
                    l.username           =  a.username          and
                    p.destination_dblink =  l.db_link           and
                    p.source_queue_name  =  c.queue_name        and
                    p.source_queue_owner =  c.queue_owner       and
                    sc.LOGMINER_ID (+)   =  c.logminer_id       and
                    sc.capture_name      =  c.capture_name      and
                    ps.queue_name        =  c.queue_name        and
                    ps.QUEUE_SCHEMA      =  c.QUEUE_OWNER       and
                    bq.queue_name        =  c.queue_name        and
                    bq.QUEUE_SCHEMA      =  c.QUEUE_OWNER $AND_CAP
                 )
         loop
            sqlcmd:='select a.apply_name,total_messages_dequeued, total_received,'
                ||' total_applied, total_errors, bq.spill_msgs '
                ||' from gv\$streams_apply_reader@' ||  c.db_link || ' r, '
                || '     dba_apply@' || c.db_link ||' a,'
                || '     gv\$streams_apply_coordinator@' || c.db_link ||  ' c, '
                || '     gv\$buffered_queues@' || c.db_link  ||' bq '
                ||'  where '
                ||'     r.apply_name (+) = a.apply_name and '
                ||'     a.queue_name     = ''' || c.destination_queue_name|| ''' and '
                ||'     c.apply_name (+) = a.apply_name and '
                ||'     bq.queue_name(+) = a.queue_name' ;
             execute immediate sqlcmd into v_app_name, v_msg_deq,v_msg_rcv, v_msg_app, v_msg_err,v_app_spill;
             key                       := c.logminer_id ;
             row(key).id               := c.logminer_id   ;
             row(key).cap_name         := c.capture_name  ;
             row(key).cap_msg_scanned  := c.msg_scanned   ;
             row(key).cap_msg_enqueued := c.msg_enqueued  ;
             row(key).cap_spill        := c.cap_spill  ;
             row(key).prop_name        := c.propagation_name ;
             row(key).prop_msg         := c.msg_prop ;
             row(key).app_name         := v_app_name ;
             row(key).app_deq          := v_msg_deq ;
             row(key).reader_rcv       := v_msg_rcv ;
             row(key).coor_app         := v_msg_app ;
             row(key).app_err          := v_msg_err ;
             row(key).app_spill        := v_app_spill ;
      end loop;
      return row;
      end ;    -- end procedure take measurement
    
    begin
      -- First measurement
      a:=take_measurement ;
      dbms_lock.sleep(v_delta);
    
      -- Second measurement
      b:=take_measurement ;
    
      show_result;
    end;
    /
    EOF
    echo "`date +%H'h'%M:%S`"
    done
    exit
    
  • Firefox get low performance after runing 2 years as well

    Hi all
    in advence, I am happy to be one of the users of mozilla firefox.
    really, I think it's a stable browser.
    After two years using mozilla firefox Charleston, it became very very low return on
    Facebook and youtube and a few Web sites that use a lot of JS
    Please, I don't want to delete all the bookmarks or history of the internet
    waiting for answers

    concerning

    Firefox Reset records everything except some preferences and extensions.

Maybe you are looking for

  • My system crippled Windows Update

    my system crippled Windows Update. Lights on. All the tests of transmitted material. Try to restore but it does allow me to enter a restore point and none come up when I click on the show more restore points box. What should I do?

  • R400/T400/T500/W500 - problem with Intel GPU 8.752.4 with Win 7 SP1

    Windows 7 SP1 was released to TechNet/MSDN subscribers (which includes the dreaded KB2028560 update)... Hope Lenovo Gets a hand on it and start working on the new drivers.

  • Unable to connect to the virtual wifi

    Hello I can not connect to the virtual wifi via android. on my old laptop with windows 7, it works the same way.I created it with commands cmd: command netsh wlan set hostednetwork mode = allow ssid = "MySSID" key = "Mykey" keyUsage = persistent nets

  • Problems with running script by using the Get-Content cmdlet

    #Code to generate the report.##-------------------------$vm = gc "vm.txt."and {foreach ($vm in Get-VM-location $DC) {}$parent is get-view $vm. ExtensionData.Parent$path = $vm. NameWhile ($parent. Parent) {}if($parent.) Name - only "vm") {}$path = $pa

  • DEM Setup error: (404) not found

    HelloI have installed the vCAC 5.2 with details below splitWeb server: Model Manager web service + model of data, administration portal, report site managervCAC Core Server: Manager Service + Model service Manager Web + DEM OrchestratorI believe that