Different Results From V$Rman_Backup_job_details  and V$Rman_Status

Does anyone know why I would get different results from V$Rman_Backup_job_details and V$Rman_Status on the same instance?
Image of Quries: www.hydell.com/OracleBackupDifferences.png
Dates Returned For Latest Backup
V$Rman_Status = 10/13/2011
V$Rman_Backup_job_details = 7/24/2011
Which view is the best to use for monitoring backups?
Thanks in advance for the help.
Rob

oracle.dba.89 wrote:
Please show the script and that might help look into this. Also the timezone of the OS shows EST. And cron shows the scheduled time at 12hrs. It should run at 12:00 EST hours and not GMT.
Also please post output for below queries. Are backups run from the same node? (If RAC)
select value from dba_scheduler_global_attribute where attribute_name = 'DEFAULT_TIMEZONE';
Hi,
This is the backup script
#Set Variables
ORACLE_HOME=/projects1/oramroprod/oracle/product/10.2.0/db_4
ORACLE_SID=MROPROD
PATH=$PATH:$ORACLE_HOME/bin
btype="FULL"
RMAN_BACKUP_LOC=/data1/RMAN/MROPROD
export ORACLE_HOME
export ORACLE_SID
export PATH
export btype
tag="$ORACLE_SID"_"$btype"
#Print commands and their arguments as they are executed
set -x
SDATE=`date +%m%d%y`
STIME=`date +%H%M%S`
DD=`date +%d%m%y`
#Create daily backup directories
mkdir -p $RMAN_BACKUP_LOC/datafiles_backup/bkp_${DD}
mkdir -p $RMAN_BACKUP_LOC/controlfile_backup/bkp_${DD}
mkdir -p $RMAN_BACKUP_LOC/arch_backup/bkp_${DD}
mkdir $RMAN_BACKUP_LOC/logs
#Take backup
rman target / nocatalog log=$RMAN_BACKUP_LOC/logs/rman_${btype}_backup_${SDATE}_${STIME}.log << EOF1
change archivelog all crosscheck;
run {
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
backup as compressed backupset incremental level 0 database tag '$tag' format '$RMAN_BACKUP_LOC/datafiles_backup/bkp_${DD}/%d_%s_%p';
backup as compressed backupset archivelog all not backed up 1 times FORMAT '$RMAN_BACKUP_LOC/arch_backup/bkp_${DD}/ARCH_%d_%s_%p';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO  '$RMAN_BACKUP_LOC/controlfile_backup/bkp_${DD}/%F';
delete noprompt obsolete;
delete noprompt archivelog all completed before 'sysdate-2';
EXIT;
EOF1
This is not RAC.
SQL> select value from dba_scheduler_global_attribute where attribute_name = 'DEFAULT_TIMEZONE';
VALUE
GMT

Similar Messages

  • Different results from MAX and Labview

    Hi all,
    We did an impact testing a couple of days ago, and I got very big acceleration (the peak is about 300g, which is much larger than the estimated value).
    And then I tried a small imact test in the lab using a steel plate which is less than 1 lb to impact a steel ruler, I still got big peak number (more than 200g, which is impossible). And then I tried the small impact test again by using MAX, the peak number is about 12g, and the curve seems like pretty reasonable. I was wondering why I got different results by using MAX and Labview?
    Also, sometimes when I connect the SCXI-1001 to the computer, it says the USB is malfuntion and cannot be recgonized by the computer, and turns out the driver file does not exists. But most of the time, it works very well and the driver file does exists. Why this happened?
    Thanks.
    Yuan

    jyuan wrote:  but I want to clike one "run button" and get data from strain gage, LVDT, accelerometer at the same time and our tesing duration is just about a few seconds. And also I didn't find a place where I can record the data in MAX
    You can do that.  A task can only have the same types of inputs, meaning Analog Input, Analog Output, Digital Input, Digital Output, etc.  Different sensors are just read with Analog Inputs.  So they all can be in the same task.  In MAX, just set up a task a configure each channel as it should be.  Then use that single task in your LabVIEW code.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Why do I get two different results from the same coefficients?

    I am getting two different results from the Polynomial Evaluation function.
    For the first one, I am getting the coefficients from a Polynomial Fit function.  I feed the coefficients from the Fit function into the Poly Eval function and get the correct result of 12.8582 when I evaluate 49940.
    For the second one, I create constant array of the SAME values that were returned from the Polynomial Fit function (i typed them in).  However, I am getting an incorrect result of -120.7913 when I feed the constant array into the Poly Eval function when I evauate 49940.
    How can this happen when I am using the same array values?
    Attached is an image of what I am explaining.
    Solved!
    Go to Solution.
    Attachments:
    polynomial_evaluation.jpg ‏213 KB

    Hi Altran,
    are you sure about using the "same" coefficients?
    Did you compare them? Did you (atleast) set the display properties to 17 significant digits?
    Please attach a VI instead of a picture...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Different results from all_objects

    Can someone please explain me,
    How it is possible to get different results from "all_objects", once I query it from "SQL Worksheet" and next time when I execute the procedure with the same query ?
    The procedure is created by schema user (owner) and it's executed by it.
    Same as the query.
    I am querying for objects which belongs to other owners.
    Is there a way how to trace which privileges are used for querying the "all_objects" ?
    Any hint will be very welcomed ?

    You are correct, sorry.
    Oracle 11g EE 11.2.0.1.0 - 64bit Production on Windows 2K8
    I already lost my whole day, probably I will lost the weekend, too.
    Here is the sample code:
    CREATE OR REPLACE PROCEDURE PROCEDURE1 AS
    BEGIN
    FOR c IN (SELECT object_name from all_objects d
    WHERE d.owner IN ('DWH_CM')
    LOOP
    dbms_output.put_line(c.object_name);
    end loop;
    END PROCEDURE1;
    Test
    exec procedure1;
    -- does not write anything in output and it is enabled
    select object_name
    from all_objects O
    WHERE o.owner IN ('DWH_CM');
    -- returns 99 rows
    Edited by: user9377205 on Aug 6, 2010 9:06 AM

  • Select statement returns different results from 9i and 10g

    Hi all,
    Would appreciate if someone could help to solve this puzzle here:
    I have the exact the statements running on Oracle 9i and 10g, why do they return different results?
    Select unique(GroupDesc) , GroupSeq from Module where ModuleId in (Select ModuleId from User_Access where UserId='admin') and Status='A'
    In Oracle 9i:
    Both columns returned as follows...
    GroupDesc | GroupSeq
    In Oracle 10g:
    Only one column returned, the column with unique keyword was missing...
    GroupSeq
    Could anyone enlighten me?

    yes, the table structure... actually the CREATE TABLE statement...
    with some sample data (INSERT INTO)
    and the actual queries (both of them - copy-paste them from each separate environment)
    you can use tags around the statements this will format it to a fixed font - making it easier to read
    Edited by: Alex Nuijten on Feb 20, 2009 10:05 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Strange query plans, and so different results from a view.

    In my database (11g), I have a currency exchange rate table, which contains all currencies and their exchange rate to USD. I need to have a number of different exchange rates - To GBP, EUR, etc...
    To accomplish this I have created a view, which has one union statement of all the USD exchange rates, with the same data joined back on itself to give the exchange rates based on their exchange rate to USD - ie: SELECT b1.Date, b1.Currency AS FromCurrency, b2.Currency as ToCurrency, b1.Rate/b2.Rate as Exchange Rate FROM Rates b1, Rates b2 on b1.Date = b2.Date
    This view works fine when I query it, and returns the data as I expect.
    I have a second view that is joined to this view to give a return of the amount in each currency for reporting. This view seems to work correctly when I narrow down the search requirements and have a small set of data.
    The issue I am having is when I query the second view and get it to return all the data. Instead of receiving 4 rows per transaction (I am only interested in 4 exchange rates for display) I typically receive up to 2 rows. The first record is for the conversion to USD, the second record is for the conversion to the supplied currency. The issue is that this exchange rate actually includes the aggregate for all 3 other requested currencies (not the USD).
    So instead of getting something like:
    Amt RC BC (Amt = Amount, RC = Reporting Currency. BC = Base Currency)
    60 GBP GBP
    80 EUR GBP
    100 USD GBP
    1000 ZAR GBP
    60 GBP USD
    80 EUR USD
    100 USD USD
    1000 ZAR USD
    I get the following set of results:
    1140 GBP GBP
    100 USD GBP
    100 USD USD
    Has anyone come accross something similar or have any ideas on how I can resolve this?
    Thanks
    PS: I can get both sets of results from the same view depending on the filter criteria. Also if I convert the exchange rates into a table, it then returns the correct results as expected.

    943081 wrote:
    The idea is to seek help in solving the problem. I was hoping that perhaps someone had experienced the same thing - different results for "effectively" the same query:Well, that's the issue... without additional info, it's not clear what issue you were seeing.
    SELECT * FROM view WHERE Date = '01 January, 2012'
    verse
    SELECT * FROM view WHERE Date > '31 December, 2011' ORDER BY DateNow it's a bit clearer. That second query is not "effectively" the same as the first query. If the date column is in DATE format, then you ought to have a to_date() around the date string to explicitly convert it into a date so you can do date-to-date comparisons correctly. Also, DATE datatype stores times as well as dates, so asking for data matching midnight of a specific date is different than asking for data greater than midnight of the previous day.
    If the date string is a string, then ... well, the string "31 December 2011" is greater than the string "31 August 2013", despite it being an earlier date. This is why making sure you're using the right datatype for the job is important - a date is different to a string that just happens to contain a date.
    DateID
    I have no objection to using a Date but always struggle to understand what someone means when they tell me "06/07/2012" - granted if the day is above 12 or the same day and month I don't have a problem - but it still leaves 121 days a year that are confusing. sure, but just because you find outputting the display (or rather, someone else's output) confusing doesn't mean you still shouldn't use the correct datatype. Store things as a date, and you can then output it in whatever format you like. Try doing that with a string or a number.
    Don't say it doesn't happen as I got a birthday card from a company in May this year when I have specifically entered my date of birth as being the 5 of a month (name drop down box on their website)!Just because someone else doesn't understand how to work with dates correctly doesn't mean you can't! It's not exactly rocket science, after all!*{;-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Different result from Excel

    Hi all,
    I hv done some thing with Excel for example
    =(42-40)/1.5 and result is 1.333333333
    When I am doing same with Oralce in "select statement", it is giving some different result, which is given below.
    select Round((42-40)/1.5,9) from dual
    the result is 1.003769326
    Can any one help in this regards
    thx

    My workout is as follows..
    [b]I am using Oracle 9i.
    SQL> select (42-40)/1.5 from dual;
    (42-40)/1.5
    1.33333333
    SQL> select round((42-40)/1.5) from dual;
    ROUND((42-40)/1.5)
    1
    SQL> select round((42-40)/1.5,9) from dual;
    ROUND((42-40)/1.5,9)
    1.33333333
    SQL>

  • To_char(adate,'dd.mm.yyyy')   returns different results  from  two oracle clients !!! Is it  possible?

    Dear all;
    We have only one Database server with some IIS's   as web servers on front . Each web server has own oracle client software in order connect to central database..
    The same following query used in C#  code  returns different results on each IIS server.(3 row, or  not data found )
    why?
    select     *    from    aTable    where        to_char( adate ,  'dd.mm.yyyy' )  =   :search_date
    regards
    Siya

    1006237 wrote:
    If adate is of DATE datatype, it will most likely has the time component. Therefore your SQL below is unlikely to return any data.
    select * from aTable where adate = to_date(:search_date, 'dd.mm.yyyy')
    Perhaps.....
    select * from aTable where TRUNC(adate) = to_date(:search_date, 'dd.mm.yyyy')
    Hi,
    not having any sample data from you I could not understand that you wanted to select the range 00:00:00 - 23:59:59 on search_date.
    Your method might not be efficient if you have an index on adate.
    Maybe something like this will be more efficient
    select * from aTable
    where adate >= to_date(:search_date, 'dd.mm.yyyy')
      and adate <  to_date(:search_date, 'dd.mm.yyyy') + 1;
    If you search_date is 30-Aug-2013 it will get records where adate >= 30-Aug-2013 00:00:00 and adate < 31-Aug-2013 00:00:00, so any time of date 30-Aug-2013.
    Try like this and let us know if you still have 2 different results.
    Regards.
    Alberto

  • Different result in frame viewer and canvas

    I´m doing some color correction with the 3 way CC tool and i´m having troubles with Frame Viewer: the results are not the same in the Canvas and Frame Viewer. The colors in Frame Viewer are a little bit more saturated and they are also a bit darker.
    I figured out that it happens in a lot of different configurations (Mac Pro, Imac and macbook Pro) but just with Snow Leopard.
    This problem doesn't exist in Tiger and i haven't the opportunity to test it with leopard.
    I found a topic in this forum support, where a guy had the same problem, he solved with the excess luma command, but it doesn't make sense, infact I still have this problem.
    I think that this is a software problem and also quite big, btw what i want to know is, which reference is more accurate?
    Time Viewer or canvas?

    sdd84 wrote:
    ...what i want to know is, which reference is more accurate?
    Time Viewer or canvas?
    Neither.
    FCP is showing you a low res proxy of the image. Final Cut Pro does this because it is about concentrating on the flow of your story, not color fidelity. That is less demanding on the CPU.
    To color correct accurately, your system needs to be connected to a calibrated external video monitor (or at the vey least, an excellent TV) fed by a qualified capture card such as those from AJA, Black Magic or Matrox.

  • Alternative for result from other query  and merge dimension option option

    Hi Everyone ,
    Am Developing one webi report over bex Query.
    Actual scenario is output of one webi report should be the input of other webi report.
    Eg:
    Table 1
    2010        Cus 1
    2010        Cus 2
    2011        Cus 3
    table 2
    cus1    m1   100
    cus2    m2   200
    Cus3    m1  400
    Report 1 designing 
    First report created using table 1 and prompt for year
    Report  2 designing
    Second report created using table2 and prompt for customer
    So when am Running first report it will ask for parameter year and if am selecting 2010 then the report will return C1 and C2
    this out put should e the input for report 2.
    So out put will be 100+200=300
    NOTE:1. Result from other query is not working in webi filter pane since am building on olap universe.
               2. Merge Dimension performance is very slow .
    Any Solution ?
    Regards,
    Kannan.B

    Hi,
    Thanks for ur reply
    As you said , If am giving hyperlink to other report .
    Eg: User selected Tamilnadu then report 1 opened  then  he has to click the some cell or hyperlink cell to view the actual report(2nd report).
    Suppose user Clicked that hyperlink cell and 2nd report opened and he is viewing the data for Tamil nadu and he decided to see the report for
    Andrapradesh so according to this logic he has to select first report and refresh the data for Andra and from there he has to come to 2nd report.
    totally 4 screen will be opened for seeing the two states report.
    So Some other alternative.......

  • Different results from 3.0 to 3i

    I am creating worksheets on Oracle Discoverer 3.1 User Edition (Version 3.1.36.06) and trying to view them on Oracle Discoverer 3i Viewer Edition v3.3.57.24.
    I get normal results on the user edition. I get various results on the 3i version. I noticed that just adding totals to a worksheet caused different results in 3i. In some cases, the worksheet would display rows in 3i but no totals. It would also run extremely longer in 3i (minutes versus seconds). In other cases, 3i Viewer would return the message that the worksheet was empty. I also received an error message "An error occurred while trying to run the query. (Internal EUL Error: ExprPArseNodeType - Invalid type in canonical formula".
    I have developed various reports in a different Business Area that are working as expected in 3i.
    Any help would be appreciated.

    Please tell us your first name and put it into your OTN profile and handle as a courtesy and help to us. Thanks.
    There is a patch for this problem on Metalink for bug 7138068, file p7138068_111060_GENERIC.zip.
    Scott

  • Read different language from the file and upload data

    Hi Expert,
    I am loading customer master data through BDC( trx-XD01) by reading a file from PC. The file contains customer data in different language like English, Chinese, and Japanese etc. However, when creating customer master data, only those data in English are able to create, as I am in English log on. The data in other language is showing garbage value. However, when I am logging in with that language (say Chinese) this time I am able to create customer for Chinese data but not for other.
    Can someone one help me to solve this problem – irrespective of language in the file and SAP log on, I should able create customer through my program.
    Thnx ,
    Deba
    Edited by: Debashis Mahunta on Feb 11, 2008 10:55 AM

    Hi Expert,
    I am loading customer master data through BDC( trx-XD01) by reading a file from PC. The file contains customer data in different language like English, Chinese, and Japanese etc. However, when creating customer master data, only those data in English are able to create, as I am in English log on. The data in other language is showing garbage value. However, when I am logging in with that language (say Chinese) this time I am able to create customer for Chinese data but not for other.
    Can someone one help me to solve this problem – irrespective of language in the file and SAP log on, I should able create customer through my program.
    Thnx ,
    Deba
    Edited by: Debashis Mahunta on Feb 11, 2008 10:55 AM

  • Different Results from SQL-Query in Oracle 10.2 and  Oracle 11.2

    Look at the following example:
    CREATE TABLE GZP_PLAN (GZP_ID
    NUMBER(9) NOT NULL, PARENT_GZP_ID NUMBER(9),
    CONSTRAINT GZP_PLAN_PK1 PRIMARY KEY(GZP_ID)
    USING INDEX
    TABLESPACE USERS
    TABLESPACE USERS;
    insert into GZP_PLAN values(1,NULL);
    CREATE TABLE GZP_WB (OBJECTID NUMBER
    NOT NULL, GZP_ID NUMBER(10),
    CONSTRAINT GZP_WB_PK1_1 PRIMARY KEY(OBJECTID)
    USING INDEX
    TABLESPACE USERS
    TABLESPACE USERS;
    insert into GZP_WB values(1,1);
    CREATE OR REPLACE VIEW VW_GZP (GZP_ID1) AS
    SELECT xxx.gzp_id
    FROM gzp_plan xxx
    WHERE gzp_id IN (
    SELECT MAX (z.gzp_id) zzz
    FROM gzp_plan z
    START WITH z.gzp_id = xxx.gzp_id
    CONNECT BY PRIOR gzp_id = parent_gzp_id);
    -- query
    select a.* from GZP_WB a where gzp_id in (select gzp_id1 from vw_gzp);
    Result in Oracle 10.2. (Windows Server 2003 32-bit, Oracle 10.2.0.2 or Oracle 10.2.0.5, Enterprise Edition)
    OBJECTID     GZP_ID
    *1 1*
    Result in Oracle 11.2 (Windows Server 2008 64-bit, Oralcle 11.2.0.2, Enterprise Edition or Standard Edition One)
    no rows selected
    The result of the following queries are identical in Oracle 10.2 and 11.2
    SQL> select * from GZP_WB where to_char(gzp_id) in
    2 (select to_char(gzp_id1) from vw_gzp);
    OBJECTID GZP_ID
    1 1
    SQL>
    SQL> select a.* from GZP_WB a, vw_gzp b where a.gzp_id=b.gzp_id1;
    OBJECTID GZP_ID
    1 1

    The solution is Oracle 11.2.0.3 - patchset released 11th November.

  • Issues with iCloud synchronisation and contacts over two or more devices.  iTouch and iPad2 sync with different results from iMac.  Thoughts?

    Has any one experienced issues with iCloud synchronisation and contacts over two or more devices? The primary machine is an iMac running Lion. Address Book was created from vcf file (backup of address book prior to moving to iCloud). iTouch replicates Contacts just fine and matches the Address Book on the iMac. The iPad 2 does not showing only 123 contacts where there should be 200. I have turned off iCloud on both devices thus erasing the iCloud content of both devices and staring from scratch with both devices with identical results. Even turned off iCloud on the iMac and erased the Address Book and rebuilt with the same results. Anyone have any ideas or suggestions? I am going nuts.....

    To follow-up with this issue:
    I ended up performing a security wipe on my device. The security wipe finished, and I was about to reconnect with Exchange when I decided to visit our host's web site to see if they had any articles covering the issues I was experiencing. While they didn't have anything specific, I did find a step-by-step guide to connecting a BB10 device to Exchange... and right there at the end, it said "Do NOT enable memo sync."
    I contacted support, and the rep told me that OS 10 has an issue with memo sync and it can cause all sorts of unpredictable behavior. Now, whether or not this is accurate I can say this: So far, the device is not disconnecting and reconnecting like it was before. Problem is, is this a result of not enabling memo sync, or is this a result of the security wipe?
    I may have overlooked it, but I don't recall reading anything about that anywhere else. I'm tempted to try re-enabling the memo sync to see if everything blows up again. At least that way I can see for myself if the memo sync is a real issue. Of course, perhaps it's an issue with SherWeb (our host) specifically. Hm...
    Anyway, for those that were interested, and for those that may come along in the future with a similar situation, the strange behavior that I first reported is no longer happening. I just don't know if it was a result of a security wipe or a result of not enabling memo sync with Exchange.
    Ian

  • Different results from SQLPlus and ResultSet

    Hello!
    I'm using Oracle Server and when I query in SQL-Plus:
    "select count(*) from table1", I get the result "2 rows"
    But - when I query in JDBC:
    PreparedStatement pstmt = dbconn.prepareStatement(same query....);
    pstmt.executeQuery();
    rset=pstmt.getResultSet();
    rset.next ();
    rset.getString (1)
    Returns only "1 row"...
    In addition, when I query for "select * from table1", in JDBC, I get as results only from the 2nd record to the last..."
    In all cases, for some reason, it truncate the first row! :-(
    Why is there a difference between them?
    Thank you all in advance!

    rset.getString (1)If you are doing "select count(*)" that should be getInt(1).
    pstmt.executeQuery();
    rset=pstmt.getResultSet();Try "rset = pstmt.executeQuery()" instead of those two lines. That is the usual way of doing it.
    PreparedStatement pstmt = dbconn.prepareStatement(same query....);Show us the prepareStatement call with the SQL query. Don't edit it in any way, don't abbreviate it, don't even remove a single space in it, copy&paste it exactly the way it is.

Maybe you are looking for