故事最开始的起因,是监控发现v$log中的first_time时间,显示的是昨天的时间。而登录数据库检查sysdate是正常的时间。我们可以模拟出来下面的故障:session 1,用 TZ=EST5EDT起库,此时,可以看到v$log中的FIRST_TIME是12小时之前的。[oracle11g@testdb2 ~]$ export TZ=EST5EDT
[oracle11g@testdb2 ~]$
[oracle11g@testdb2 ~]$
[oracle11g@testdb2 ~]$
[oracle11g@testdb2 ~]$ sqlplus "/ as sysdba"
SQL*Plus: Release 11.2.0.4.0 Production on Tue Oct 25 00:19:39 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application
...
继续阅读
(23)