当前位置:网站首页>TiDB 工具适用场景
TiDB 工具适用场景
2022-07-30 14:50:00 【添香小铺】
本文档从数据迁移工具的适用场景出发,介绍部分常见场景下的迁移工具的选择。
在物理机或虚拟机上部署运维 TiDB
当需要在物理机或虚拟机上部署运维 TiDB 时,你可以先安装 TiUP,再通过 TiUP 管理 TiDB 的众多组件,如 TiDB、PD、TiKV 等。
在 Kubernetes 上部署运维 TiDB
当需要在 Kubernetes 上部署运维 TiDB 时,你可以先创建 Kubernetes 集群,部署TiDB Operator,然后使用 TiDB Operator 部署运维 TiDB 集群。
从 CSV 导入数据到 TiDB
当需要将其他工具导出的格式兼容的 CSV files 导入到 TiDB 时,可使用 TiDB Lightning。
从 MySQL/Aurora 导入全量数据
当需要从 MySQL/Aurora 导入全量数据时,可先使用 Dumpling 将数据导出为 SQL dump files,然后再使用 TiDB Lightning 将数据导入到 TiDB 集群。
从 MySQL/Aurora 迁移数据
当既需要从 MySQL/Aurora 导入全量数据,又需要迁移增量数据时,可使用 TiDB Data Migration (DM) 完成从 Amazon Aurora 迁移数据到 TiDB。
如果全量数据量较大(TB 级别),则可先使用 Dumpling 与 TiDB Lightning 完成全量数据的迁移,再使用 DM 完成增量数据的迁移。
TiDB 集群备份与恢复
当需要对 TiDB 集群进行备份或在之后对 TiDB 集群进行恢复时,可使用 BR。
另外,BR 也可以对 TiDB 的数据进行增量备份和增量恢复。
迁出数据到 TiDB
当需要将 TiDB 集群的数据迁出到其他 TiDB 集群时,可使用 Dumpling 从 TiDB 将全量数据导出为 SQL dump files,然后再使用 TiDB Lightning 将数据导入到 TiDB。
如果还需要执行增量数据的迁移,则可使用 TiDB Binlog。
TiDB 增量数据订阅
当需要订阅 TiDB 增量数据的变更时,可使用 TiDB Binlog。
边栏推荐
- JVM性能调优
- 定时任务 corn
- Fink异步IO的实战(关联维表)
- 有关收集箱的改进建议
- Kubernetes应用管理深度剖析
- Metaverse Post Office AI space-themed series of digital collections will be launched at 10:00 on July 30th "Yuanyou Digital Collection"
- Debug - Notes
- 微服务该如何拆分?
- Mysql数据库查询好慢,除了索引,还能因为什么?
- [Enlightenment by Opportunity-53]: "Sushu"-3- Self-cultivation and Self-cultivation
猜你喜欢
嵌入式开发:嵌入式基础知识——正确启动固件项目的 10 条建议
Go to Tencent for an interview and let people turn left directly: I don't know idempotency!
SQL 优化这么做就对了!
Memory-mapped, bit-band operations
English语法_不定代词 - both / either / neither
The evolution of content products has three axes: traffic, technology, and product form
Mac 中 MySQL 的安装与卸载
关于MySQL主从复制的数据同步延迟问题
Mysql database query is very slow. Besides the index, what else can be caused?
ECCV2022 | FPN错位对齐,实现高效半监督目标检测 (PseCo)
随机推荐
Alluxio为Presto赋能跨云的自助服务能力
MongoDB starts an error Process: 29784 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=14)
Flink本地UI运行
我们公司用了 6 年的网关服务,动态路由、鉴权、限流等都有,稳的一批!
Flink优化
存储器映射、位带操作
GeoServer
有关收集箱的改进建议
软件包 - 笔记
极验深知v2分析
编译、链接 - 笔记 - 3
数字量输入模块io
JUC common thread pool source learning 02 ( ThreadPoolExecutor thread pool )
The evolution of content products has three axes: traffic, technology, and product form
数据库日期类型字段设计,应该如何选择?
Redis 缓存穿透、击穿、雪崩以及一致性问题
How to split microservices?
Sleuth+Zipkin(可视化) 服务链路追踪
JVM performance tuning
Introduction to golang image processing library image