Skip to content

how to load large number of data into databend table #7159

Answered by Xuanwo
qicaiyulin asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, we need the following information to better help you:

  • What's the load method you are using now?
  • Can you share the detailed log file with us? (often located at ./databend/logs)

And the following links may be helpful to you: https://databend.rs/doc/reference/sql/dml/dml-copy-into-table

COPY INTO mytable
  FROM 's3://mybucket/data.csv'
  CONNECTION = (
        ENDPOINT_URL = 'http://localhost:9000'
        ACCESS_KEY_ID = '<your-access-key-ID>'
        SECRET_ACCESS_KEY = '<your-secret-access-key>')
  FILE_FORMAT = (type = 'CSV' field_delimiter = ','  record_delimiter = '\n' skip_header = 1) size_limit=10;

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
5 replies
@qicaiyulin
Comment options

@Xuanwo
Comment options

@qicaiyulin
Comment options

@Xuanwo
Comment options

@BohuTANG
Comment options

Answer selected by wubx
Comment options

You must be logged in to vote
3 replies
@Xuanwo
Comment options

@qicaiyulin
Comment options

@Xuanwo
Comment options

Comment options

You must be logged in to vote
2 replies
@qicaiyulin
Comment options

@wubx
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants