首页 > 数据库 > Oracle > Oracle 客户端和服务器时间不一致-小忆
环境:
数据库:Oracle 19.7 RAC LINUX (虚拟机)
客户端:windows 10(虚拟机所在的平台)11.2.0.1 客户端 10.0.4.1708 (32位)
现象:
数据库和服务器时间:



数据库 alert_$ORACLE_SID.log 显示时间:

客户端数据库时间和系统时间:


现象描述:
数据库查询时间:2021-02-05 08:56:43
服务器 时间:2021-02-05 09:19:45
客户端数据库时间:2021-02-04 21:19:21
客户端windows 时间:2021-02-05 09:22:15
从上面我们可以发现通过客户端PL/SQL 查询时间和当前其他时间相差12个小时左右,我们忽略分秒的差距。
Database Alert.log or ASM Alertlog File Showing Wrong Date or Wrong Datetime or Wrong time (Doc ID 1557371.1)
Dates & Calendars - Frequently Asked Questions (Doc ID 227334.1)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26342786/viewspace-2756259/ ,如需转载,请注明出处,否则将追究法律责任。