Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • CTAS with LONG Column for 9i and higher Oracle
  • Wait.sql Oracle
  • Library cahe Latches and internal explaination Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • Find Plan Hash value fphv.sql Oracle
  • eplan.sql Oracle
  • Rman Notes -1 Oracle
  • create trigger syntax Oracle
  • Creating a Container Database using dbaascli Uncategorized
  • to see when crontab is changed. Linux/Unix
  • find_cons.sql Oracle
  • Oracle Statspack survival Guide Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • Vivek Tuning for Row Locks. Oracle
  • Insert cause enqueue locks Oracle

Changing unix system clock when Oracle database is running.

Posted on 01-Aug-2005 By Admin No Comments on Changing unix system clock when Oracle database is running.

Q: How does changing the system clock effect Oracle?? specifically, point

in time recovery?? Is it different with V6 and Oracle7??

A: Changing the system clock should really have no effect on the Oracle kernel

until it comes time to do time-based media recovery. Both in V6 and V7 there

may be problems if you use RECOVER DATABASE UNTIL TIME if time has changed

between the time you recover and the time the backup is taken.

Consider:

3pm 4pm 4.30 5pm–>4pm 4.16pm 4.30 5pm

|———|——-|——-|—–|——-|——-|——–|

cold/hot T1 T2 T3 clock T4 T5 T6

backup change

If you wish to recover to the T5, you will not be able to since Oracle will

recover to the first occurance of 4:30 which is T2. In Oracle7 you can recover

to a specific SCN (RECOVER … UNTIL CHANGE) which is systemclock independent,

but when using RECOVER … UNTIL TIME will not give the desired results.

So the lesson to be learned, is when the clock is set back, you should take

full database backup immediately after the system clock change.

NOTE: this only applies in the fall when we set the clocks back.

Oracle, SQL scripts

Post navigation

Previous Post: Paste command syntax
Next Post: cif crons

Related Posts

  • Clean up Oracle
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • Find Stale DR Physical Standby Oracle
  • CPU Core related projections AWS
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • TRUNCATE Privs Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • ORACLE_SID in sqlplus Oracle
  • Monitor and Trace Unix processes using truss Linux/Unix
  • Oracle Release Explaination Oracle
  • Korn Shell Arithmatic Linux/Unix
  • Add new columns in dataframe Python/PySpark
  • Finding locked objects Oracle
  • EXTPROC Oracle
  • New OFA for 11g Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme