Skip to content

bug: long time spent in beginning of COPY INTO #10490

@yufan022

Description

@yufan022

Search before asking

  • I had searched in the issues and found no similar issues.

Version

1.0.9

What's Wrong?

| id | type | host | user | command | database | extra_info | memory_usage | data_read_bytes | data_write_bytes | scan_progress_read_rows | scan_progress_read_bytes | mysql_connection_id | time | status |
ac8ee750-c404-4707-811c-dedf8986a105 MySQL xx:xx write Query default COPY INTO xx from @XX pattern='.*[.]csv$' FILE_FORMAT = (TYPE = 'CSV' FIELD_DELIMITER = '\t' RECORD_DELIMITER = '\n') PURGE=true -242324186 0 0 0 0 9 3482

scan_progress_read_rows=0, It seems that too much time was spent in the list on s3. There are about 100000 files in S3.

100000/3482=28/s

How to Reproduce?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

Labels

C-bugCategory: something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions