Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Rollback force for distributed transactions Oracle
  • good note for shared pool tunnig Oracle
  • Monitor and Trace Unix processes using truss Linux/Unix
  • Composite Index creation tip from Vivek Oracle
  • Python class import from different folders Python/PySpark
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • TRUNCATE Privs Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • process id based files and processes Linux/Unix
  • refre.sql Oracle
  • shutdown linux Linux/Unix
  • SQL_PLAN.sql for checking real execution plan Oracle
  • DB Console Mainenance. Oracle
  • Unix command for system configuration Linux/Unix

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

  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Vivek Tuning for Row Locks. Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • Error Handling in Proc Oracle
  • Oracle 10g for solaris 10 Oracle
  • Library cahe Latches and internal explaination Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Search and replace pattern Linux/Unix
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • VIvek Encryption Package and Its Usage Oracle
  • dbms_job.submit example Oracle
  • Add new columns in dataframe Python/PySpark
  • create database syntax Oracle
  • move_arch_files.ksh Linux/Unix
  • Oracle Data Direct to TAPE Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme