当前位置:网站首页>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。
边栏推荐
- 关于MySQL主从复制的数据同步延迟问题
- [In-depth study of 4G/5G/6G topic-46]: 5G Link Adaption Link Adaption-2-Common Abbreviations
- Our company has used gateway services for 6 years, dynamic routing, authentication, current limiting, etc., a stable batch!
- JVM性能调优
- Could not acquire management access for administration
- 面试何惧调优!腾讯技术官私藏的性能优化方案手册,原理实战齐全
- The evolution of content products has three axes: traffic, technology, and product form
- Sleuth+Zipkin(可视化) 服务链路追踪
- localhost with 127.0.0.1
- 分布式限流 redission RRateLimiter 的使用及原理
猜你喜欢

基于FPGA的DDS任意波形输出

canal scrape data

Delayed message queue

About the data synchronization delay of MySQL master-slave replication

我们公司用了 6 年的网关服务,动态路由、鉴权、限流等都有,稳的一批!

Mysql数据库查询好慢,除了索引,还能因为什么?

(Crypto必备干货)详细分析目前NFT的几大交易市场

Excel uses Visual Basic Editor to modify macros

Lock wait timeout exceeded解决方案

【云原生 • DevOps】influxDB、cAdvisor、Grafana 工具使用详解
随机推荐
English语法_不定代词 - both / either / neither
延时消息队列
[Cloud native] Grayscale release, blue-green release, rolling release, grayscale release explanation
1700. 无法吃午餐的学生数量
71页全域旅游综合整体解决方案2021 ppt
100w的数据表比1000w的数据表查询更快吗?
MaxWell抓取数据
Flink优化
The evolution of content products has three axes: traffic, technology, and product form
Flink实时数仓完结
视频加密的误解
MaxWell scraped data
超T动力 盈运天下——中国重汽黄河/豪沃WP14T产品首发荣耀上市!
GeoServer
canal抓取数据
websocket flv 客户端解封包
Distributed pre-course: MySQL implements distributed locks
v-model组件化编程应用
本地事务与分布式事务
阿里CTO程立:阿里巴巴的开源历程、理念和实践