imtoken钱包官方下载
数字资产服务平台

imtoken钱包官方下载是全球著名的数字资产交易平台之一,主要面向全球用户提供比特币、莱特币、以太币等数字资产的币币和衍生品交易服务。

下载网站比特派app下载|vktm detected a time drift

时间:2024-03-15 01:20:49

Warning: VKTM detected a time drift.-CSDN博客

>

Warning: VKTM detected a time drift.-CSDN博客

Warning: VKTM detected a time drift.

最新推荐文章于 2023-04-20 19:36:46 发布

huangliang0703

最新推荐文章于 2023-04-20 19:36:46 发布

阅读量8.2k

收藏

8

点赞数

3

分类专栏:

RAC

RAC

专栏收录该内容

21 篇文章

0 订阅

订阅专栏

集群版本:11.2.0.4  数据库版本:11.2.0.4 

文章来自:https://www.linuxidc.com/Linux/2016-03/128903.htm

时间是包括数据库系统在内的诸多信息系统基础件的重要因素。对于运行在操作系统OS之上的中间件组件而言,获取到一个准确、连续和一致的时间非常重要,特别是多节点的环境下。如果没有一个统一的时间管理机制,其上的cluster组件工作是及其困难的。

本篇主要介绍Oracle vktm时间后台进程报警的Bug问题。

1、从11g VKTM进程谈起

对Oracle数据库,避免对于操作系统层面时间的调用,维持一个统一稳定的时间体系一直是发展方向。在11g中,一个独立的后台进程vktm被引入到实例体系下。

VKTM进程全称为“Virtual Keeper of Time Process”,用于给数据库运行和间隔运算计量提供出一个统一的时间服务。官方解释是:

VKTM acts as a time publisher for an Oracle instance. VKTM publishes two sets of time: a wall clock time using a seconds interval and a higher resolution time (which is not wall clock time) for interval measurements. The VKTM timer service centralizes time tracking and offloads multiple timer calls from other clients.

在11g之前的版本中,如果数据库实例(包括ASM和RAC Instance)需要当前时间的时候,都调用操作系统层面的时间获取函数(例如:gettimeofday())。进入11g之后,这个动作就由统一的VKTM负责完成,并且在进程内部保留时间过程。其他进程如果需要时间,都通过这个进程间接获得。专门的时间后台进程的出现,最直接的效果就是减少了同操作系统内核的交互,提高了性能。

2、Time Drift问题

在一次日志巡检中,笔者发现alert log中存在如下的报警信息:

Tue Dec 22 21:56:26 2015

Warning: VKTM detected a time drift.

Time drifts can result in an unexpected behavior such as time-outs. Please check trace file for more details.

Tue Dec 22 23:02:44 2015

Warning: VKTM detected a time drift.

Time drifts can result in an unexpected behavior such as time-outs. Please check trace file for more details.

alert log是我们发现数据库运行问题最直接的途径和方法。从11g开始,一些预测、诊断性的信息,也都通过alert log进行输出,期望实现数据库故障问题预先诊断。

从日志信息看,数据库在两个时间点经历了两次VKTM进程的Time Drift现象。Drift是漂移、浮动的含义。VKTM作为时间维护后台进程,在两个时间点中似乎发生了快速的前移和后退。

根据日志中信息时间信息,我们查找定位故障发生时的trace文件。

[oracle@vLIFE-URE-PRD-DB-PRIMARY trace]$ ls -l | grep vktm

(篇幅原因,有省略……)

-rw-r-----. 1 oracle oinstall    90 Dec 21 14:48 UREPRD_vktm_22700.trm

-rw-r-----. 1 oracle oinstall  1846 Dec 22 23:02 UREPRD_vktm_23138.trc

-rw-r-----. 1 oracle oinstall    128 Dec 22 23:02 UREPRD_vktm_23138.trm

对应的Trace文件信息如下:

kstmmainvktm: failed in setting elevated priority

Verify: SETUID is set on ORADISM and restart the instance

highres_enabled

VKTM running at (100ms) precision 

kstmrmtickcntkeeper: param _dbrm_quantum will not be effective

*** 2015-12-21 16:15:27.883

[Start] HighResTick = 1450685727883070

kstmrmtickcnt = 0, ksudbrmseccnt[0] = 1450685727

kstmchkdrift (kstmrmtickcntkeeper:highres): Time jumped forward by (16898372)usec at (1450792586464465) whereas (1000000) is allowed

*** 2015-12-22 21:56:27.439

kstmchkdrift (kstmrmtickcntkeeper:lowres): Time jumped forward by (18000000)usec at (1450792587) whereas (5000000) is allowed

kstmchkdrift (kstmrmtickcntkeeper:highres): Time jumped forward by (1112648)usec at (1450796564826494) whereas (1000000) is allowed

在alert结果中,我们看到两次漂移drift的现象。信息中,我们看到一个单位usec,折合0.000001秒钟。那么,两个提示的意思就比较明确了:VKTM进程向前分别跳跃了18秒和1.1秒。规定的跳跃时间是1秒钟。

那么,下一个问题是,问题是怎么产生的?我们是否需要介入处理?alter log中一些告警信息是基于数据库诊断规则,警告的内容涵盖内存、安全、存储等多个方面。并不是每一种信息都需要进行处理,很多信息内容都是基于最佳Oracle工作实践的一种建议。

在MOS中,笔者定位到了一篇针对alert log中出现Time Drift提示错误的文章,名称为:Time Drift Detected. Please Check VKTM Trace File for More Details,文章编号:ID 1347586.1。

在文章中,Oracle认为这个错误在11.2.0.2到11.2.0.3之间会不断地出现,已经在11.2.0.4版本中被修复。Bug编号为:11837095 "TIME DRIFT DETECTED" APPEARS INTERMITTENTLY IN ALERT LOG, THO' EVENT 10795 SET。

如果需要对该Bug进行单独修复,需要进行补丁patch 11837095操作。之后通过设置等待事件10795来进行控制。

alter system set event="10795 trace name context forever, level 2" scope=spfile;

这种错误的潜在影响,MOS文章中的解释如下:

Impact of the error:

The time drifts usually occurring less than 1sec and 5 sec for forward and backward respectively are permissible and OK.

If the traces are emitting time drifts of amount beyond these ranges, then it needs to be analyzed.

Most of the times, during high loads, there would be issues with underlying OS due to virtual memory, network time protocol improper configuration etc.

In general VKTM process need to be scheduled in every 10ms, if due to above reasons this is not happening we see the time drifts and to certain level (mentioned above) are permissible.

Eventually, this probably would cause the resource manager to take improper decisions and can lead to a hang in worst case.

VKTM process trace file can be found under bdump, However in this case the trace file doesn't contain useful information, Which makes the message ambiguous.

大部分情况下,由于系统高负载或者内存调度配置有问题,VKTM的每10ms作业会有问题,可能会出现1-5秒的Drift漂移。如果这种现象出现很频繁,就需要整体考虑操作系统和数据库配置问题。VKTM出现漂移,可能会影响到resource manager的工作情况。

3、结论

VKTM是Oracle 11g中新引入的一个后台进程。我们在面对alert log中出现的各种奇怪问题的时候,最好主动咨询一下官方MOS,看看是否有相似的方案解决。小问题尽早解决,才能保证系统不出现大故障。

 

 

 

优惠劵

huangliang0703

关注

关注

3

点赞

8

收藏

觉得还不错?

一键收藏

知道了

0

评论

Warning: VKTM detected a time drift.

集群版本:11.2.0.4  数据库版本:11.2.0.4 文章来自:https://www.linuxidc.com/Linux/2016-03/128903.htm时间是包括数据库系统在内的诸多信息系统基础件的重要因素。对于运行在操作系统OS之上的中间件组件而言,获取到一个准确、连续和一致的时间非常重要,特别是多节点的环境下。如果没有一个统一的时间管理机制,其上的cluster组件工作...

复制链接

扫一扫

专栏目录

参与评论

您还未登录,请先

登录

后发表或查看评论

Time drift detected. Please check VKTM trace file for more details

My Oracle Recipe

06-04

9986

Alert 日志中重复出现如下信息

Time drift detected. Please check VKTM trace file for more details.

 

环境如下

OS VERSION: AIX 6.1

DB VERSION:Oracle RAC 11.2.0.3.0

 

VKTM 的trace f

RAC环境下NTP导致的VKTM detected a time drift

heavenmouse的专栏

11-27

5153

今天巡检某行生产库,一套RAC的2节点ALERT日志中报错

 

Thu Nov 22 06:30:28 2014

Time drift detected. Please check VKTM trace file for more details.

Thu Nov 22 07:30:30 2014

Time drift detected. Please check VKTM trace

ASM Instance Is Reporting “Warning: VKTM detected a time drift” (Doc ID 1678120.1)

sqlora的专栏

10-14

1070

ASM instance is reporting the following warnings on release 11.2.0.4:

Mon May 12 02:45:15 2014Warning: VKTM detected a time drift.

Time drifts can result in an unexpected behavior such as time-outs. ...

oracle时间飘移,Alter Log中VKTM时间drift漂移现象

weixin_35834271的博客

04-03

602

时间是包括数据库系统在内的诸多信息系统基础件的重要因素。对于运行在操作系统OS之上的中间件组件而言,获取到一个准确、连续和一致的时间非常重要,特别是多节点的环境下。如果没有一个统一的时间管理机制,其上的cluster组件工作是及其困难的。本篇主要介绍Oracle vktm时间后台进程报警的Bug问题。1、从11g VKTM进程谈起对Oracle数据库,避免对于操作系统层面时间的调用,维持一个统一稳...

Alter Log中VKTM时间drift漂移现象

ciqu9915的博客

12-24

512

时间是包括数据库系统在内的诸多信息系统基础件的重要因素。对于运行在操作系统OS之上的中间件组件而言,获取到一个准确、连续和一致的时间非常重要,特别是多节点的环境下。如果没有一个统一的时间管理机制,其上的cl...

Oracle 的 VKTM 进程 - virtual keeper of time

weixin_30781433的博客

12-31

453

在Oracle Database 11g中,VKTM是一个新增的后台进程。这个进程的含义是:

VKTM(virtual keeper of time) is responsible for providing a wall-clock time (updated every second) and reference-time counter (updated every 20 ms and ...

修改主机时间导致实例重启

最新发布

kevinyu998的博客

04-20

603

昨晚检查一套11g rac环境,发现节点二比北京时间晚4分钟多点,之前也遇到过多次,10分钟以内直接修改没出过问题,这次也没有多想直接date修改了,导致orcl宕机重启了,非工作时间客户也没有多说,今后需要吸取教训,

VKTM导致ASMB终止导致ORALCE实例宕

wzw_dba的博客

07-03

6973

昨天在查看数据库备份情况时,查看日志发现:

RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process

archived log file name=+DATA/iokbl/archivelog/2015_06_24/thread_1_seq_595.499.8832

关于Time Drift Detecte…

babymouse1212的博客

05-02

832

Time

Drift Detected. Please Check Vktm Trace File For More Details. (文档

ID 1347586.1)

转到底部

Drift Detected. Please Check Vktm Trace File Fo" />

修改时间:2013-5-1Drift Detected. Please Check Vktm T

oracle 49152,oracle 12C 奇怪的报错 - Oracle数据库管理 - Oracle数据库数据恢复、性能优化来问问AskMaclean - ParnassusData诗檀软件旗下...

weixin_35985795的博客

04-11

511

Liu Maclean(刘相兵 发表于 2017-7-17 17:46 WARNING: failed to read mirror side 1 of virtual extent 4 logical extent 0 of file 302 in group [5.4 ...刘总,今天的故障,操作系统层面有重启的现象,数据库层面有时间漂移告警,但是无法确认实例挂掉的真正原因。两台windows...

Warning: VKTM detected a time stall. 

sqlora的专栏

01-11

1567

2021-01-11T16:28:07.192622+08:00

Warning: VKTM detected a time stall.

Time drifts can result in unexpected behavior such as time-outs.

Please see the VKTM trace file for more details:

/oracle/app/oracle/diag/rdbms/cis/cis1/trace/cis1_vktm_50859.trc

2021-..

oracle时间飘移,12.2双机rac,VKTM时间drift漂移

weixin_28693309的博客

04-03

380

2019-03-25T08:00:01.412940+08:00Warning: VKTM detected a time stall.Time drifts can result in unexpected behavior such as time-outs.Please see the VKTM trace file for more details:/u01/app/oracle/diag...

MGMTDB的alert日志报错ORA-12012 ORA-08103

sqlora的专栏

07-15

726

[grid@rac1 rac1]$ cd $ORACLE_BASE/diag

[grid@rac1 diag]$ ls

afdboot apx asm asmtool bdsql clients crs diagtool dps em gsm ios lsnrctl netcman ofm plsql plsqlapp rdbms tnslsnr

[grid@rac1 diag]$ cd rdbms

[grid@rac1 rdbms]$ ls

_mgmtdb

[grid@...

oracle 服务器名(vktm),请教个VKTM问题,在线等待.....

weixin_29801567的博客

04-12

486

本帖最后由 min_dan 于 2012-9-14 10:14 编辑今天检查oracle告警日志发现个vktm的问题,请问是什么原因引起的。oracle11.2.0.3单实例 rhel5.4 x64Fri Sep 14 00:26:01 2012Time drift detected. Please check VKTM trace file for more details.Fri Sep 14...

【RAC】因系统时间设置不当,造成RAC一节点集群资源及数据库关闭

crygaj7140的博客

02-19

348

下午接到一个同事电话,说一体机(RAC)第二个节点数据库连不上了,让我帮忙看看。我便登上系统,在第一个节点查看信息,如下

点击(此处)折叠或打开

...

VKTM进程消耗大量CPU的问题

weixin_33739627的博客

03-19

188

11g中引入了VKTM后台进程,VKTM是virtual keeper of time的缩写,该进程负责提供时钟时间(每秒更新一次)以及参考时间服务(每20ms更新一次,仅在进程高优先级情况下可用),该参考时间服务用于各种基于时间间隔的度量。  VKTM在SGA中发布这些计时信息,以便各种RDBMS Client可以廉价和快速了解时间信息。Wall-clock 时钟时间每一秒更新一次且单调递增。 ...

人工调整时间引起的ORACLE RAC数据库实例终止

还不算晕的专栏

03-06

1253

近期,某客户反馈集群的数据库节点1异常终止,重启数据库时报错。对此问题排查过程是:

1.首先通过集群状态检查crsctl stat res -t确认了集群资源状态,仅节点1数据库实例异常。

2.检查节点1的数据库alert日志,问题发生时出现了Warning: VKTM detected a backward time drift.……ERROR: terminating instance because ASMB is stuck for 557 seconds……GEN0 (ospid: ): te

rac 集群 ctss ntp 时间同步

weixin_43475880的博客

01-24

1301

学习来源:Oracle集群(RAC)时间同步(ntp和CTSS) - 尚码园 (shangmayuan.com)

Network Time Protocol Settingapp

lYou have two options for time synchronization: an operating system configured network time protocol (NTP), or Oracle Cluster Time Synchronization Service.

lO...

“相关推荐”对你有帮助么?

非常没帮助

没帮助

一般

有帮助

非常有帮助

提交

huangliang0703

CSDN认证博客专家

CSDN认证企业博客

码龄16年

暂无认证

258

原创

5万+

周排名

6万+

总排名

60万+

访问

等级

8305

积分

71

粉丝

39

获赞

16

评论

154

收藏

私信

关注

热门文章

mysql 5.7 ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executi

16503

ora-00955 名称已由现有对象使用

11110

TNS-12564: TNS:connection refused

9924

ORA-12545: Connect failed because target host or object does not exist

9916

ORA-00957: duplicate column name

9360

分类专栏

gitlab

1篇

19C

4篇

存储

oracle 12C

6篇

mysql 8.0

1篇

redis

2篇

文件系统

1篇

RDS

1篇

nginx

1篇

RMAN

2篇

oracle

82篇

ASM

4篇

linux

23篇

oracle体系结构

4篇

oracle网络配置

8篇

数据泵

5篇

rman备份与恢复

3篇

安装卸载

10篇

故障处理

16篇

oracle基础知识

11篇

表空间与数据文件

3篇

优化

7篇

oracle某些特性

EM

1篇

MAXDATAFILES与db_files

sql语法语句

11篇

0cp-047

12篇

linux

RAC

21篇

DG

24篇

sql*plus

4篇

11g新特性

2篇

oracle安全

1篇

ogg

8篇

索引

8篇

NBU

3篇

oracle 参数

3篇

trigger

1篇

mysql

56篇

mongodb

1篇

python

2篇

zabbix

2篇

阿里云

2篇

oracle监听

2篇

profile

1篇

最新评论

配置ORACLE 11G ADG

CSDN-Ada助手:

大数据发展了这么多年,是不是走入了一个死胡同?

OGG-02028 Failed to attach to logmining server OGG$EXT1 error 1,292 - ORA-01292: LogMiner for upstr

m0_61230785:

hi,我想問下爲什麽再次register的時候會報錯說必須要先刪除E進程呢,我記得12C版本的DB重新解綁注冊并不會報錯呀

OGG-02028 Failed to attach to logmining server OGG$EXT1 error 1,292 - ORA-01292: LogMiner for upstr

m0_61230785:

hi,我想問下爲什麽再次register的時候會報錯說必須要先刪除E進程呢,我記得12C版本的DB重新解綁注冊并不會報錯呀

OGG-02028 Failed to attach to logmining server OGG$EXT1 error 1,292 - ORA-01292: LogMiner for upstr

m0_61230785:

hi,我想問下爲什麽再次register的時候會報錯說必須要先刪除E進程呢,我記得12C版本的DB重新解綁注冊并不會報錯呀

RMAN-04006: error from auxiliary database: ORA-01034: ORACLE not available

柠檬:

厉害!你说的两个问题我都遇到了

您愿意向朋友推荐“博客详情页”吗?

强烈不推荐

不推荐

一般般

推荐

强烈推荐

提交

最新文章

git 代码提交,出现403错误的问题

上传镜像到阿里云的ACR

centos 7 安装docker

2023年10篇

2022年4篇

2021年14篇

2020年11篇

2019年24篇

2018年47篇

2017年22篇

2016年28篇

2015年103篇

2014年78篇

2013年28篇

目录

目录

分类专栏

gitlab

1篇

19C

4篇

存储

oracle 12C

6篇

mysql 8.0

1篇

redis

2篇

文件系统

1篇

RDS

1篇

nginx

1篇

RMAN

2篇

oracle

82篇

ASM

4篇

linux

23篇

oracle体系结构

4篇

oracle网络配置

8篇

数据泵

5篇

rman备份与恢复

3篇

安装卸载

10篇

故障处理

16篇

oracle基础知识

11篇

表空间与数据文件

3篇

优化

7篇

oracle某些特性

EM

1篇

MAXDATAFILES与db_files

sql语法语句

11篇

0cp-047

12篇

linux

RAC

21篇

DG

24篇

sql*plus

4篇

11g新特性

2篇

oracle安全

1篇

ogg

8篇

索引

8篇

NBU

3篇

oracle 参数

3篇

trigger

1篇

mysql

56篇

mongodb

1篇

python

2篇

zabbix

2篇

阿里云

2篇

oracle监听

2篇

profile

1篇

目录

评论

被折叠的  条评论

为什么被折叠?

到【灌水乐园】发言

查看更多评论

添加红包

祝福语

请填写红包祝福语或标题

红包数量

红包个数最小为10个

红包总金额

红包金额最低5元

余额支付

当前余额3.43元

前往充值 >

需支付:10.00元

取消

确定

下一步

知道了

成就一亿技术人!

领取后你会自动成为博主和红包主的粉丝

规则

hope_wisdom 发出的红包

实付元

使用余额支付

点击重新获取

扫码支付

钱包余额

0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。 2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值

Warning: VKTM detected a time drift. - 数据与人文 - 博客园

Warning: VKTM detected a time drift. - 数据与人文 - 博客园

会员

周边

新闻

博问

AI培训

云市场

所有博客

当前博客

我的博客

我的园子

账号设置

简洁模式 ...

退出登录

注册

登录

数据与人文

聚焦技术和人文,分享干货,共同成长。

Warning: VKTM detected a time drift.

1 Warning: VKTM detected a time drift.

2 Time drifts can result in an unexpected behavior such as time-outs. Please check trace file for more details.

3 Tue Dec 03 16:21:35 2019

4 Warning: VKTM detected a time drift.

5 Time drifts can result in an unexpected behavior such as time-outs. Please check trace file for more details.

6 Tue Dec 03 16:38:23 2019

7 Adjusting the default value of parameter parallel_max_servers

8 from 640 to 320 due to the value of parameter processes (350)

9 Starting ORACLE instance (normal)

10 Tue Dec 03 21:09:32 2019

11 Warning: VKTM detected a time drift.

12 Time drifts can result in an unexpected behavior such as time-outs. Please check trace file for more details.

13 Tue Dec 03 22:00:00 2019

14 Setting Resource Manager plan SCHEDULER[0x32DA]:DEFAULT_MAINTENANCE_PLAN via scheduler window

15 Setting Resource Manager plan DEFAULT_MAINTENANCE_PLAN via parameter

16 Tue Dec 03 22:00:00 2019

17 Starting background process VKRM

18 Tue Dec 03 22:00:00 2019

19 VKRM started with pid=78, OS id=28922

20 Tue Dec 03 22:00:02 2019

21 Begin automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"

22 Tue Dec 03 22:20:55 2019

23 End automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"

24 Tue Dec 03 22:46:17 2019

25 Warning: VKTM detected a time drift.

26 Time drifts can result in an unexpected behavior such as time-outs. Please check trace file for more details.

27 Wed Dec 04 00:00:29 2019

28 Thread 1 advanced to log sequence 5843 (LGWR switch)

在Oracle Database 11g中,VKTM是一个新增的后台进程。这个进程的含义是:

VKTM (virtual keeper of time) is responsible for providing a wall-clock time (updated every second) andreference-time counter (updated every 20 ms and available only when running at elevated priority).

也就是说,这个进程用于提供一个数据库的时钟,每秒更新;或者作为参考时间计数器,这种方式每20毫秒更新一次,仅在高优先级时可用。

在系统时间出现异常或变化时,VKTM进程还会检测这些变化,提醒用户,尤其是在RAC环境中,时间的偏移和变化极有可能导致系统故障。以下是告警日志中的警告信息:

Warning: VKTM detected a time drift.Time drifts can result in an unexpected behavior such as time-outs. Please check trace file for more details.

通过VKTM进程,数据库可以降低和操作系统的交互,Kamus的解释是:

在11g之前所有的Oracle数据库后台或者前台进程如果需要获得当前时间信息,就需要调用操作系统的gettimeofday()函数或者说是相类似的函数。而VKTM进程就是专门用来获得时间信息然后将信息存放在SGA中供其它进程使用,这样其它进程当需要时间信息的时候,只要到SGA的某个内存位置去获得就好,而不用频繁调用gettimeofday()函数。毫无疑问,这样效率会更高。

在RAC测试中,Oracle 11.1.0.6版本LMSx进程获取时间信息时,可以从VKTM进程中获益大概70%的速度提升,而11.1.0.7将会更高。

同时,因为gettimeofday()函数也引发了很多bug,所以无论是RAC还是NORAC库,都将从VKTM进程中获益。

参考https://www.eygle.com/archives/2012/06/oracle_11g_vktm.html

posted on

2020-06-12 11:13 

数据与人文 

阅读(1577) 

评论(0) 

编辑 

收藏 

举报

会员力量,点亮园子希望

刷新页面返回顶部

导航

博客园

首页

联系

订阅

管理

公告

Powered by:

博客园

Copyright © 2024 数据与人文

Powered by .NET 8.0 on Kubernetes

Oracle Warning: VKTM detected a time drift.-CSDN博客

>

Oracle Warning: VKTM detected a time drift.-CSDN博客

Oracle Warning: VKTM detected a time drift.

最新推荐文章于 2021-04-12 16:05:46 发布

DBhanG

最新推荐文章于 2021-04-12 16:05:46 发布

阅读量2.1k

收藏

点赞数

1

文章标签:

数据库

oracle

原文链接:https://www.linuxidc.com/Linux/2016-03/128903.htm

版权

ORACLE

专栏收录该内容

20 篇文章

1 订阅

订阅专栏

集群版本:11.2.0.4 数据库版本:11.2.0.4

文章来自:https://www.linuxidc.com/Linux/2016-03/128903.htm

时间是包括数据库系统在内的诸多信息系统基础件的重要因素。对于运行在操作系统OS之上的中间件组件而言,获取到一个准确、连续和一致的时间非常重要,特别是多节点的环境下。如果没有一个统一的时间管理机制,其上的cluster组件工作是及其困难的。

本篇主要介绍Oracle vktm时间后台进程报警的Bug问题。

1.从11g VKTM进程谈起

对Oracle数据库,避免对于操作系统层面时间的调用,维持一个统一稳定的时间体系一直是发展方向。在11g中,一个独立的后台进程vktm被引入到实例体系下。

VKTM进程全称为“Virtual Keeper of Time Process”,用于给数据库运行和间隔运算计量提供出一个统一的时间服务。官方解释是:

VKTM acts as a time publisher for an Oracle instance. VKTM publishes two sets of time: a wall clock time using a seconds interval and a higher resolution time (which is not wall clock time) for interval measurements. The VKTM timer service centralizes time tracking and offloads multiple timer calls from other clients.

在11g之前的版本中,如果数据库实例(包括ASM和RAC Instance)需要当前时间的时候,都调用操作系统层面的时间获取函数(例如:gettimeofday())。进入11g之后,这个动作就由统一的VKTM负责完成,并且在进程内部保留时间过程。其他进程如果需要时间,都通过这个进程间接获得。专门的时间后台进程的出现,最直接的效果就是减少了同操作系统内核的交互,提高了性能。

2.Time Drift问题

在一次日志巡检中,笔者发现alert log中存在如下的报警信息:

Tue Dec 22 21:56:26 2015

Warning: VKTM detected a time drift.

Time drifts can result in an unexpected behavior such as time-outs. Please check trace file for more details.

Tue Dec 22 23:02:44 2015

Warning: VKTM detected a time drift.

Time drifts can result in an unexpected behavior such as time-outs. Please check trace file for more details.

alert log是我们发现数据库运行问题最直接的途径和方法。从11g开始,一些预测、诊断性的信息,也都通过alert log进行输出,期望实现数据库故障问题预先诊断。

从日志信息看,数据库在两个时间点经历了两次VKTM进程的Time Drift现象。Drift是漂移、浮动的含义。VKTM作为时间维护后台进程,在两个时间点中似乎发生了快速的前移和后退。

根据日志中信息时间信息,我们查找定位故障发生时的trace文件。

[oracle@vLIFE-URE-PRD-DB-PRIMARY trace]$ ls -l | grep vktm

(篇幅原因,有省略……)

-rw-r-----. 1 oracle oinstall 90 Dec 21 14:48 UREPRD_vktm_22700.trm

-rw-r-----. 1 oracle oinstall 1846 Dec 22 23:02 UREPRD_vktm_23138.trc

-rw-r-----. 1 oracle oinstall 128 Dec 22 23:02 UREPRD_vktm_23138.trm

对应的Trace文件信息如下:

kstmmainvktm: failed in setting elevated priority

Verify: SETUID is set on ORADISM and restart the instance

highres_enabled

VKTM running at (100ms) precision

kstmrmtickcntkeeper: param _dbrm_quantum will not be effective

*** 2015-12-21 16:15:27.883

[Start] HighResTick = 1450685727883070

kstmrmtickcnt = 0, ksudbrmseccnt[0] = 1450685727

kstmchkdrift (kstmrmtickcntkeeper:highres): Time jumped forward by (16898372)usec at (1450792586464465) whereas (1000000) is allowed

*** 2015-12-22 21:56:27.439

kstmchkdrift (kstmrmtickcntkeeper:lowres): Time jumped forward by (18000000)usec at (1450792587) whereas (5000000) is allowed

kstmchkdrift (kstmrmtickcntkeeper:highres): Time jumped forward by (1112648)usec at (1450796564826494) whereas (1000000) is allowed

在alert结果中,我们看到两次漂移drift的现象。信息中,我们看到一个单位usec,折合0.000001秒钟。那么,两个提示的意思就比较明确了:VKTM进程向前分别跳跃了18秒和1.1秒。规定的跳跃时间是1秒钟。

那么下一个问题是,问题是怎么产生的?我们是否需要介入处理?alter log中一些告警信息是基于数据库诊断规则,警告的内容涵盖内存、安全、存储等多个方面。并不是每一种信息都需要进行处理,很多信息内容都是基于最佳Oracle工作实践的一种建议。

在MOS中,笔者定位到了一篇针对alert log中出现Time Drift提示错误的文章,名称为:Time Drift Detected. Please Check VKTM Trace File for More Details,文章编号:ID 1347586.1。

在文章中,Oracle认为这个错误在11.2.0.2到11.2.0.3之间会不断地出现,已经在11.2.0.4版本中被修复。Bug编号为:11837095 “TIME DRIFT DETECTED” APPEARS INTERMITTENTLY IN ALERT LOG, THO’ EVENT 10795 SET。

如果需要对该Bug进行单独修复,需要进行补丁patch 11837095操作。之后通过设置等待事件10795来进行控制。

alter system set event=“10795 trace name context forever, level 2” scope=spfile;

这种错误的潜在影响,MOS文章中的解释如下:

Impact of the error: The time drifts usually occurring less than 1sec and 5 sec for forward and backward respectively are permissible and OK. If the traces are emitting time drifts of amount beyond these ranges, then it needs to be analyzed. Most of the times, during high loads, there would be issues with underlying OS due to virtual memory, network time protocol improper configuration etc. In general VKTM process need to be scheduled in every 10ms, if due to above reasons this is not happening we see the time drifts and to certain level (mentioned above) are permissible. Eventually, this probably would cause the resource manager to take improper decisions and can lead to a hang in worst case. VKTM process trace file can be found under bdump, However in this case the trace file doesn’t contain useful information, Which makes the message ambiguous.

大部分情况下,由于系统高负载或者内存调度配置有问题,VKTM的每10ms作业会有问题,可能会出现1-5秒的Drift漂移。如果这种现象出现很频繁,就需要整体考虑操作系统和数据库配置问题。VKTM出现漂移,可能会影响到resource manager的工作情况。

3.结论 VKTM是Oracle 11g中新引入的一个后台进程。我们在面对alert log中出现的各种奇怪问题的时候,最好主动咨询一下官方MOS,看看是否有相似的方案解决。小问题尽早解决,才能保证系统不出现大故障。

优惠劵

DBhanG

关注

关注

1

点赞

0

收藏

觉得还不错?

一键收藏

知道了

0

评论

Oracle Warning: VKTM detected a time drift.

集群版本:11.2.0.4 数据库版本:11.2.0.4文章来自:https://www.linuxidc.com/Linux/2016-03/128903.htm时间是包括数据库系统在内的诸多信息系统基础件的重要因素。对于运行在操作系统OS之上的中间件组件而言,获取到一个准确、连续和一致的时间非常重要,特别是多节点的环境下。如果没有一个统一的时间管理机制,其上的cluster组件工作是及其困难的。本篇主要介绍Oracle vktm时间后台进程报警的Bug问题。1.从11g VKTM进程谈起对O

复制链接

扫一扫

专栏目录

参与评论

您还未登录,请先

登录

后发表或查看评论

oracle 49152,oracle 12C 奇怪的报错 - Oracle数据库管理 - Oracle数据库数据恢复、性能优化来问问AskMaclean - ParnassusData诗檀软件旗下...

weixin_35985795的博客

04-11

511

Liu Maclean(刘相兵 发表于 2017-7-17 17:46 WARNING: failed to read mirror side 1 of virtual extent 4 logical extent 0 of file 302 in group [5.4 ...刘总,今天的故障,操作系统层面有重启的现象,数据库层面有时间漂移告警,但是无法确认实例挂掉的真正原因。两台windows...

linux中oracle报错信息查询,linux 中定位 oracle alert报错信息

weixin_39602108的博客

04-06

134

参数解释:-C 3:显示ORA- 报错上三行以及下三行信息-n 100:100行中寻找是否有ORA-报错信息[oracle@xiong:/oracle/app/oracle/diag/rdbms/itpuxdb/itpuxdb/trace]$ tail -n 100 alert_itpuxdb.log |grep -C 3 ORA-Time drifts can result in an unex...

Oracle 的 VKTM 进程 - virtual keeper of time

weixin_30781433的博客

12-31

453

在Oracle Database 11g中,VKTM是一个新增的后台进程。这个进程的含义是:

VKTM(virtual keeper of time) is responsible for providing a wall-clock time (updated every second) and reference-time counter (updated every 20 ms and ...

一侧空格引起的小故事

xxjj2003的专栏

01-19

611

同事扩容数据库表空间 在添加表空间 alter tablespace xxx add ' +oradata'; 语句 单引号与 + 号之间多了一个空格,造成数据文件被创建在$ORACLE_HOME/dbs 下

arning: VKTM detected a time drift.

Time drifts can result in an unexpected behavior such as t

Alter Log中VKTM时间drift漂移现象

ciqu9915的博客

12-24

512

时间是包括数据库系统在内的诸多信息系统基础件的重要因素。对于运行在操作系统OS之上的中间件组件而言,获取到一个准确、连续和一致的时间非常重要,特别是多节点的环境下。如果没有一个统一的时间管理机制,其上的cl...

Warning: VKTM detected a time drift.

huangliang0703的专栏

11-09

8256

集群版本:11.2.0.4  数据库版本:11.2.0.4 

文章来自:https://www.linuxidc.com/Linux/2016-03/128903.htm

时间是包括数据库系统在内的诸多信息系统基础件的重要因素。对于运行在操作系统OS之上的中间件组件而言,获取到一个准确、连续和一致的时间非常重要,特别是多节点的环境下。如果没有一个统一的时间管理机制,其上的cluster组件工作...

oracle 获取日期的毫秒_详解Oracle数据库的时钟--VKTM进程

weixin_32743045的博客

12-25

354

概述无意中在Oracle数据库告警日志中发现以下信息:Warning: VKTM detected a time drift.截图如下:看着好像时间方面的进程,查了下网上资料整理如下:VKTM在Oracle Database 11g中,VKTM是一个新增的后台进程。这个进程的含义是:VKTM (virtual keeper of time) is responsible for providing...

ASM Instance Is Reporting “Warning: VKTM detected a time drift” (Doc ID 1678120.1)

sqlora的专栏

10-14

1070

ASM instance is reporting the following warnings on release 11.2.0.4:

Mon May 12 02:45:15 2014Warning: VKTM detected a time drift.

Time drifts can result in an unexpected behavior such as time-outs. ...

oracle时间飘移,Alter Log中VKTM时间drift漂移现象

weixin_35834271的博客

04-03

602

时间是包括数据库系统在内的诸多信息系统基础件的重要因素。对于运行在操作系统OS之上的中间件组件而言,获取到一个准确、连续和一致的时间非常重要,特别是多节点的环境下。如果没有一个统一的时间管理机制,其上的cluster组件工作是及其困难的。本篇主要介绍Oracle vktm时间后台进程报警的Bug问题。1、从11g VKTM进程谈起对Oracle数据库,避免对于操作系统层面时间的调用,维持一个统一稳...

Time drift detected. Please check VKTM trace file for more details

My Oracle Recipe

06-04

9986

Alert 日志中重复出现如下信息

Time drift detected. Please check VKTM trace file for more details.

 

环境如下

OS VERSION: AIX 6.1

DB VERSION:Oracle RAC 11.2.0.3.0

 

VKTM 的trace f

Warning: VKTM detected a time stall. 

sqlora的专栏

01-11

1567

2021-01-11T16:28:07.192622+08:00

Warning: VKTM detected a time stall.

Time drifts can result in unexpected behavior such as time-outs.

Please see the VKTM trace file for more details:

/oracle/app/oracle/diag/rdbms/cis/cis1/trace/cis1_vktm_50859.trc

2021-..

VKTM导致ASMB终止导致ORALCE实例宕

wzw_dba的博客

07-03

6973

昨天在查看数据库备份情况时,查看日志发现:

RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process

archived log file name=+DATA/iokbl/archivelog/2015_06_24/thread_1_seq_595.499.8832

MGMTDB的alert日志报错ORA-12012 ORA-08103

sqlora的专栏

07-15

726

[grid@rac1 rac1]$ cd $ORACLE_BASE/diag

[grid@rac1 diag]$ ls

afdboot apx asm asmtool bdsql clients crs diagtool dps em gsm ios lsnrctl netcman ofm plsql plsqlapp rdbms tnslsnr

[grid@rac1 diag]$ cd rdbms

[grid@rac1 rdbms]$ ls

_mgmtdb

[grid@...

oracle时间飘移,12.2双机rac,VKTM时间drift漂移

weixin_28693309的博客

04-03

380

2019-03-25T08:00:01.412940+08:00Warning: VKTM detected a time stall.Time drifts can result in unexpected behavior such as time-outs.Please see the VKTM trace file for more details:/u01/app/oracle/diag...

RAC环境下NTP导致的VKTM detected a time drift

heavenmouse的专栏

11-27

5153

今天巡检某行生产库,一套RAC的2节点ALERT日志中报错

 

Thu Nov 22 06:30:28 2014

Time drift detected. Please check VKTM trace file for more details.

Thu Nov 22 07:30:30 2014

Time drift detected. Please check VKTM trace

【RAC】因系统时间设置不当,造成RAC一节点集群资源及数据库关闭

crygaj7140的博客

02-19

348

下午接到一个同事电话,说一体机(RAC)第二个节点数据库连不上了,让我帮忙看看。我便登上系统,在第一个节点查看信息,如下

点击(此处)折叠或打开

...

oracle 服务器名(vktm),请教个VKTM问题,在线等待.....

weixin_29801567的博客

04-12

486

本帖最后由 min_dan 于 2012-9-14 10:14 编辑今天检查oracle告警日志发现个vktm的问题,请问是什么原因引起的。oracle11.2.0.3单实例 rhel5.4 x64Fri Sep 14 00:26:01 2012Time drift detected. Please check VKTM trace file for more details.Fri Sep 14...

VKTM进程消耗大量CPU的问题

weixin_33739627的博客

03-19

188

11g中引入了VKTM后台进程,VKTM是virtual keeper of time的缩写,该进程负责提供时钟时间(每秒更新一次)以及参考时间服务(每20ms更新一次,仅在进程高优先级情况下可用),该参考时间服务用于各种基于时间间隔的度量。  VKTM在SGA中发布这些计时信息,以便各种RDBMS Client可以廉价和快速了解时间信息。Wall-clock 时钟时间每一秒更新一次且单调递增。 ...

“相关推荐”对你有帮助么?

非常没帮助

没帮助

一般

有帮助

非常有帮助

提交

DBhanG

CSDN认证博客专家

CSDN认证企业博客

码龄5年

暂无认证

155

原创

17万+

周排名

53万+

总排名

22万+

访问

等级

2042

积分

673

粉丝

83

获赞

22

评论

712

收藏

私信

关注

热门文章

Oracle 史上最详细的分区表详解

17365

Oracle vm_concat函数的前世今生

8110

Oracle grant all privileges to user

6399

Oracle RAC集群三种心跳机制

5164

Oracle DG环境下db_file_name_convert的实际意义

4982

分类专栏

Oracle SQL优化案例与测试

3篇

Oracle CBO优化器

4篇

最新评论

Oracle 19c使用DBlink连接Mysql8.0

koko.1024:

试了下,发现查询的效率很低。还出现了少字段的情况。

Oracle DataGuard基于SCN的增量恢复

墨蒹葭城:

备库查询最下SCN不对吧,备库默认状态不就是read only 状态吗

Oracle 史上最详细的分区表详解

三文鱼先生:

索引只有中小型表作用才明显 对于大表或者小表 作用有限

Oracle 收集业务用户以及迁移后的数据校验

石榴花上:

这个也不完全准确

Oracle 准确估算数据泵导出数据大小

Forestswolf:

这个文章的是不是意味着,采用estimate=statistics 进行估算,总是更接近于导出的实际文件大小呢

您愿意向朋友推荐“博客详情页”吗?

强烈不推荐

不推荐

一般般

推荐

强烈推荐

提交

最新文章

Oracle SQL多表关联索引优化案例

Oracle 大表回表过滤优化案例

Oracle VIEW PUSHED PREDICATE案例分析

2021年36篇

2020年126篇

目录

目录

分类专栏

Oracle SQL优化案例与测试

3篇

Oracle CBO优化器

4篇

目录

评论

被折叠的  条评论

为什么被折叠?

到【灌水乐园】发言

查看更多评论

添加红包

祝福语

请填写红包祝福语或标题

红包数量

红包个数最小为10个

红包总金额

红包金额最低5元

余额支付

当前余额3.43元

前往充值 >

需支付:10.00元

取消

确定

下一步

知道了

成就一亿技术人!

领取后你会自动成为博主和红包主的粉丝

规则

hope_wisdom 发出的红包

实付元

使用余额支付

点击重新获取

扫码支付

钱包余额

0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。 2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值

RAC环境下NTP导致的VKTM detected a time drift_time drift oracle-CSDN博客

>

RAC环境下NTP导致的VKTM detected a time drift_time drift oracle-CSDN博客

RAC环境下NTP导致的VKTM detected a time drift

最新推荐文章于 2023-04-20 19:36:46 发布

肚皮猪

最新推荐文章于 2023-04-20 19:36:46 发布

阅读量5.1k

收藏

1

点赞数

分类专栏:

ora错误

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

本文链接:https://blog.csdn.net/heavenmouse/article/details/41552895

版权

ora错误

专栏收录该内容

16 篇文章

0 订阅

订阅专栏

今天巡检某行生产库,一套RAC的2节点ALERT日志中报错

 

Thu Nov 22 06:30:28 2014 Time drift detected. Please check VKTM trace file for more details. Thu Nov 22 07:30:30 2014 Time drift detected. Please check VKTM trace file for more details. Thu Nov 22 08:30:31 2014 Time drift detected. Please check VKTM trace file for more details.

 

检查两节点时间,相差5秒。

查询MOS,发现11.2.0.2上会有相应BUG,该库为11.2.0.3版本,排除BUG的问题。

ORACLE对于VKTM的解释为

VKTM (virtual keeper of time) is responsible for providing a wall-clock time (updated every second) and reference-time counter (updated every 20 ms and available only when running at elevated priority).

 

由此判断节点与NTP同步上有问题,添加crontab,每半天运行同步一次。

 

在此说个题外话,NTP在RAC层面很重要,如果NTP服务器出现间断性不正常,会导致RAC节点间歇性MINI DUMP。

 

特此记录

 

优惠劵

肚皮猪

关注

关注

0

点赞

1

收藏

觉得还不错?

一键收藏

知道了

0

评论

RAC环境下NTP导致的VKTM detected a time drift

今天巡检某行生产库,一套RAC的2节点ALERT日志中报错 Thu Nov 22 06:30:28 2014Time drift detected. Please check VKTM trace file for more details.Thu Nov 22 07:30:30 2014Time drift detected. Please check VKTM trace

复制链接

扫一扫

专栏目录

参与评论

您还未登录,请先

登录

后发表或查看评论

修改主机时间导致实例重启

kevinyu998的博客

04-20

603

昨晚检查一套11g rac环境,发现节点二比北京时间晚4分钟多点,之前也遇到过多次,10分钟以内直接修改没出过问题,这次也没有多想直接date修改了,导致orcl宕机重启了,非工作时间客户也没有多说,今后需要吸取教训,

Warning: VKTM detected a time drift.

huangliang0703的专栏

11-09

8256

集群版本:11.2.0.4  数据库版本:11.2.0.4 

文章来自:https://www.linuxidc.com/Linux/2016-03/128903.htm

时间是包括数据库系统在内的诸多信息系统基础件的重要因素。对于运行在操作系统OS之上的中间件组件而言,获取到一个准确、连续和一致的时间非常重要,特别是多节点的环境下。如果没有一个统一的时间管理机制,其上的cluster组件工作...

dump数据库oracle,ORACLE SYSTEMDUMP分析

weixin_39607423的博客

04-04

252

ORACLE SYSTEMDUMP分析某日一数据库已经hang住不动了,数据库的版本是oracle 12.1.0.1.发现通过sqlplus正常的连接已经无法使用了.整个实例hang住了,如下[oracle@rac1 ~]$ sqlplus /nologSQL*Plus: Release 12.1.0.1.0 Production on Sun Jul 20 01:41:11 2014Copyri...

linux中oracle报错信息查询,linux 中定位 oracle alert报错信息

weixin_39602108的博客

04-06

134

参数解释:-C 3:显示ORA- 报错上三行以及下三行信息-n 100:100行中寻找是否有ORA-报错信息[oracle@xiong:/oracle/app/oracle/diag/rdbms/itpuxdb/itpuxdb/trace]$ tail -n 100 alert_itpuxdb.log |grep -C 3 ORA-Time drifts can result in an unex...

oracle时间飘移,Alter Log中VKTM时间drift漂移现象

weixin_35834271的博客

04-03

602

时间是包括数据库系统在内的诸多信息系统基础件的重要因素。对于运行在操作系统OS之上的中间件组件而言,获取到一个准确、连续和一致的时间非常重要,特别是多节点的环境下。如果没有一个统一的时间管理机制,其上的cluster组件工作是及其困难的。本篇主要介绍Oracle vktm时间后台进程报警的Bug问题。1、从11g VKTM进程谈起对Oracle数据库,避免对于操作系统层面时间的调用,维持一个统一稳...

oracle 获取日期的毫秒_详解Oracle数据库的时钟--VKTM进程

weixin_32743045的博客

12-25

354

概述无意中在Oracle数据库告警日志中发现以下信息:Warning: VKTM detected a time drift.截图如下:看着好像时间方面的进程,查了下网上资料整理如下:VKTM在Oracle Database 11g中,VKTM是一个新增的后台进程。这个进程的含义是:VKTM (virtual keeper of time) is responsible for providing...

Alter Log中VKTM时间drift漂移现象

ciqu9915的博客

12-24

512

时间是包括数据库系统在内的诸多信息系统基础件的重要因素。对于运行在操作系统OS之上的中间件组件而言,获取到一个准确、连续和一致的时间非常重要,特别是多节点的环境下。如果没有一个统一的时间管理机制,其上的cl...

Oracle RAC模式下如何部署NTP.docx

12-29

如果说你手边有两台服务器是ORACLE 的RAC模式,简单的说就是两台主机上跑着一个数据库,那么对于数据库来说时间的准确性是尤为重要的。毕竟如果时间不一致,就会导致数据库出现脑裂的情况。举个例子,主机1和主机2差...

Oracle RAC环境下的阻塞(blocking blocked)介绍和实例演示

01-21

RAC环境下的阻塞不同于单实例情形,因为我们需要考虑到位于不同实例的session。也就是说之前查询的v$session,v$lock相应的应变化为全局范围来查找。本文提供了2个查询脚本,并给出实例演示那些session为阻塞者,...

ORACLE RAC环境下节点自动重启问题总结

01-21

首先我们对能够导致节点重启的CRS进程进行介绍。  1.ocssd : 它的主要功能是节点监控(Node Monitoring)和组管理(Group Management),它是CRS的核心进程之一。节点监控是指监控集群中节点的健康状况,监控的方法...

expdp排除特定用户的特定表

heavenmouse的专栏

12-09

7507

用户今天问了一个expdp的问题,导出8个用户下的所有表,排除A用户下的某张表,但是在其它用户下也有相同的表名,用户使用了expdp 的exclude参数,

directory=dumpdir

dumpfile=expdp_schema_others_20141208.dmp

schemas=sync,settlement,risk,fbtransfer,fbtransferhistory

ora-16433的处理思路

heavenmouse的专栏

12-21

5123

在给一个生产库做灾难恢复的过程中,recover database报错

SQL> recover database;

 ORA-00283: recovery session canceled due to errors

 ORA-16433: The database must be opened in read/write mode.

 

该库无备份无归档,意外掉电,所以走到这步必须

TNS-12518: TNS:listener could not hand off client connection & Broken pipe

heavenmouse的专栏

11-29

1983

一个很有意思的CASE,早上接报某用户的核心生产部分业务中断,无法连接。该用户为4节点RAC,后现场工程师修改WAS指向除第一节点意外其他节点,业务恢复正常。

到了现场后常规流程,做AWR的时候发现出了BUG,enq-wf contention,无法获取AWR报告,检查等待事件,节点1一切正常。ALERT日志无错误。

VMSTAT显示节点压力较大。用户DBA表示昨晚OGG有过部分进程僵

ORA 7445 [V_vsnprintf()]

heavenmouse的专栏

11-24

1268

今天巡检某高校的库时在LOG中发现07445

 

Ensure that the RMAN process is not killed during backup.

低版本使用dblink连接11G版本时报错ora-02063/ora-01017

heavenmouse的专栏

12-04

1254

一回家,某运营商电话至,创建dblink报错ora-02063/ora-01017 

关于这个BUG,遇到不是一次了,ORACLE对于该BUG 描述如下

Bug 6738104: ORA-01017 ORA-02063 WHILE CONNECTING FROM10G TO 11G VIA PUBLIC DBLINK

 

Cause

The following Bug 6738104 w

rac环境下怎么通过spfile生成pfile

最新发布

05-25

在RAC环境下,可以通过以下步骤使用SPFILE生成PFILE:

1. 确定当前实例的实例名和节点名称:

```

$ srvctl status database -d

```

2. 登录到任一节点的数据库实例中,使用以下命令将SPFILE转换为PFILE:

```

SQL> CREATE PFILE='' FROM SPFILE;

```

其中,``是指定生成PFILE的文件路径和文件名。

3. 将生成的PFILE文件复制到其他节点上,该节点的实例也将使用此PFILE。

注意:如果您使用的是ASM存储,则需要使用`+ASM`路径来指定PFILE的路径。另外,如果您在使用SPFILE时进行了更改,则必须在生成PFILE之前重新启动数据库实例,以确保更改已保存到SPFILE中。

“相关推荐”对你有帮助么?

非常没帮助

没帮助

一般

有帮助

非常有帮助

提交

肚皮猪

CSDN认证博客专家

CSDN认证企业博客

码龄11年

暂无认证

27

原创

27万+

周排名

125万+

总排名

5万+

访问

等级

831

积分

3

粉丝

6

获赞

2

评论

19

收藏

私信

关注

热门文章

kkjcre1p: unable to spawn jobq slave process的排查思路

8376

expdp排除特定用户的特定表

7507

RAC环境下NTP导致的VKTM detected a time drift

5153

ora-16433的处理思路

5123

DNS服务导致的SQLPLUS登陆缓慢

2028

分类专栏

ora错误

16篇

AIX类

1篇

案例分析

7篇

oracle安装文档

2篇

ogg简单维护

1篇

最新评论

expdp排除特定用户的特定表

手撕煎饼:

这样写虽然未导出数据,但是却把表导出了吧

DNS服务导致的SQLPLUS登陆缓慢

yebai:

xuexile!!!!

您愿意向朋友推荐“博客详情页”吗?

强烈不推荐

不推荐

一般般

推荐

强烈推荐

提交

最新文章

使用function 限制ORACLE用户密码长度

使用sqlprofile固定与迁移执行计划

ora-16433的处理思路

2015年1篇

2014年29篇

目录

目录

分类专栏

ora错误

16篇

AIX类

1篇

案例分析

7篇

oracle安装文档

2篇

ogg简单维护

1篇

目录

评论

被折叠的  条评论

为什么被折叠?

到【灌水乐园】发言

查看更多评论

添加红包

祝福语

请填写红包祝福语或标题

红包数量

红包个数最小为10个

红包总金额

红包金额最低5元

余额支付

当前余额3.43元

前往充值 >

需支付:10.00元

取消

确定

下一步

知道了

成就一亿技术人!

领取后你会自动成为博主和红包主的粉丝

规则

hope_wisdom 发出的红包

实付元

使用余额支付

点击重新获取

扫码支付

钱包余额

0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。 2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值

12.2双机rac,VKTM时间drift漂移 - 墨天轮

12.2双机rac,VKTM时间drift漂移 - 墨天轮

排行 数据库百科 核心案例 行业报告 月度解读 大事记 产业图谱

中国数据库

向量数据库

时序数据库

实时数据库

搜索引擎

空间数据库

图数据库

数据仓库

大调查

2021年报告

2022年报告

年度数据库

2020年openGauss

2021年TiDB

2022年PolarDB

2023年OceanBase

首页

资讯

数说

活动

大会

学习 课程中心 推荐优质内容、热门课程学习路径 预设学习计划、达成学习目标知识图谱 综合了解技术体系知识点课程库 快速筛选、搜索相关课程视频学习 专业视频分享技术知识电子文档 快速搜索阅览技术文档文档

问答

工具 SQLRUN 在线数据库即时SQL运行平台数据库在线实训平台 实操环境、开箱即用、一键连接AWR分析 上传AWR报告,查看分析结果SQL格式化 快速格式化绝大多数SQL语句SQL审核 审核编写规范,提升执行效率PLSQL解密 解密超4000字符的PL/SQL语句OraC函数 查询Oracle C 函数的详细描述智能助手小墨 关于数据库相关的问题,您都可以问我 数据库百科核心案例行业报告月度解读大事记产业图谱我的订单

登录后可立即获得以下权益 免费培训课程 收藏优质文章 疑难问题解答 下载专业文档 签到免费抽奖 提升成长等级 立即登录 登录 注册 登录 注册 首页资讯数说活动大会课程文档排行问答我的订单 微信扫码 复制链接 新浪微博 分享数说 采集到收藏夹 分享到数说 首页 /

12.2双机rac,VKTM时间drift漂移 12.2双机rac,VKTM时间drift漂移 原创 问题归档 2019-04-14 3916 问题描述 2019-03-25T08:00:01.412940+08:00Warning: VKTM detected a time stall.Time drifts can result in unexpected behavior such as time-outs.Please see the VKTM trace file for more details:/u01/app/oracle/diag/rdbms/db/db/trace/db_vktm_63714.trc两节点ntp服务已关闭# service ntpd statusntpd is stoppedTrace file /u01/app/oracle/diag/rdbms/db/db/trace/db_vktm_63714.trcOracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit ProductionBuild label:    RDBMS_12.2.0.1.0_LINUX.X64_170125ORACLE_HOME:    /u01/app/oracle/product/12.2.0/db1System name: LinuxNode name: db1Release: 2.6.32-573.el6.x86_64Version: #1 SMP Thu Jul 23 15:44:03 UTC 2015Machine: x86_64Instance name: db12Redo thread mounted by this instance: 0Oracle process number: 6Unix process pid: 63714, image: oracle@db12 (VKTM)*** 2019-02-10T15:09:46.168294+08:00 (CDB$ROOT(1))*** CLIENT ID:() 2019-02-10T15:09:46.168349+08:00*** SERVICE NAME:() 2019-02-10T15:09:46.168357+08:00*** MODULE NAME:() 2019-02-10T15:09:46.168363+08:00*** ACTION NAME:() 2019-02-10T15:09:46.168372+08:00*** CLIENT DRIVER:() 2019-02-10T15:09:46.168379+08:00[kji_attach][LMON !running, !call kjual]*** SESSION ID:(727.45771) 2019-02-10T15:09:46.172975+08:00*** SERVICE NAME:() 2019-02-10T15:09:46.172994+08:00*** CONTAINER ID:(1) 2019-02-10T15:09:46.173001+08:00kstmmainvktm: succeeded in setting elevated priorityhighres_enabledVKTM running at (1)millisec precision with DBRM quantum (100)ms[Start] HighResTick = 75394510316kstmrmtickcnt = 0 : ksudbrmseccnt[0] = 1549782586kstmchkdrift (kstmhighrestimecntkeeper:lowres): Time moved backward by (68)microsecs at 1550713032*** 2019-02-21T09:36:10.411244+08:00 (CDB$ROOT(1))kstmchkdrift (kstmhighrestimecntkeeper:lowres): Time moved backward by (62)microsecs at 1550713032kstmchkdrift (kstmhighrestimecntkeeper:lowres): Time moved backward by (56)microsecs at 1550713032kstmchkdrif怎么解决? 专家解答 可以尝试调整该功能:In general VKTM process need to be scheduled in every 10ms, if due to above reasons this is not happening, occurs less than 1sec and 5 sec then it is permissible.Eventually, this probably would cause the resource manager to take improper decisions and can lead to a hang in worst case.If the time drifts occurs less than 1sec and 5 sec for forward and backward respectively, then it is permissible and OK.alter system set event="10795 trace name context forever, level 2" scope=spfile;alter system set "_disable_highres_ticks"=true scope=spfile;_timer_precision = 500 oracle 最后修改时间:2019-04-14 14:33:25 「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」 关注作者 赞赏 【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。 评论 领墨值 有奖问卷 意见反馈 客服小墨

Oracle 的 VKTM 进程 - virtual keeper of time - TIMLONG - 博客园

Oracle 的 VKTM 进程 - virtual keeper of time - TIMLONG - 博客园

会员

周边

新闻

博问

AI培训

云市场

所有博客

当前博客

我的博客

我的园子

账号设置

简洁模式 ...

退出登录

注册

登录

TIM

敬畏理想,相信未来。

博客园

首页

新随笔

联系

订阅

管理

Oracle 的 VKTM 进程 - virtual keeper of time

在Oracle Database 11g中,VKTM是一个新增的后台进程。这个进程的含义是:

VKTM (virtual keeper of time) is responsible for providing a wall-clock time (updated every second) and reference-time counter (updated every 20 ms and available only when running at elevated priority).

也就是说,这个进程用于提供一个数据库的时钟,每秒更新;或者作为参考时间计数器,这种方式每20毫秒更新一次,仅在高优先级时可用。

在系统时间出现异常或变化时,VKTM进程还会检测这些变化,提醒用户,尤其是在RAC环境中,时间的偏移和变化极有可能导致系统故障。以下是告警日志中的警告信息:

Warning: VKTM detected a time drift.Time drifts can result in an unexpected behavior such as time-outs. Please check trace file for more details.

通过VKTM进程,数据库可以降低和操作系统的交互,Kamus的解释是:

在11g之前所有的Oracle数据库后台或者前台进程如果需要获得当前时间信息,就需要调用操作系统的gettimeofday()函数或者说是相类似的函数。而VKTM进程就是专门用来获得时间信息然后将信息存放在SGA中供其它进程使用,这样其它进程当需要时间信息的时候,只要到SGA的某个内存位置去获得就好,而不用频繁调用gettimeofday()函数。毫无疑问,这样效率会更高。在RAC测试中,Oracle 1.1.0.6版本LMSx进程获取时间信息时,可以从VKTM进程中获益大概70%的速度提升,而11.1.0.7将会更高。同时,因为gettimeofday()函数也引发了很多bug,所以无论是RAC还是NORAC库,都将从VKTM进程中获益。

posted @

2016-12-31 12:53 

TIMLONG 

阅读(671) 

评论(0) 

编辑 

收藏 

举报

会员力量,点亮园子希望

刷新页面返回顶部

公告

Copyright © 2024 TIMLONG

Powered by .NET 8.0 on Kubernetes

3167361 - VKTM detected a forward time drift | SAP Knowledge Base Article

3167361 - VKTM detected a forward time drift | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

3167361 - VKTM detected a forward time drift

Symptom

The following error and warning happens in alert log:

Tue Jan 04 15:46:29 2022Warning: VKTM detected a forward time drift. Tue Jan 04 15:46:29 2022WARNING: ASMB has not responded for 286 secondsNOTE: ASM umbilicus running slower than expected, ASMB diagnostic requested after 286 secondsTue Jan 04 15:46:30 2022Time drifts can result in unexpected behavior such as time-outs. Please see the VKTM trace file for more details:/oracle//saptrace/diag/rdbms///trace/_vktm_9222.trc

Read more...

Environment

SAP on Oracle

Product

SAP NetWeaver 7.4

Keywords

VKTM , KBA , BC-DB-ORA , Oracle , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login

required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.

Legal

Privacy |

Terms of use |

Legal Disclosure |

Copyright |

Trademark

Follow

Time Drift Detected. Please Check VKTM Trace File for More Details

Time Drift Detected. Please Check VKTM Trace File for More Details

 

Time Drift Detected. Please Check VKTM Trace File for More Details

(Doc ID 1347586.1)

Last updated on OCTOBER 02, 2023Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterInformation in this document applies to any platform.

Goal

Below message keeps repeating in Alert-log.

  

Solution

Sign In

To view full details, sign in with your My Oracle Support account.

Register

Don't have a My Oracle Support account? Click to get started!

In this Document

Goal

Solution

References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.

Oracle offers a comprehensive and fully integrated stack of cloud applications and platform services. For more information about Oracle (NYSE:ORCL), visit oracle.com.

� Oracle | Contact and Chat | Support | Communities | Connect with us | | | | Legal Notices | Terms of Use

VKTM Detected A Time Drift On PROD

VKTM Detected A Time Drift On PROD

 

VKTM Detected A Time Drift On PROD

(Doc ID 2852075.1)

Last updated on APRIL 17, 2023Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and laterInformation in this document applies to any platform.

Symptoms

The customer identify issues with disconnections due vktm process

Changes

 

Cause

Sign In

To view full details, sign in with your My Oracle Support account.

Register

Don't have a My Oracle Support account? Click to get started!

In this Document

Symptoms

Changes

Cause

Solution

References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.

Oracle offers a comprehensive and fully integrated stack of cloud applications and platform services. For more information about Oracle (NYSE:ORCL), visit oracle.com.

� Oracle | Contact and Chat | Support | Communities | Connect with us | | | | Legal Notices | Terms of Use