RMAN report in a table

Hello
is there a way to create a RMAN report for all backups that are in different databases and that the report should be written directly to a sample table.

the report must contain columns like -
DBNAME BKPTYPE DATE STATUS STARTTIME ENDTIME... and so on...

I tried using views of $ v as V$ RMAN_BACKUP_JOB_DETAILS, V$ RMAN_BACKUP_JOB_DETAILS, V$ BACKUP_SET_DETAILS. etc... but I need some sql or pl/sql, which should give me the full report.

Thank you
Vinay

Hi Vinay,

Do you have the Grid control, you can easly generate the backup from a single view report

SQL > desc mgmt$ ha_backup
Name Null? Type
----------------------------------------- -------- -----------------
HOME VARCHAR2 (256)
DATABASE_NAME NOT NULL VARCHAR2 (256)
TARGET_TYPE NOT NULL VARCHAR2 (64)
DISPLAY_NAME VARCHAR2 (256)
TARGET_GUID NOT NULL RAW (16)
SESSION_KEY NUMBER
NUMBER OF SESSION_RECID
NUMBER OF SESSION_STAMP
COMMAND_ID VARCHAR2 (33)
STATUS VARCHAR2 (23)
START_TIME DATE
END_TIME DATE
TIME_TAKEN_DISPLAY VARCHAR2 (4000)
INPUT_TYPE VARCHAR2 (13)
OUTPUT_DEVICE_TYPE VARCHAR2 (17)
INPUT_BYTES_DISPLAY VARCHAR2 (4000)
OUTPUT_BYTES_DISPLAY VARCHAR2 (4000)
OUTPUT_BYTES_PER_SEC_DISPLAY VARCHAR2 (4000)

Kind regards
Jey

Tags: Database

Similar Questions

  • form and report on a table - redirect to report on submit

    Hello

    I created a form and a report on a table...

    in a form, one of the element is a group of radio buttons (to submit) with a static list of values... I have implemented at present as I hide/show other items based on selection... for example, when select user location of value so that the fields City and country are displayed and so on...

    My problem is that when I make a selection, it saves the State and brings back me to the report... when I get back to the report so I see items (hidden/displayed based on the selection that I made before I left the form)

    some kind of fix it...? Please advice

    Thank you

    Ok

    You can do this, but you must make a few changes.

    1 - create a page hidden on the edit page element. Call this P76_MODE.

    2 - update your links on the report on page 75 to P76_MODE the value E

    3 - update the link for the button create on page 75 to P76_MODE the value of C

    4 - update the terms for the buttons on page 76 to check the value of element P76_MODE page is equal to E (edit mode) or C (for Create mode) rather than checking that the PK page element being null or not null

    5. Add a calculation on page 76 to set the value of the element of PK page for the next sequence number. The calculation should be a "(single return value) SQL query' SQL statement of something like:

    SELECT sequencename.nextval INTO v_id FROM dual
    

    This calculation should be subordinate to the order of the day of P76_MODE being equal to C page and must be configured to run ' on load: before the Header. "

    Also, make sure that the trigger does not create a new ID for each new record - that is to say, it checks for the PK is NULL before you create a new ID

    6 change the current process of "search for the line...". "and to amend its condition of the page item P76_MODE be E

    Normally, the elements of the page of the edition will be conditional on the value of the element of PK. If it is NULL, then the page is a new record and the button CREATE is visible. If it is NOT NULL, then the page of an existing record, data is retrieved using the process of "search for the line...". "and the"SAVE"button is visible (and, if it is there, REMOVE the button as well).

    The changes above, change the reference P76_MODE instead. If it is C, then the page is a new record. If it's for E, then the page is of an existing record. Thus, it be Refresh buttons to check for this instead. The process of "search for the line...". "must operate only in edit mode. The calculation must operate only in Design view.

    The process of "process line...". "will be the same that it performs its action based on the button that is clicked and the value of the request it sends.

    Andy

  • Form on the report on the table - dynamically change the region title

    I use a form on a report on a table to give me the standard features of add/change/delete a table.

    When I get to the page of the form, I want my title to say the addition or modification, whether I came to the form via clicking on the link change or create new button to the page.

    I thought it would be easy but I have mingled around with calculations, define objects hidden, etc., but can't seem to make it work.

    Is there a quick process, I can follow to get there? My first thought was to create a component hidden on my page of form and that fill the homepage depending on whether I clicked on edit or create. But the title of region doesn't seem to capture the hidden element. I put the title of region: P1_HIDDEN_ITEM_TITLE. and that is the question that I put my home page. The hidden element is fine but never gets picked up in the title.

    Specify the title of region

    & P1_HIDDEN_ITEM_TITLE.

    CITY

  • Report of D2TabNumFormat table

    Hi all!

    I have some difficulties to use D2TabNumFormat in a report.

    Is it possible to dynamically color a cell, using a channel property (minimum/maximum) value, with the D2TabNumFormat function?

    Knowing that I already use a command requiring user of the minimum and maximum properties and the values of the cells in the channel and format.

    Here's how I would use the function:

    D2TabNumFormat (i) = '@@TableCellFormat (CFV, "" d.dd"", Data.Root.ChannelGroups (GrpIdx).' Channels (i). Properties ("" minimum""). Value, Data.root.ChannelGroups (GrpIdx). Channels (i). Properties ("" maximum""). ' Value) ".

    Hi Ayane,

    In general, it is possible, but it is not the common way to customize the table. You must define a user function that contains the manipulation, save it and modify the table in the report. I've attached an example (old.zip) for her. But again, this is not what we recommend to customize the REPORT. Since 2014, we have a new interface script for the REPORT. I also attached an example (new.zip) for the same change with the new syntax.

    Greetings

    Walter

  • Report Generation Toolkit Table Row height-MS Word

    I have a problem affecting the height of table row in the report generation tool. I can set the width of the thin columns, but line height seems to remain the same, no matter what I put it. I have attached the VI that generates and formats the table and print it's catchy. I've also attached the template file that I use.

    Advice for it to work well? I'm doing the cells exactly the same height as the text inside.

    Hello

    So I essaye.2 and it did not work.  So I went to Word to change it manually, and it doesn't work anymore.  There is a selection box in word, for the properties of the table, which appears as default value 'at least'.  When I have it changed manually on 'exactly' in word, no problem with le.2 manually in Word.

    I hope that this can be set in the model, for all new tables inserted.  I don't know that the generator report VI sets this property.  Well, that's a start for the question.

    Edit *.

    You can go in the table add VI and expose the property.  See photo.   However, you must decide if you want to 'upgrade' this VI to expose this property or make a copy with the exposed property at all times.   I not messed with new reports of class too, so not sure of ins and outs with that.

    I think that's the problem with the line size becomes smaller.

  • Report and the Tables Alias scripts

    Hi all

    I am running a report off MaxL Script and want to get the Alias. I use < REPALIASMBR 'Products' and it works very well. However, it is bring back the default Alias of Table. Is it possible that I can choose what Table Alias that is returned in the result?

    Thank you!

    Brandy

    Yes, watch OUTALTSELECT

  • Restrict the update of the data in the report as a table...

    Hello
    I have a tabular report in Oracle APEX 4.0 based on a db table in which some columns (Textarea element and text element) after inserted must be restricted (view only). Could someone help me how this can be achieved. While trying to create a tabular report if I give as view only; the user is unable to grasp the data itself. All entries will be very appreciated.


    Thank you
    Ahmed

    I suggest that you do with APEX_ITEMS: http://docs.oracle.com/cd/E14373_01/apirefs.32/e13369/apex_item.htm

    You will have to work with collections to pull this off. Load all your data into a collection of apex: http://docs.oracle.com/cd/E17556_01/doc/apirefs.40/e15519/apex_collection.htm

    Now, you can create a simple select statement

    select decode(c001, null, apex_item.text(1, c002), c002)
    from apex_collections
    where collection_name = your_collection;
    

    C001 corresponding to the primary key that is inside your table and c002 the value you want to insert.

    You must update c001 with the primary key from the moment that the row will be exist. Then just decode function will display it so it is no longer editable.

    Add lines to the collection will add new lines to your tabular form. Clear lines of the collection deletes the lines in the tabular presentation.

    If you are a beginner with this I suggest that you submit to the page whenever you click an insert/update/delete button.

    Concerning

    Nico

  • AWR and RMAN report

    Hello
    in 10g R2 in my AWR report RMAN is the top:
    Top 5 Timed Events                                         Avg %Total
    ~~~~~~~~~~~~~~~~~~                                        wait   Call
    Event                                 Waits    Time (s)   (ms)   Time Wait Class
    ------------------------------ ------------ ----------- ------ ------ ----------
    RMAN backup & recovery I/O          152,712         624      4 ###### System I/O
    db file sequential read              28,410          25      1   56.4   User I/O
    control file sequential read         47,027          24      1   53.2 System I/O
    CPU time                                             21          47.2
    control file parallel write           2,103           7      4   16.7 System I/O
    
    
    Statistic Name                                       Time (s) % of DB Time
    ------------------------------------------ ------------------ ------------
    RMAN cpu time (backup/restore)                          350.5        790.9
    sql execute elapsed time                                 35.3         79.7
    DB CPU                                                   20.9         47.2
    inbound PL/SQL rpc elapsed time                          16.9         38.0
    PL/SQL execution elapsed time                             6.7         15.2
    Can we say that we should change some parameters for RMAN to be less consumer? What for example?

    Thank you.

    Published by: user522961 on Sep 24, 2010 03:04

    Hello
    You can try to reduce the channels and the degree of parallel...

    Is backup optimization on?

    and encryption...

    concerning

  • update of the value entered in the report to the table item

    Hi all


    I want to change the dnom report... and wt never dept I checked shud update the db...



    I've created a report in the

    Select apex_item.checkbox(1,deptno) "Select", apex_item.text(2,dname) "dname" of the Department;


    and submitt I m writing a process as


    Start
    BECAUSE me IN 1.APEX_APPLICATION. G_F01. COUNTY
    loop
    update the set dname = apex_application dept. G_F02 (i) where deptno = apex_application. G_F01 (i);

    -I want to update the text entered in the table report.
    commit;
    end loop;
    end;

    Hello

    You get an error? Or how it will not work?

    BR, Jari

  • Totals or sums of Sub for OBIEE report without aggregation Table

    Hello people

    I created a table report, and the rule of aggregation for all columns of facts are no referential and default in the formula column, and for this report, I need subtotals at the bottom of the report. I activated the sum at the top left (a report when it is necessary), but I still don't see the overall totals. But when I put the sum or any other exception aggregation rule no, then I can see the totals, but I don't have to aggregate numbers. Don't you guys think that how the tool works or is there an alternative way where you guys can help me get the totals

    Please REPLY as soon as possible BECAUSE IT IS a REQUIREMENT of the IMP

    but I don't have to aggregate numbers

    You mean, you try to view char columns... ?

    If so, try "Global complex server" available in the formula for the column.

    Kind regards
    Rambeau

  • split in the report in the table pane

    Hello
    I read on the forum of ways to freeze the header row of a table in APEX report, so that the header line freezes and scroll data. Is it possible to freeze the header and first two lines of the report data table, similar to a split in Excel pane, but using APEX?

    Thanks for any help you can provide.

    Mark

    Hello

    IE and FireFox (and probably others as well) run things in their own way. They are supposed to follow the standards, but that seems never to arrive :(

    IE, from what I can see, has refused to update the collections of 'lines' in the top row not seen in the upper table, but any reference to line 0 fails because it no longer exists. FireFox treated as I expect--in other words, once deleted, all other lines climbed in the collection of lines to the next row would become the 0 line. In the end, I braked just on the destruction until after the loop and both browsers have been happy with that.

    Andy

  • Generate the report using two tables

    Hello
    I have two tables: -.

    1 THE NAME OF THE TABLE:-EMP_LEAVE
    EMP_ID NUMBER;
    DATE DATE;
    LEAVE_TYPE VARCHAR2 (15)


    2 TABLE NAME:-EMP_ATT
    EMP_ID NUMBER;
    DATE OF ATT_DATE;
    ATT_STATUS VARCHAR2 (10);

    HERE'S
    Type of leave are SL, PL, CL
    ATT_STATUS contains only (P)

    ATT_STATUS column contains the value as this student (p) only and LEAVE_TYPE column contains the value as sickleave (SL), medicalleave (ML), Paidleave (PL).

    I see the value in the report as given form below the monthly or weekly or annual basis

    EmpID P SL ML PL
    1 24 1 2 3

    I try to create it but not give the accurate result.


    Thank you
    Nisha

    Hello

    You must use something like;

    WHERE SESION = :P168_SESSION AND TRIM(TO_CHAR(ATT_DATE,'MON'))=:P168_MONTH
    

    Note that fact P168 refers to the elements on my page - if you use another page, make sure that you change: P168_SESSION and: P168_MONTH for names that you use.

    I just updated my test page to add to the filter of the month: [http://apex.oracle.com/pls/otn/f?p=267:168]

    The SQL is now:

    select EMP_ID "Employee ID",
    SUM(DECODE(LEAVE_TYPE,'AL',1,0))"Annual Leave",
    SUM(DECODE(LEAVE_TYPE,'CL',1,0))"casual Leave ",
    SUM(DECODE(LEAVE_TYPE,'PL',1,0))"Paid Leave",
    SUM(DECODE(LEAVE_TYPE,'ML',1,0))"Medical Leave",
    SUM(DECODE(LEAVE_TYPE,'SL',1,0))"Sick Leave ",
    SUM(DECODE(LEAVE_TYPE,'MTL',1,0))"Maternity Leave",
    SUM(DECODE(LEAVE_TYPE,'WL',1,0))"Wedding Leave",
    SUM(DECODE(ATT_STATUS,'P',1,0))" Present",
    SUM(CASE WHEN ATT_STATUS in ('P') then 1 else 0 end) "TotalP",
    SUM(CASE WHEN LEAVE_TYPE in ('AL','CL','PL','ML','SL','MTL','WL') then 1 else 0 end) "Total"
    from (SELECT EMP_ID,
    ATT_DATE,
    ATT_STATUS,
    NULL LEAVE_TYPE,
    NULL LEAVE_CATEGORY,
    WORK_DURATION,
    LEAVE_SESSION,
    IN_TIME,
    OUT_TIME,
    SESION
    FROM EMPLOYEE_ATTENDANCE
    UNION ALL
    SELECT EMP_ID,
    DTE ATT_DATE,
    NULL ATT_STATUS,
    LEAVE_TYPE,
    LEAVE_CATEGORY,
    NULL WORK_DURATION,
    NULL LEAVE_SESSION,
    NULL IN_TIME,
    NULL OUT_TIME,
    SESION
    FROM EMPLOYEE_LEAVE)
    WHERE SESION = :P168_SESSION
    AND TO_CHAR(ATT_DATE,'MON') = :P168_MONTH
    GROUP BY EMP_ID
    ORDER BY EMP_ID
    

    Andy

  • Report of multiple tables - tired two

    Hello

    I am creating a report containing data from two tables in the Apex, similar to that with a record header followed by the details records. The result would be similar to the output that would come from the following statement. Do you know if this is possible? Could you please help with the process to create this. Thank you.

    SET SERVEROUTPUT ON
    DECLARE
    BEGIN
    FOR rec IN (select SEQ_MAJ_GOALS as SEQ_MAJ_GOALS from MAJOR_GOALS where EMP_NO =: EMPNO and r_status = 'Open')
    LOOP
    DBMS_OUTPUT. PUT_LINE ('SEQ_MAJ_GOALS');
    DBMS_OUTPUT. Put_line (CRE. SEQ_MAJ_GOALS);
    FOR tasks IN (select TASK_DESC, LEAD_REQ, TASK_NO, TASK_STATUS of TASKS where SEQ_MAJ_GOALS = REC SEQ_MAJ_GOALS)
    LOOP
    DBMS_OUTPUT. Put_line (rpad (ltrim (tasks. (TASK_NO), 11). RPAD (ltrim (tasks. (TASK_DESC), 30). RPAD (ltrim (tasks. (LEAD_REQ), 20). RPAD (ltrim (tasks. (TASK_STATUS), 10). 10;
    END LOOP;
    END LOOP;
    END;

    I do this using a PL/SQL area and use of the htp.p ('');

    An example:

    Create a procedure and DECLARE a cursor with variables for each value of the slider. In the BEGIN section to create your loop, use the slider to fill the variables, and then use the htp.p call to create your own output array.

    It might look like this:

    declare
      cursor c_rec is select SEQ_MAJ_GOALS
               from MAJOR_GOALS where EMP_NO = :EMPNO and r_status = 'Open';
      v_goals    NUMBER;
      cursor c_task is select TASK_NO, TASK_DESC, LEAD_REQ, TASK_STATUS
               from TASKS where SEQ_MAJ_GOALS = v_goals;
      v_taskno  NUMBER;
      v_taskdesc  VARCHAR2(255);
      v_leadreq    VARCHAR2(42);
      v_taskstatus  VARCHAR2(20);
    begin
      htp.p('');
      open c_rec;
        LOOP
          FETCH c_rec into v_goals;
          EXIT WHEN c_rec%NOTFOUND;
            htp.p('');
            htp.p('');
            open c_task;
              LOOP
                FETCH c_task into v_taskno, v_taskdesc, v_leadreq, v_taskstatus;
                EXIT WHEN c_task%NOTFOUND;
                  htp.p('');
              END LOOP;
          close c_task;
        END LOOP;
      close c_rec;
      htp.p('
    SEQ_MAJ_GOALS
    '||v_goals||'
    '||v_taskno||''||v_taskdesc||''||v_leadreq||''||v_taskstatus||'
    '); end;

    You can add your own styles and formatting.

  • Report option box table

    Hello

    I have a table with two columns: NAME and PRIMARY

    One name must match the primary name (PRIMARY = 'Y') all others are secondary (PRIMARY = 'n').

    I've created a report updated on the table and it works very well... except for the field PRIMARY returns as text boxes, so there is nothing (to the surface) to stop a user try to put two names with PRIMARY = Y.

    A great way to get around this would be to have this show as a radio button field wherever a single line in the report can be selected.

    Is it possible and if yes, can you give me a pointer in the right direction to make it work?

    Thank you

    Joseph

    Hi Joseph,.

    Take a look on Re: create a Yes / No and then YES, another STEP in the table... If selected radiogroup -it details the steps to select a main employee on [http://htmldb.oracle.com/pls/otn/f?p=55041:18]

    And this does not use the radiogroup feature - so, good choice!

    Andy

  • OnClick event in the Standard report form row / table

    Hi all

    We have complex requirements and could use your help here. In the Application (referred to hereinafter OTN), we need the following:

    Whenever user clicks anywhere on a line, the values in the fields of disabled text (or we can modify if necessary disabled text boxes) in the region down should come from the corresponding columns in the row that is clicked. for example when the user clicks any where on the line with Empid have 1, text fields with disabilities should show as "Christel" Empname and Departmentname as ' Application to the.


    Reference of the application:
    URL: [http://apex.oracle.com/pls/otn/f?p=12190:3]
    workspace: VCS
    UserID: *.
    password: *.

    Please let us know.

    Concerning
    Christel

    Published by: Sandra on January 26, 2009 10:02

    Hi Sandra,.

    Now have a look.

    I created a line template for the report that uses the following definitions:

    Before the lines:

    <table>
    <tr>
    <td> </td>
    <td><b>Empid</b></td>
    <td><b>Empname</b></td>
    <td><b>Salary</b></td>
    <td><b>Departmentid</b></td>
    <td><b>Departmentname</b></td>
    </tr>
    

    Model line 1:

    <tr onclick="javascript:passValues('#4#','#7#');">
     <td>#1#</td>
     <td>#3#</td>
     <td>#4#</td>
     <td>#5#</td>
     <td>#6#</td>
     <td>#7#</td>
    </tr>
    

    Note that #1 # refers to the first column in the SQL #2 # is the second column etc empname is #4 # and departmentname is #7 #- so these are those used in the javascript code.

    After the lines:

    </table>
    

    And the header HTML of the page parameter:

    <script type="text/javascript">
    function passValues(ename, dname)
    {
     $x('P3_EMPNAME').value = ename;
     $x('P3_DEPARTMENTNAME').value = dname;
    }
    </script>
    

    Note that I also added a dummy field at the end of the SQL report. This was done because the hidden field EMPID is added at the end of the last displayed field - in this case, the field departmentname and you want not included in the data transmitted to the substantive fields. The model line, however, does not include this column, this dummy field will not appear on the page.

    Andy

Maybe you are looking for

  • Satellite U300 - keyboard shortcut functions no longer work

    Recently, I had a problem with Norton 360 and used their online support, where they take control of your computer. The agent was able to disable certain functions, including functions such as Fn + F4 - hibernation access key and also to disable the d

  • Three monitors on my Z580

    Friends. I try to use two additional monitors on my ideapad z580. An HDMI port and another on the VGA port. Even if the laptop has recognized two monitors, it only allows me to use one of them as extened office. Anyone help me use two additional scre

  • How do I set up my outlook express

    I got my outlook express at the same time, but now it does not work. need a little help please.

  • How can I find my username and password?

    I try to install Dragon Naturally speaking had XP PROFESSIONAL my username and password where can I find Thank you E-mail address is removed from the privacy *.     [Moved from comments]

  • Access denied message to scan and a program after running disk check

    Original title: chkdisk found bad sectors on my hard drive and seemed to move them, but now I have deinied for my scanner and a program so far. How can I fix it I cnt day Quicken or use my scanner. I get "access denied".