当前位置:网站首页>TiDB Lightning
TiDB Lightning
2022-06-13 06:55:00 【Lao Wang's notes】
TiDB Lightning principle
TiDB Lightning yes TiDB One of the ecological tools , Can be Dumpling Derived sql perhaps csv High speed import of full file data to TiDB In the cluster

- Import mode : Will automatically TiKV The cluster switches to import mode , The import mode optimizes writes , And stop automatic data compression , So as to improve the efficiency of import ; This will affect the read / write performance of online services ;
- establish schema And table
- Split table
- Read SQL dump
- Write local temporary storage file : Convert the data source to TiKV Key value pairs with the same encoding method , Sort and store in TiKV In the local storage of ;
- Import to TiKV colony : Load into TiKV Of RocksDB in
- Verification and analysis
- Switch to normal mode : If the import process is interrupted abnormally , Need to manually switch to normal mode ;
Imported mode
Local and Importer The cluster cannot write data during the import of ,TiDB Backend Can write data ;
Hardware requirements :CPU/MEMORY/DISK/ network card = 32c/20G/SSD/ Wan Zhao nic
It is recommended to deploy separately
Deploy : tiup install lightning perhaps tidb-toolkit
TiDB Lightning Applicable scenario
Support the import of mass data , 400G-500G/Hour Quick import of ,50G/Hour Transactional import of ;
Support format file :SQL、CSV、Amazon Aurora Parquet
边栏推荐
- Network planning common interview knowledge (I)
- [system analysis and design] college student association management system
- 如何使用望友DFM软件进行冷板分析
- Why does TCP establish three handshakes and four waves
- 上位机开发(固件下载软件之编码调试)
- IIS batch bind domain name
- NFV基本概述
- Jinglianwen technology provides voice data acquisition and labeling services
- 【转】FPGA面试题
- 线程池中的 工作线程如何被回收
猜你喜欢

Chain 2+1 reward, what kind of mode is beautiful everyday seconds?

百货中心供应链管理系统

Yolov5 analysis | parameters and performance indicators

Why is the new e-commerce outlet mode so popular? What is the specific mode?

MongoDB系列之SQL和NoSQL的区别

In kotlin?,!,?:,:, - & gt;、== Brief description of symbols

Brief introduction to basic usage of echart

Notes on wechat applet development

学习Mysql基础第一天

What is the essence of social e-commerce disruption? How can businesses get more traffic?
随机推荐
Tidb statistics
树莓派高级开发——“IO口驱动代码的编写“ 包含总线地址、物理_虚拟地址、BCM2835芯片手册知识
[Collection des questions d'examen les plus complètes de Tencent Ali] (quatre côtés: 3 tours de technologie + 1 tour de RH)
Detailed Mr Atlas of hip joint (Reprinted)
How to make a development board from scratch? Illustrated and illustrated, step by step operation for you to see.
【sketchup 2021】草图大师的图像输出与渲染之样式说明【边线设置、平面设置、背景设置、水印设置、建模设置、天空背景创建天空、利用水印背景创建天空(重要)】
NFV基本概述
杭州网上开户是安全的吗?
What is the essence of social e-commerce disruption? How can businesses get more traffic?
Data storage in memory (C language)
10 Honest Facts I Want To Share With All Junior Developers
Two uses of bottomsheetbehavior
Wechat game execution wx Navigatetominiprogram jumps to other games and returns to the black screen
基于SSM实现水果商城批发平台
Common method of props changing value V-model sync
105. constructing binary trees from preorder and inorder traversal sequences
Eureka server multi node deployment
Continuous management design
ML之FE:Vintage曲线/Vintage分析的简介、计算逻辑、案例应用之详细攻略
Jfinal uses freemaker to output map.
