Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lightning import gz file too slow #48600

Open
GMHDBJD opened this issue Nov 15, 2023 · 2 comments
Open

lightning import gz file too slow #48600

GMHDBJD opened this issue Nov 15, 2023 · 2 comments
Labels
component/ddl This issue is related to DDL of TiDB. severity/moderate type/enhancement The issue or PR belongs to an enhancement.

Comments

@GMHDBJD
Copy link
Contributor

GMHDBJD commented Nov 15, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

import gz file from gcp

2. What did you expect to see? (Required)

import success quickly

3. What did you see instead (Required)

import speed slow

4. What is your TiDB version? (Required)

7.1.1

@GMHDBJD GMHDBJD added the type/bug The issue is confirmed as a bug. label Nov 15, 2023
@GMHDBJD
Copy link
Contributor Author

GMHDBJD commented Nov 15, 2023

[2023/11/14 07:10:18.023 +00:00] [INFO] [chunk_process.go:190] ["restore file completed"] [table=`honda_test`.`reports`] [engineNumber=0] [fileIndex=0] [path=honda_test.reports.0001.csv.gz:0] [readDur=4m7.584869122s] [encodeDur=35.335457448s] [deliverDur=2.80374911s] [checksum="{cksum=6520750393175196025,size=620532615,kvs=1439109}"] [takeTime=4m44.041484517s] []
2023-11-15 00:32:13	
[2023/11/14 16:32:13.283 +00:00] [INFO] [table_import.go:769] ["encode kv data and write completed"] [table=`honda_test`.`reports`] [engineNumber=0] [read(bytes)=0] [written=2358976264597] [takeTime=9h26m39.354162396s] []

@jebter jebter added severity/major component/ddl This issue is related to DDL of TiDB. labels Nov 17, 2023
@ti-chi-bot ti-chi-bot bot added may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.5 labels Nov 17, 2023
@D3Hunter D3Hunter added severity/moderate type/enhancement The issue or PR belongs to an enhancement. and removed may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.5 severity/major type/bug The issue is confirmed as a bug. affects-7.1 labels Feb 21, 2024
@D3Hunter
Copy link
Contributor

most time is taken by file download and decompress, mark it as enhancement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ddl This issue is related to DDL of TiDB. severity/moderate type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

3 participants