STATSPACK % blocks modified by read

Hi all

I googled this and can't find the answer to this (if it's in the docs, I apologize, but I can't find it using the search there either)


There is an article in the statspack headlines: '% blocks changed by read. '


My question is simple: what is it?


My guess is that it is the percentage of blocks/reading to designate the area of cancellation to 'rebuild' the block, but as I say - I can't verify this.

Thanks in advance.

Published by: mrk December 21, 2011 21:15

Since we are talking about a report in Statspack, why not simply look at the SQL? A statspack report is just a SQL script.

If we delve into in it, we find the following line:

,'  % Blocks changed per Read:' dscr, round(100*:chng/:gets,2) pctval

OK, so, we have a formula, consisting of: Cooper and: gets. Let's see what that is.

Well, a little more searching and I'm sure that ': Cooper ' is the number of 'db block changes' and ': gets is the number of logical reads.

So, it is a ratio between the number of db block changes, as a percentage of logical reads.

If there is any question, the "db block changes' and the 'logical reads', both are well defined in the documentation.

On the top of my head, I think that this isn't a particularly useful statistic.

-Mark

Published by: mbobak on December 21, 2011 23:20

Tags: Database

Similar Questions

  • I have windows 7 and I use adobe reader and adobe pro and apparently my pro adobe blocks my adobe reader software.

    Now when I open a PDF file on a site that I use for work, she now comes up as a separate downloaded PDF instead of a Web page that I can change and submit. I don't know why it suddenly does not work. I try it in IE and Firefox (only two browsers, the site works in) and I still have the same problem. When I call the technical support Web site, they said my Adobe Pro blocks my Adobe reader software and they can not help me, but I should uninstall my Pro to be able to reuse my player. BUT I need my Pro for work. What can I do that does not involve uninstalling my pro? In addition, other support persons tech showed me how to change the addons in the browsers and how to change settings in the player so that they interact with the site, it does not solve the problem.

    Acrobat Pro is delicate the same modules of browser like Adobe Reader, and you don't need both.

  • Blocking update Adobe reader

    Update Adobe reader to the latest version on Windows XP Pro P4 platform. Progress bars stops at 64% and message "Can't find reliable localization" appears with the small yellow warning symbol. Option then is FINISHED, without updating.

    uninstall the adobe reader software, then download and install the latest version: http://get.adobe.com/reader/

    PS uncheck mcafee unless you are certain you want.

  • Interpretation of STATSPACK

    Hi DBAs,


    I need help to understand/interpret the statpacks load profile. As a sample below, what is this number indicates to redo size per second. What is a size of Redo generated in bytes and how a relationship between per second / transactions. According to the following example, this means that (20 981 / 8614 = 2.4) p.6
    This recovery has generated. If this section is any kind of average this average is based on that. I'm a bit confused to interpret the entire section. Please help on this.

    Load profile-/ s - per Transaction
    Restore size :---20 981, 54-8, 614.56
    Logical reads:--14, 411.11 - 5, 916.88
    Block changes :--87.19---35,80
    Physical reads: - 96.41 - 39.58
    Physical writings: - 5.15 - 2.12
    Calls for user :---239.66---98.40
    Analysis: - 54.53 - 22.39
    Strong analysis :---0.92---0, 38
    Kinds: - 16.94 - 6.96
    Opening of session :---0.04---0, 02
    Running :---70.14---28.80
    Transactions:---2.44

    Blocks modified by read %: 0.61 - percent recursive call: 54,57
    Rollback transaction %: 42, 21 - stored by genre: 60,24


    Thank you and best regards,
    -Samar-

    Edited by: Nome02 may 3, 2009 21:45

    Series of analysis of Statspack, Jonathan is probably the best reference you can find anywhere on the web

    http://jonathanlewis.WordPress.com/2006/11/29/analysing-STATSPACK-pt1/

    I suggest you go throughout the entire series.

  • Run parse %

    Hi all

    while I'm checking AWR report I'm Execute % Analysis:-0.79

    When I check the cursor_sharing parameter set to EXACT


    In my opinion will I turn it on to force it or not

    Vikas Kohli wrote:
    Load profile

    Per second per Transaction
    Size: 175,185.67 252,714.86
    Logical reads: 17,255.59 11 961,83
    Block changes: 183,62 264.89
    Physical reads: 333,09 480.50
    Physical writings: 18,18 26.22
    The user calls: 4.53 6.54
    Analysis: 21,03 30,34
    Hard analysis: 0.01 0.01
    Kinds: 0.95 0.66
    Logons: 0.11 0.07
    Runs: 20,87 30.10
    Operations: 0.69

    Blocks modified by read %: 1.54% recursive call: 92,84
    Rollback transaction %: 2,30 rows by genre: #.

    I think that you have shared it for 1 HR time. Looking at this analysis is not a problem. So more than half of your problem is solved here. Then you can check how the soft analysis.

    Have you looked at thead: run to analyze the ratio is 49 no problem ?

    Also, please check whats the % CPU Non-Parse ration? If his high, nearly 90 then the analysis is not a problem for you. Hope this helps

  • Cancel pending

    Hello


    Executed developer a query that creates a table of joining three tables, it took a long time to create a table then we (DBA) killed the sesison developer forms from there is huge I/O consumption. create table has been run in niologing mode, I've posted a few values of AWR report and the wait event was 'wait for a check Cancel.

    Report from the WORKING REPOSITORY for

    DB name DB Id Instance Inst Num release RAC host
    ------------ ----------- ------------ -------- ----------- --- ------------
    ODSPROD 1894138111 ODSPROD 1 10.2.0.1.0 NO XXXXXX

    Snap Id Snap time Sessions Curs/Sess
    --------- ------------------- -------- ---------
    BEGIN Snap: 20970 25 March 09 11:30:51 173 4.2
    End Snap: 20974 25 March 09 15:30:10 151 3.9
    Elapsed time: 239.31 (min.)
    DB time: 13,431.47 (min.)

    Cache sizes
    ~ ~ ~ Begin End
    ---------- ----------
    Buffer cache: size 35 776 M 35 776 M Std block: 8K
    Shared pool size: 2 048 M 2 048 M Log Buffer: 8 448 K

    Load profile
    ~ ~ ~ Per second per Transaction
    --------------- ---------------
    Size: 1,826,558.25 1,644,434.96
    Logical reads: 48,734.09 54 131,46
    Block changes: 14,404.01 15 999,27
    Physical reads: 9 496,99 8,550.06
    Physical writings: 988.19 1 097,63
    The user calls: 163,90 147.56
    Analysis: 45.26 50,27
    Hard analysis: 0.23 0.21
    Kinds: 5.36 4.83
    Logons: 0.39 0.35
    Runs: 95,54 8602
    Operations: 1.11

    Blocks modified by read %: 29.56% recursive call: 76,67
    Rollback transaction %: 5.57 rows by genre: #.

    Instance efficiency percentage (target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    % Buffer Nowait: 98.77 redo NoWait %: 99.89
    Buffer % success: 93,44% sort in memory: 100.00
    Library success %: 99,76% soft Parse: 99.54
    Run parse %: 47.38 latch hit %: 99.50
    Analyze the CPU to analyze Elapsd %: 27.63% Non-Parse CPU: 99.91

    Shared pool statistics Begin End
    ------ ------
    % Use of memory: 94,69 94.46
    Executions > 1% SQL: 94.00 95.82
    % Memory for SQL w/exec > 1: 93,19 96,30

    Top 5 timed events Avg % Total
    ~ ~ ~ waiting for call
    Event waits time (s) (ms) time wait class
    ------------------------------ ------------ ----------- ------ ------ ----------
    wait for recording to cancel 6 886 655 475 370 69 59.0 others
    switch log file (checkpoint in 123 588 118 643 960 14.7 sh
    DB file sequential read 8 980 853 67 170 7 8.3 user IO
    Time CPU 6.3 50 426
    direct path read 1 440 127 28 079 19 3.5 user IO
    -------------------------------------------------------------

    Both the statistical model DB/Inst: ODSPROD/ODSPROD Snaps: 20970-20974
    -> Total time in the user-calls database (DB time): s 805888.3
    -> Statistics, including the background measure word process 'melts '.
    time and therefore do not contribute to the statistics of time DB
    -> Ordered as a percentage or DB time desc, name of statistic

    Statistics time (s) % of time of the DB name
    ------------------------------------------ ------------------ ------------
    Execute SQL time elapsed 19.7 158 860,3
    DB CPU 50,425.9 6.3
    elapsed time sequence load 8,400.3 1.0
    elapsed time of connection management call 6,043.1.7
    analysis time elapsed 3,261.5.4
    the elapsed time analysis hard 3,198.2.4
    hard analysis (sharing criteria) of time 1,649.6.2
    PL/SQL execution elapsed 408.7.1
    could not parse time elapsed 292.2.0
    PL/SQL compilation elapsed 203,5.0
    hard analysis (bind incompatibility) of time 0,6.0
    repeated link 0,3.0 out of time
    DB time 805,888.3 N/A
    context of time 68,713.0 N/A
    background cpu time 6,727.7 N/A
    -------------------------------------------------------------


    I just want to know how we can capture this wait event Cancel any how the session is killed still waiting for cancellation is active what may be the cause.

    Sorry for the presentation of the awr report.

    Thank you

    Jafar

    Jerome wrote:


    Executed developer a query that creates a table of joining three tables, it took a long time to create a table then we (DBA) killed the sesison developer forms from there is huge I/O consumption. create table has been run in niologing mode, I've posted a few values of AWR report and the wait event was 'wait for a check Cancel.

    I just want to know how we can capture this wait event Cancel any how the session is killed still waiting for cancellation is active what may be the cause.

    Jafar,

    the event of waiting 'wait for a record Cancel' means possibly parallel rollback performed by SMON and slaves in parallel. For example see MetaLink Note 464246.1 (DUE TO PARALLEL TRANSACTION RECOVERY HANG DATABASE)

    What intrigues me is that a CREATE TABLE does not cancel, and what assistance the NOLOGGING option (if not replaced by some FORCE LOGGING tablespace or database level) minimizes the REDO generation.

    If a CREATE TABLE does not CANCEL since it does not apply changes to existing blocks but simply allocate new blocks which cannot be read by any other session as long as the process is not complete and if who gets killed shouldn't cause any excessive load caused by the restoration activities, but your system activity suggests otherwise. There seems to be a large transaction rollback occurring which could also explain the strong generation of REDO (back generates REDO).

    It would be more logical if the killed was a such a great INSERT without mode APPEND or a vast operation to UPDATE or REMOVE.

    Kind regards
    Randolf

    Oracle related blog stuff:
    http://Oracle-Randolf.blogspot.com/

    SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676 /.
    http://sourceforge.NET/projects/SQLT-pp/

  • reading non-blocking

    Hello

    I'm trying to implement a lock read along the lines of peekdata() in matlab http://www.mathworks.de/access/helpdesk/help/toolbox/daq/index.html?/access/helpdesk/help/toolbox/da...

    I found I can do readings not blocked from using the reading + http://forums.ni.com/ni/board/message?board.id=230&thread.id=2862 reminders

    Is there another way to get non-blocking reads?   The reason is that if the above, I've implemented the matlab Matlab mex interface calls the file (mex) C and I do read (must wait the trigger occurs) before returning from the C file (aka it becomes again blocking). So that callbacks are not really useful if the thought in a single thread passing that matlab works.

    Thanks for reading.

    The way in which the driver is written is to block on a reading DAQmx.  In a single threaded method will always call blocking as I know.

  • Blocker is disabled in Firefox, but I can still open popups on any site. Any ideas?

    My system: Firefox 15.0.1 on Win 7 Pro 64-bit with Norton AntiVirus 2012.

    I disabled Firefox popups blocker and I read on Norton (there no blocker), but again I can not open the popup windows. This is a secure site: http://www.thomann.de/de/allenheath_zed60_14.htm click on the image and you should get a popup with a gallery containing more images of this product.

    But in my Firefox it does not open this pop-up window.

    When I do that with IE8 (I have that one too), it works perfectly.

    Any ideas why the popups do not open in Firefox despite me after I disabled Firefox popups blocker?

    Best,
    Alex

    Re-reading your response, I noticed "I also use NoScript but it is set on" Allow all except the black list "". Where is this option in NoScript? How it interfaces with a NoScript without a built-in blacklist blacklist?

  • I can perform a tag read, but not a writing of the tag

    Hello

    I'm relatively new to Labview.  I recently bought the EthernetIP for Labview 2014 library and try to establish communication with a Contrologix 5561 with an ENBT ethernet module back.  I did so far, some programs of barebones namely, a few blocks from Tag Read to read to bool, ints, deformations and real numbers.  Which works very well.  I have change the label on the side of plc, and the change reflects my LabVIEW VI.  I am now on the written tag part and will not have the same success.  My current VI consists simply of an EthernetIP write tag (INT), the IP (and bottom position of basket and slot) to the path network, an existing tag name and a constant (tried control earlier) in the data port.  It is almost identical to my readings of tag configuration, except that I have an input rather than output.

    I know that I do nothing to establish a correct connection, but since tag reading working well enough, I have not focused on that.  Maybe I am missing here.

    Anyone has any advice on what I can do to fix this problem?

    Thank you

    Nick

    Hi Nick,

    Welcome to the forums and congratulations to be a new user of LabVIEW!

    I checked the attached vi. And I found the data you have provided to the Write.vi of the tag must be rectified. Data table 1 d of U16. you have specified that the index of the element that is 12 and you don't have any value of it. You can see that the value field is always gray, which means, you have not provided any value that you want to write in PLC. So I hope that you won't see any value next PLC.

    It is also recommended that such read/write function in a loop to happen without interruption to a read or write rate.

    In fact all National Instruments products come with example a need screws to help customers get started with their applications. "If you open LabVIEW, you can enter in the Help" find examples.  This will open the Finder of example of OR.  Here, you will be able to find examples on many best practices with NI LabVIEW and our material. "" "In NEITHER example Finder, open material input and output" NOR-Industrial Communications "EtherNet/IP" EtherNetIP Adapter.lvproj. You can refer to write and read Tag.vi for the service you need.

    I hope this helps you!

    Wendy

  • What this block diagram?

    What this block diagram?

    Match a VI Modbus Library. But I have because if the block is configured to write multiple coils in the coils because reading is set to 1?

    All this work?

    Sorry if the question is a beginner.

    In this block diagram, 'Coils Read' and 'Write multiple coils' are enumerated values (or possibly ringtones of appeal, which is not serious for the purpose of this explanation). Enumerations assign names to numbers, to make them easier to read. The coils Read command is set to 1, the command to write multiple coils has a value of 15. You don't need to worry about this number, however, because the enumeration takes care of it for you.

    The constant cluster containing coils of reading is there just to provide the correct data type (a cluster with the right items). Almost all the elements of the latter shall be replaced by the values of wired in the Bundle to node Name. For example, the value of reading coils is there as a placeholder for any function Code. the actual Code of the function is defined by plugging write multiple coils in Bundle by name.

  • How do I program labview to read all 8 compact fieldpoint modules?

    I am new to fieldpoint and I my set-up block diagram to read 8 strain gauges using a SG-140 module.  My basket is filled with strain gauge modules 8 SG-140, and I need to know how to fix my diagram to read all 8 modules of SG - 140.  So, I need a total of 64 strain gauge readings 8 modules of SG - 140.  Can I do this without really copying what I've already done 8 times more?  Is it possible to use a loop or something to read the 7 other modules?  I appreciate any help I can get.

    My opinion about not having to duplicate the table of index based on what your VI was showing at the time.  Once you have the VI implemented with multiple modules, then you will need to implement an array of unique Index stretched far enough to get all the channels of interest.  From a 2D array, you need to connect both the row index and column index for a single scalar element.  So first channel would be 0 and 1, then 0 and 4, canal next 0 and 7.  The next module would be 1 and 1, 1 and 4, 1 and 7.

  • Strange behavior when reading binary file

    I'm reading from the binary data as flattened. The file was saved as a class of labview which contained the table of waveforms and other data. When I read the file with read binary file vi with class attached to the type of data the data are correct. But when I read the as flattened data something strange happened (see attached image). The two best shows correct data and two charts below shows the partially correct data. When you write code to read the flattened data I followed the instructions on http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/how_labview_stores_data_in_memory/ and http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/flattened_data/.

    The strange is that there is gap around 1.4 s (marked in red), but the samples before and after game.

    I don't know what I'm doing wrong.

    I have LV2011.

    Demand is also attached.

    Assuming that you your decoding of binary data is correct (that is, you have the data structure of the serialized class figured out) the problem is probably that you don't the read as binary data, you read in the text using the text file... Modify the read fucntion than binary.

  • Re-read in values in the measurement file when the file is updated

    Hello

    I'm trying to control a power supply with labview and adjust the tension. I currently work reading in a file and measures affecting the value in the file. I now have the question I want to update this value when the file is modified, as read in the file again when it is updated and set the voltage again. I've tried several things, but if I put the file in the while loop, then it plays once and then returns 0 after the first loop. Outside the while loop it reads only the initial value.

    I'm quite new to labview so any help would be appreciated.

    Thank you

    E

    You can use the File Info VI for the time that the file was modified.  If the time has changed, read the new values.

  • You want to read binary files in some parts of the 500th row in the 5 000th row.

    I have files of 200 MB of 1000561 lines binary data and 32 columns when I read the file and sequentially conspire full memory of the generated message.

    Now, I want to read the file in pieces as the 500th row 5,000th row with all the columns and it draw in the graph.

    I tried to develop logic using functions file advanced set file position and the binary file reading block, but still not get the sollution.

    Please, help me to solve this problem.

    Thanks in advance...

    Hi ospl,.

    To read a specific part of the binary, I suggest to set the file position where you want to read the data and specify how many blocks you must read binary file for reading binary file.VI

    for example, if you write table 2D binary file, and then mention you data type this 2D chart and make your account (5000-500). Then together, you produce position. If you have 32 DBL data type and column then it is 256 to the second row and 256 * 500 for line 501th. Use this number as input into your position.vi file get.

    I hope you find you way through this.

  • Generate a waveform self-defined by reading an excel file

    Hi all

    Now, I'm generating a waveform of salt-defined by a PXI. Attached is a vi I built for the generation of AC signals, in vi, I used a signal generator to a wave of sinnusoidal of generrate of alternative voltages. I guess I can replace this signal generator with a block that can read an excel file which contains instances of time and their corresponding voltage.

    Can you please tell me if this idea works. If it is, block who can do this job?

    Thank you very much.

    Yes you can.

    The easiest is to have Excel to save the data to a CSV file.  Use of spreadsheet file to get data in LabVIEW.

    (Search the forums for Excel.  This question has found thousands of times before).

    I recommend you watch the LabVIEW tutorials online
    LabVIEW Introduction course - 3 hours
    LabVIEW Introduction course - 6 hours

    PS: They are called functions or Subvi, not of 'blocks '.

Maybe you are looking for