Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Setting back the clock

RE: Setting back the clock

From: Powell, Mark D <mark.powell_at_eds.com>
Date: Thu, 2 Jun 2005 12:56:59 -0400
Message-ID: <5A14AF34CFF8AD44A44891F7C9FF41050395B8F2@usahm236.amer.corp.eds.com>


The database will not care if you set the clock back one hour. You will need to avoid running a point in time recovery that uses a time within that hour but you can run a point in time recovery using SCN numbers instead of time to recover to the proper point within the time change. But the odds are you will not need to worry about this.

The question to be asked is will the application care if you set the clock back? Did anyone use a date column as the key? If you repeat a time then the application could get a ORA-00001 unique constraint (%s.%s) violated error. Some reports that sort on date columns could be a little strange since extra data might exist for a time period. These are relatively minor issues. It is generally easiest to stop the application for one hour till the database clock is once again in virgin territory.

HTH -- Mark D Powell --
=20

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Eric Buddelmeijer Sent: Thursday, June 02, 2005 12:29 PM
To: oracle-l_at_freelists.org
Subject: Setting back the clock

Hello all,
=20

We have some sun database servers that have been transferred to the UK while they originally have been configured in the Netherlands. The SA wants to set the timezone to BST while it now is set to CEST, which means the displayed time will be set back by 1 hour. Will this change affect anything in the database? My concern lies mainly with SCN's and point in time recovery. The database is not used very much yet, so it will be possible to leave the database down for an hour. Can we just stop the database, adjust the time and restart the database? What would be the save approach?
=20

TIA,
Eric.

--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Thu Jun 02 2005 - 13:09:21 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US