当前位置:网站首页>Lightning data import
Lightning data import
2022-06-13 07:02:00 【Lao Wang's notes】
Use Dumpling The backup data
Reference resources Dumpling Introduction and use _ A big river -CSDN Blog
Edit profile
[lightning]
# journal
level = "info"
file = "tidb-lightning.log"
[tikv-importer]
# Choose to use local Back end
backend = "tidb"
# Set the temporary storage address of sorted key value pairs , The target path directory needs to be empty
sorted-kv-dir = "/export/servers/temp/tiuplightning/kv_data"
[mydumper]
# Source data directory
data-source-dir = "/export/servers/temp/tiuplightning/jcdp"
[tidb]
# Target cluster information
host = "XX.XX.XX.XX"
port = 4000
user = "root"
password = "password"
# Table structure information from TiDB Status port acquisition of , status-port = 10080
# colony pd Address
pd-addr = "XX.XX.XX.XX:2379"
Start import
Switch to toolkit Of bin Directory to start importing ,
nohup ./tidb-lightning -config tidb-lightning.toml > nohup.out
Check the status
- During the import process , Can pass tidb Of show processlist Command to see multi-threaded concurrent import ;
- If the import is successful , nohup.out and tidb-lightning.log Display at the end of the line "tidb lightning exit"
+---+----------------------------------------------+-------------+--------+
| # | CHECK ITEM | TYPE | PASSED |
+---+----------------------------------------------+-------------+--------+
| 1 | Source csv files size is proper | performance | true |
+---+----------------------------------------------+-------------+--------+
| 2 | checkpoints are valid | critical | true |
+---+----------------------------------------------+-------------+--------+
| 3 | table schemas are valid | critical | true |
+---+----------------------------------------------+-------------+--------+
| 4 | Cluster is available | critical | true |
+---+----------------------------------------------+-------------+--------+
| 5 | Lightning has the correct storage permission | critical | true |
+---+----------------------------------------------+-------------+--------+
tidb lightning exit
边栏推荐
- Recently, the popular social e-commerce marketing model, blind box e-commerce, how beautiful every second is accurately drained
- Periodontitis investigation (ongoing)
- 1154. day of the year
- Br backup test
- Is it safe for Hangzhou Securities to open an account?
- Cocos creator obtains user authorization interface and encapsulates createuserinfobutton
- Upper computer development (software test of firmware download software)
- Br tool backup recovery
- 基于FPGA的ds18b20温度传感器使用
- [Collection des questions d'examen les plus complètes de Tencent Ali] (quatre côtés: 3 tours de technologie + 1 tour de RH)
猜你喜欢
如何使用望友DFM軟件進行冷板分析
Periodontitis investigation (ongoing)
Lightning breakpoint continuation
Test development programmers, are you still confused? You can't define yourself as a yard farmer
Eureka server multi node deployment
WWDC2022最大的亮点: MetalFX
RT-Thread 模拟器 simulator LVGL控件:button 按钮事件
景联文科技:数据标注行业现状及解决方案
Why is the blind box e-commerce mode so popular?
Tidb dashboard modify port
随机推荐
2022-06-12:在N*N的正方形棋盤中,有N*N個棋子,那麼每個格子正好可以擁有一個棋子。 但是現在有些棋子聚集到一個格子上了,比如: 2 0 3 0 1 0 3 0 0 如上的二維數組代錶,一
Tidb index optimization
杭州证券开户是安全的吗?
Byte (nine)
智能金融再升级,景联文科技提供数据采集标注服务
简单了解C语言基本语
MySQL系列之分库分表学习笔记
Normalizing y-axis in histograms in R ggplot to proportion
Tidb execution plan -- II
[Tencent Alibaba's most comprehensive collection of test questions] (four sides: three rounds of technology +1 round of HR)
尝试使用RenderDoc查看UE的Shader代码
Recently, the popular social e-commerce marketing model, blind box e-commerce, how beautiful every second is accurately drained
RT thread simulator lvgl control: button button style
What is the new business model of Taishan crowdfunding in 2022?
Tidb statistics
YOLOv5解析 | 参数与性能指标
In the era of membership based social e-commerce, how do businesses build their own private domain traffic pool?
The new business outlet of beautiful Tiantian second mode will be popular in the Internet e-commerce market
Br backup test
What is online blind box e-commerce? Can blind box e-commerce become a new bonus market for the Internet?