Finding Total Number Of Corrupted Blocks

Hello,
I just browsed several websites including RMAN documentation and information on how to identifiy corrupted blocks.
I´m in the middle of reorganizing production backups and their restore tests by duplication, which should (in my opinion) be followed by an analysis for corrupted blocks.
I found RMAN command  BACKUP VALIDATE CHECK LOGICAL DATABASE ARCHIVELOG ALL; to fit my needs. Recently I read the validate command only writes NEWLY found corrupted blocks to View V$DATABASE_BLOCK_CORRUPTION.
1. How do I check the WHOLE database for its TOTAL physical and logical corrupted blocks?
2.Under which circumstances is it NOT necesssary to check the database after the restore? In other words is there a way to ensure the backup cancels immediately when finding a corrupted block?
3. Is it necessary to set maxcorrupt to "0" during the Backup to get it cancelled for every corrupted block found?
4. What does dbv in contrast to backup validation?
Please be so kind to post me some short hints.
Regards
Dominik

Hi,
thanks for your feedback again.
Yesterday I "accidently" faced the situation to work with a block corrupted database during a restore test.
So I had the chance to run both backup validate and dbv against its corrupted files.
dbv worked fine, recognized all corrupted blocks and reported them in its output.
Disappointingly backup validate neither reportted any corrupt withtin the whole database (there are several datafiles with corrupted blocks), nor posted them to V$DATABASE_BLOCK_CORRUPTION. There I could only find a hand full, but not all of them.
I´m very consufed now, what would I need backup validate for anymore??? :-/
I built myself a script to check the whole database with dbverify. Regarding production databases we cannot live with uncertainties like that
Regards
Dominik

Similar Messages

  • Hw to find total number of records

    Hi All,
    Can anyone help from these
    1. how to find total number of reports for a particular cube/ods... need step - step solution
    2. how to find total number of records for a particular Cube and ODS and Aggr's to till date.
    3.what is sandbox,mirror sys,instance of a sys..?
    4.what r TWS(Tivoli Workload Scheduler) jobs? how these r different to standard schedulers?
    Thanks in ADv
    Linda

    Hello Linda,
    As you have lots of answers on first 2 so i'll start from 3rd onward.
    3. Sandbox is mostly practice system where you can do all kind of R&D, mirror sys can be mirror image of any system depends on the organization and instance of system is again mirror image of one system.
    4. TWS is third party tool for scheduling which doesn't come along with SAP like standard scheduler as TWS has been prepared specially for this purpose so it has some more features than standard.
    Hope it helps.
    San.

  • Need to Find Total number of InfoPart form in our Web application

    Hello,
    We have to find total number of Infopath forms in our web application. IS there any Power sheell Scripts or anuthing which can output the Infopath Forms location and file count .
    Thanks
    Kundan

    How about something like:
    Get-SPWebApplication http://yourWebAppUrl |
    Get-SPSite -Limit All |
    Get-SPWeb -Limit All |
    Select -ExpandProperty Lists |
    Where { $_.GetType().Name -eq "SPDocumentLibrary" -AND -NOT $_.Hidden } |
    Select -ExpandProperty Items |
    Where { $_.Name -LIKE "*.xsn" }
    Select {$_.Web.Url}, Url
    The above will list all of the files. Do you need counts by library, by site or other?
    Mike Smith TechTrainingNotes.blogspot.com

  • To find total number of files inside folder

    Hai,
       In knowledge management is there any option to find total number of files inside folder...
        I also want to see the recently uploaded and modified documents in a seperate iview...
        Iam using NW2004s SP8..
        Very urgent..
        Waiting for a positive reply..
        Thanks&regards,
         Kiruthika.S

    Hi Kiruthika,
    1. You only need the configarchive if you don't want create all the KM configuration objects mentioned in the guide manually. So, just create the objects mentioned there and you don't need the configarchive
    Also, the scenario works also on 2004s.
    2. Please check this thread on how to show the total number of files inside a folder:
    https://forums.sdn.sap.com/thread.jspa?threadID=19610
    3. It would be nice if you would consider rewarding the time people like Saravanan spend to investigate and answer your question by assigning points via the colored stars.
    Best regards,
    Robert

  • Find Total Number of Rows in Database

    I am trying to find total number of rows in Database? Thanks in advance

    I'd come back to a question of "why". What possible reason could you have to want to know the number of rows in every table in the database?
    This seems like it is a request from someone non-technical where they're not sure exactly what they need to ask to get the information they want. I'm forseeing something along the lines of
    User: How many rows are in the database
    DBA: Ummm.... <<goes off and spends a lot of resources to count>>> ... 1 billion.
    User: Wow, that's a lot... How big are those rows...
    DBA: Hmmm... <<goes off and spends more time trying to find an average row size>>... 100 bytes
    User: <<Plugs numbers into Excel>>... OK, our database is 93 GB, so we need to order 100 GB of disk for our new environment.
    DBA: <<Months later, after 100 GB of disk has been budgeted, purchased, and delivered>> User, you didn't order enough disk for our disaster recovery environment.
    User: You said our database was only 93 GB!!
    DBA: 93 GB of data. Plus 100 GB of indexes, TEMP, UNDO, space for archived logs, ...
    When "odd" requests come down, it's generally the case that the person asking the question doesn't know what question they really want to ask because they don't have the domain knowledge to know how to ask the question. Walking over and asking them what they're hoping to accomplish/ what they're using the data for generally leads to a case where
    - The user gets exactly the information they need, not the information they think they want
    - The DBA does a lot less work, since the right question is almost always easier to answer
    - The user thinks of the DBA as a really helpful sort of guy and remembers how helpful you were in the past when you have to push back on other things later
    - No one ends up playing the blame game when the user gets just what they asked for and not what they want.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to find total number of records in a BDoc?

    Dear all,
    I have replicated about BP 1088 records from ISU into CRM system with block size 100. Technically on SMW01, for each successfully processed BDoc, there will be 100 records (corresponds to 100 block size). But due to some failed BDocs, not all "successfully" BDocs will have 100 records each, some may have only 1 record inside...or 30...or 88 for example. So, may i know how to find or is there a report i can look into to find the total number of records clearly shown for each of the successfully processed green status BDocs???
    Please help and points will be rewards!!
    Thank You
    Best Regards,
    CK

    I am just showing this to show how to get the rowcount along with the cursor, if the program has so much gap of between verifying the count(*) and opening the cursor.
    Justin actually covered this, he said, oracle has to spend some resources to build this functionality. As it is not most often required, it does not makes much sence to see it as a built-in feature. However, if we must see the rowcount when we open the cursor, here is a way, but it is little bit expensive.
    SQL> create table emp_crap as select * from emp where 1 = 2;
    Table created.
    SQL> declare
      2   v_cnt     number := 0;
      3   zero_rows         exception;
      4  begin
      5    for rec in (select * from (select rownum rn, e.ename from emp_crap e) order by 1 desc)
      6     loop
      7        if v_cnt = 0 then
      8           v_cnt := rec.rn;
      9        end if;
    10     end loop;
    11     if v_cnt = 0 then
    12        raise zero_rows;
    13     end if;
    14   exception
    15    when zero_rows then
    16      dbms_output.put_line('No rows');
    17   end;
    18  /
    No rows
    PL/SQL procedure successfully completed.
    -- Now, let us use the table, which has the data
    SQL> declare
      2   v_cnt     number := 0;
      3   zero_rows         exception;
      4  begin
      5    for rec in (select * from
      6          (select rownum rn, e.ename from emp e)
      7          order by 1 desc)
      8     loop
      9        if v_cnt = 0 then
    10           v_cnt := rec.rn;
    11           dbms_output.put_line(v_cnt);
    12        end if;
    13     end loop;
    14     if v_cnt = 0 then
    15        raise zero_rows;
    16     end if;
    17   exception
    18    when zero_rows then
    19      dbms_output.put_line('No rows');
    20   end;
    21  /
    14
    PL/SQL procedure successfully completed.Thx,
    Sri

  • Old   How to find total number of events in an event list?

    Hi,
    I am developing a j2me application. i Want to find the total number of events in an event list.(ie, If it contains 15 events then it should return length as 15).
    Not the length of EVENT LISTS i want to find the Length of EVENTS.
    Thanks,
    kumar

    Hi,
    you can find the number of columns and their order using
    the <b>'REUSE_ALV_FIELDCATALOG_MERGE'</b>
    call function 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = sy-repid
       I_INTERNAL_TABNAME           = 'ITAB'
       I_INCLNAME                   = sy-repid
      changing
        ct_fieldcat                  = IT_FIELDCAT
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif
    now describe your fieldcat . and find no of columns.
    and their order also..
    regards
    vijay

  • To find total number of pages in XML publisher

    1. Is there any method to find the total number of pages in BI or XML publisher.
    2. Is there any method to to repeat the column(Not rows) on every page.For eg you have table with two columns say "A" and "B" .I want to repeat this B in every page . And A should print only in first page.
    3. Is there any method to print a text say "ABC" only on first page footer based on condition.
    Thanks
    Wazid

    Exactly what my requirement is- In my template i have set header and footer page setup as "different first page'" and also printing the user text at the bottom of the last page using <?start@last-page-first:body?> <?end body?>.When i run the template, for multiple pages output user text is displaying at the bottom of the last page that is working fine but for single page output user text is not displaying at the bottom of the page because of the ""different first page'" header and footer.If you have any idea please suggest.

  • FMS to Find total number of Quantity for all Sales Orders

    Hi Experts,
    I am trying to get the total number of quantities for the current document. Kindly help me out how to find it out for the current document.
    Currently I am giving the document no. to the query by modifying the query every time before executing it.  but how can i do this without giving the document numbers and executing the query directly.
    Kindly help ...
    Thanks and regards,
    Amit.

    Hi,
    Please follow below steps to get total quantity.
    1. Run below query first in query generator
    SELECT sum(T1.[Quantity]) FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE t0.docnum = $[ORDR.docnum]
    2. After execute, save it under query manager with required name
    3. Open sales order and run saved query
    4. Total quantity will be displayed in query result.
    refer below screen shot:
    Thanks & Regards,
    Nagarajan

  • How do I find total number of songs in my library in the new iTunes 11?

    Last version of iTunes showed the total number of songs within the library on the bottom of the screen.  Now that's disappeared and I don't know where to find that piece of info.
    Any suggestions?

    Click View>Show Sidebar
    It looks about like the old version.
    Or you can simply click your ipod name at the top of your screen and sync as always.
    The new version is not that different from the old one

  • Bex Query to find total number

    Dear Friends,
    I have data like below in my Infocube for different years. its flat file loading  DS->DSO->Infocube.
    EmpId
    Dept
    section
    Year
    Smoking
    101
    HR
    A
    Jan-10
    No
    102
    HR
    A
    Jan-10
    Yes
    103
    HR
    B
    Jan-10
    Yes
    104
    FI
    A
    Jan-10
    No
    105
    FI
    B
    Jan-10
    No
    102
    HR
    A
    Aug-10
    No
    My requirement is like below to find out total number of employees who are Smokers and non smokers.
    Dept
    Year
    Tot no of Emp
    Tot Emp Smoking
    Tot Emp non-smoking
    HR
    2010
    3
    2
    1
    FI
    2010
    2
    0
    2
    Result
    5
    2
                                        3
    Please give me your valuable input
    Thanks
    Vijay

    Hi,
    Do like Anshu said.
    Remember to set "Calculate result as" "summation"
    otherwise you don't get proper values in result rows.
    Regards, Leszek

  • How to find total number of employees for an organisation

    Hi Experts,
    Need help in finding the total number of employees working in an organization. Please let me know if I need to run a report or if there is any T Code.
    Appreciate your help at the earliest.
    Regards,
    Subbu.

    Hi
    Try this out
    T code :Paah
    Select the key field Per nr for out put
    GO to organizational Assignment select the Employee group for selection
    and also Organizational Unit for selection.it will come to the right hand side
    Give the input ESG as 1 for active and also input the org unit (dept) u require to
    see the list of employees
    and press out put for list or else hit list for number of employees
    with regards
    partha
    keep sharing and learning

  • SCCM report to find total number of actual patches installed by update deployment on all the machines (present in target collection)

    Hi Guys,
    I am looking for a sccm report which should provide total number of actual patches installed by us on all the machines (present in target collection). For couple of updates after sync it shows installed already on some machines.
    Example:
    CName  |  Total Patches  |  Already Installed  | Installation triggered by Deployment   |  Collection ID
    AW001      (123)               (2)                         (17)                                                    CL00001
    AW002      (123)               (1)                        
    (21)                                                    CL00001
    AW003      (123)               (1)                        
    (26)                                                   CL00001
    I am specially looking for 'Installation triggered by Deployment ' number
    I would appriciate very much your the help.
    Thanks,
    Chandan

    Hi Chandan,
    You could try to create your custom report based on Software Updates Status views.
    Software Updates Views in Configuration Manager
    http://technet.microsoft.com/en-us/library/dn581945.aspx
    Best Regards,
    Joyce

  • Finding total number of class files present inside jar

    Is there any way to find the total numbef of class files present inside jar?
    Any link will be helpful.

    http://java.sun.com/j2se/1.4.2/docs/api/java/util/jar/JarFile.html#entries()
    You'll have to search through it.

  • Quicker way to find total number of check marks in a column

    Hello my Numbers using friends.
    I use Numbers to take attendance at events. Each row is a persons name, each column is a date of a gathering. I have the cells functioning as check marks, and I just check people as present when they are there.
    I would like to know how many check marks are in a given column. The only way I know to effectively do this is by pressing = then clicking on every cell in the column. This takes a really long time.
    Is there an easier way to do it?
    Please advise.
    Thank you for reading this.

    This is my novice solution.
    Add an extra column. Put a formula in the first cell to set it to 1 if there is a check in the checkbox column, otherwise "". Replicate that formula to all cells in that column. Sum the column.
    I wizard can probably do it without the extra column.

Maybe you are looking for

  • 10.6.8 update and sudden motion sensor

    I have MBP 8,1, 2011 base model i5. Since i updated to 10.6.8 it seems like sudden motion sensor got a lot more sensitive. Never seen it work before, now if i lift the mbp from desk even i can hear the hdd clicking home. I have disabled the sensor an

  • How to set default JPEG options?

    In Photoshop Elements 10, is it possible to configure the JPEG options to default settings so that the JPEG Options dialog box does not open each time I rename a JPG file using FILE-SAVE AS?

  • Time capsule backups and transfer confusion

    I recently got my new MacBook Pro and I decided to try and transfer all my files from my old MacBook Pro's backup on my time capsule, however, instead of transfering all the info in the beginning, I waited to do it after creating a new account. All t

  • Stacked Bar Combination Chart in Reports

    Afternoon I have a requirement for a chart that is a stacked bar chart chart with the addition of a line chart. The combination chart allows Bars and Lines, but can't see how to change this to a stacked bar. Is there a setting I can change in the XML

  • When i open report in workspace i got error

    hi when i run the report in workspace i got the below error xml version =1.0 encoding utf 8? BPM response actiion error please send solution urgent Thanks