Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Getting started with notebook Python/PySpark
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • Some OS level threshold for performance. Linux/Unix
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix
  • Find All internal Parameters Oracle
  • Single character replacement in Unix Linux/Unix
  • Roles and Stored Procs II Oracle
  • proc.sql Oracle
  • Complete Git Tutorial for Beginners GIT
  • Restoring a user’s original password 1051962.101 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

  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • Good notes on Oracle Events Oracle
  • Goldengate Tutorial Oracle
  • Oracle Material from OTN Oracle
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • Index Range Scan 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • 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

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Alter procedure auditing Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • Find_planinfo.sql Oracle
  • newupload.html PHP/MYSQL/Wordpress
  • Find total file sizes Linux/Unix
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • fuser to check who is using diretory Linux/Unix
  • SQL Tracker by SID sqltrackerbysid.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme