当前位置:网站首页>DTS迁移秘籍-MySQL篇
DTS迁移秘籍-MySQL篇
2022-06-22 05:06:00 【帅ちいさい宝】
DTS迁移秘籍-MySQL篇
DM技术交流QQ群:940124259
一、前言
为了摆脱严重依赖海外软件和硬件,现今国产化发展趋势迅猛,从芯片、操作系统、中间件、数据库等各领域国产化适配和移植动作已持续数年,各个领域的业务系统运行一切正常,说明如今的国产软硬件的替代方案可行,成熟、稳定。
本人原先主要是搞Oracle/MySQL数据库运维,现职于达梦数据库公司,专注于数据库运维和管理及售前技术,并在国产化数据库替代过程中,处理过众多迁移适配的问题,今此专门为方便大家处理迁移过程产生的错误特此开篇。
此篇文章属于技术知识累积型文档,持续性地文档记录输出,将日常生活中常碰到的问题或以后可能会遇到的问题,整理成一个迁移知识库,方便大家快速检索,对症下药。
本人期望广大网友迁移适配达梦数据库的过程中,遇到的问题截图存档,加入wo的QQ群《DM技术交流QQ群:940124259 》进行分享或上报,为达梦数据库国产化献出一份力量,感激不尽。
二、迁移知识库
001. TIMESTAMP日期时间类型默认值0000-00-00 00:00:00
问题描述:
MySQL数据库允许TIMESTAMP数据类型的字段的默认值为’0000-00-00 00:00:00’,但在DM数据库中被认为是不合法的默认值, DM日期时间类型的取值有效范围: '0001-01-01 00:00:00.000000' 至 '9999-12-31 23:59:59.999999'。
解决手段:
方法1:MySQL源库修改TIMESTAMP类型的字段的默认值,比如:‘0001-01-01 00:00:00.000000’。
方法2:DTS迁移工具中写查询SQL迁移表。
待补充…
边栏推荐
- 数据库---基础知识
- php正则怎么去掉括号内容
- Virtual address space
- What problems will be encountered during the implementation of MES management system
- Geographic location type of redis
- [fault diagnosis] cv2 Imwrite cannot write the picture, but the program does not report an error
- ORA-15063: ASM discovered an insufficient number of disks for diskgroup 恢複---惜分飛
- flink部署模式(一)- standalone和application
- Solve the shortage of developers. Maybe it can help you
- 【故障诊断】切图代码切不出来,slide.read_region不运行,但程序不报错
猜你喜欢

10道不得不会的 Redis 面试题

9 practical shell scripts, recommended collection!

Qt保存QTextEdit内存至.txt文件中

Daemon flow
![[fault diagnosis] CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace B](/img/f3/86bc79d7b2fb0a7f5ab77d5bbbeb18.png)
[fault diagnosis] CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace B

数据库---基础知识

This is a picture

Concurrent programming - thread pool

Web design and production final assignment report -- animator Hayao Miyazaki

8. Gateway request logging
随机推荐
numpy库常用知识整理
招贤纳士-第23期
Lottie components make animation easier
MySQL notes
JUC - thread interrupt and thread waiting and wakeup (locksupport)
IDP depth | what kind of data analysis and mining tools do enterprises need?
Pull down refresh, push up load (easy to use, finally)
C语言字符串的一些使用注意事项
go学习(二、内建容器)
A domestic developer opened the "programmer's Guide to cooking" and became popular!
重构思维系列2-函数及变量
@Conditional use
ORA-15063: ASM discovered an insufficient number of disks for diskgroup 恢複---惜分飛
Graph calculation on nlive:nepal's graph calculation practice
Recruiters - issue 23
下拉刷新,上推加载(简单好用,终于会了)
Compilation des connaissances communes de la base de données numpy
yarn部署模式依赖预上传设置
C语言概念知识扫盲(不定期补充更新)
Go learning (II. Built in container)