当前位置:网站首页>CURRENT_TIMESTAMP(6) 函数是否存在问题?
CURRENT_TIMESTAMP(6) 函数是否存在问题?
2022-08-10 11:45:00 【大明_数据库_指挥使】
请教下 MYSQL ON UPDATE CURRENT_TIMESTAMP(6) 的CURRENT_TIMESTAMP(6) 函数是否像TIMESTAMP字段类型一样有2038年限制,还有时区转换成本?
采纳答案1:
同样有限制;
实验见真理,希望对你有所帮助,如有帮助,请点击采纳,谢谢
其他答案1:
同样有限制;
实验见真理,希望对你有所帮助,如有帮助,请点击采纳,谢谢
其他答案2:
我用8.0做了测试。也有这个问题。
其他答案3:
截图来自以下网址:
https://www.modb.pro/db/130918
希望对你有所帮助
其他答案4:
这么说来 MYSQL 2038年全限制的
另外个 是否会有时区转换操作?
其他答案5:
又再次2次实验,把系统时间改成2038以后,整个mysql 数据库就崩了,应该是mysql 里面用到时间戳了,导致mysql 崩了。不知道别的版本是不是修复了这个问题。
我现在只有5.6版的。
其他答案6:
请教下 MYSQL ON UPDATE CURRENT_TIMESTAMP(6) 的CURRENT_TIMESTAMP(6) 函数是否像TIMESTAMP字段类型一样有时区转换成本? 比如说时区设置为SYSTEM
https://mp.weixin.qq.com/s/AtyaIP92L6KnZFB9bQA3ug
MySQL参数 time_zone 导致线上sys cpu高
其他答案7:
之个文章的结论说的很清楚是因为time_zone = system 才导致的分区转换。
建议用datetime 替换TIMESTAMP;
内容截取:https://wenku.baidu.com/view/efc469e0b84cf7ec4afe04a1b0717fd5370cb24d.html
边栏推荐
- LeetCode 146. LRU 缓存
- 太香了!自从用了这款接口神器,我的团队效率提升了 60%!
- LCD驱动端与设备端名称匹配过程分析(Tiny4412)
- 面试美团被问到了Redis,搞懂这几个问题,让你轻松吊打面试官
- Analysis of the name matching process between the LCD driver and the device (Tiny4412)
- StoneDB Document Bug Hunting Season 1
- HDU 6040 Hints of sd0061 (技巧)
- LeetCode 237. Delete a node in a linked list
- HDU 4135:Co-prime (容斥原理)
- 嘉为蓝鲸荣获工信部“数字技术融合创新应用解决方案”
猜你喜欢
再有人问你分布式事务,把这篇扔给他
ViT结构详解(附pytorch代码)
three.js blur glass effect
第5章 虚拟存储器
OPNsense安装配置Zenarmor
阿里架构师整理一份企业级SSM架构实战文档,让你熟悉底层原理
Network Fundamentals (Section 1)
mpf6_Time Series Data_quandl_correct kernel PCA_AIC_BIC_trend_log_return_seasonal_decompose_sARIMAx_ADFull
How many constants and data types do you remember?
CLIP还能做分割任务?哥廷根大学提出一个使用文本和图像prompt,能同时作三个分割任务的模型CLIPSeg,榨干CLIP能力...
随机推荐
leetcode/两个链表的第一个重合节点
时间序列的数据分析(五):简单预测法
Configuration swagger
堪称神级的阿里巴巴“高并发”教程——基础+实战+源码+面试+架构 全包了
HDU 4372:Count the Buildings (Stirling数)
LeetCode 92. 反转链表 II
Not just running away, but saving the guy who mishandled rm -rf /*
有哪些好用的性能测试工具推荐?性能测试报告收费标准
Licking Exercise - 58 Verifying Binary Search Trees
LeetCode 362. Design Hit Counter
因为找不到lombok而找不到符号log
LeetCode 61. 旋转链表
LeetCode 19. Delete the Nth last node of the linked list
Accumulated and thin hair!Safety Dog has once again obtained the certification of scientific and technological achievements transformation!
mpf6_Time Series Data_quandl_correct kernel PCA_AIC_BIC_trend_log_return_seasonal_decompose_sARIMAx_ADFull
Network sockets (UDP and TCP programming)
HDU 4135: Co-prime (the principle of inclusion and exclusion)
Buckle exercise - rectangular area does not exceed the maximum value of K and (hard)
Excel function formulas - LOOKUP function
Excel函数公式大全—HLOOKUP函数