trino is slow at retrieving data out of it
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- cli, databases, performance
Hướng nghiên cứu
Issue không nêu tên tệp nào trong repository hoặc các bài kiểm thử. Hãy bắt đầu bằng việc tái hiện hai phép đo throughput của memory-connector và backend bằng Trino CLI, sau đó điều tra xem đường dẫn đọc từ client đến Trino giới hạn throughput ở đâu. Công việc được xem là hoàn tất khi đã xác định được nút thắt cổ chai và đã ghi lại một cấu hình, một phương pháp gỡ lỗi hoặc một thay đổi khắc phục.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Affected version
No response
Current and expected behavior
I am using trino to get some data out of my backend database, and trino is working as a middle ware. something like that db <-> trino <-> client(trino_cli or python client) .
I found the trino is slow when reading data out of it. more specifically, when using trino to read data, the speed of it is significantly slow than reading data from the backend database directly.
trino limits the speed to about 10-20MB/s, while my database could serve 100MB/s per connection.
I think the trino shouldn't be the bottleneck in the data pipeline, otherwise it will block something.
Possible solution
if there is some configuration or debug method that let me find the underlying bottleneck is and to know how to fix it.
I am using the way below to find out that trino blocks the data stream.
I am using trino memory connector to help me with the diagonose.
# step 1. copy data from my database to trino memory, which is the data path for reading data out from the backend database to the trino nodes.
create table memory.default.sf100_lineitem AS select * from xdb.default.sf100_lineitem limit 10000000; # it shows a throughput of about 100MB/s, more precisely, 80-150MB/s
# step 2. read data from trino to the outside, I am using trino cli to test the data
select * from memory.default.sf100_lineitem; # it shows me only a bandwidth of 10MB/s could be achieved. my network is more than 10Gb/s, so it is not blocked by the network.
Additional context
No response
Environment
No response
Would you like to work on fixing this bug?
yes
- Ngôn ngữ chính
- Rust
- Star
- 63
- Fork
- 13
- Merge trung bình
- 1 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 12
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stackabletech/trino-operator
-
customer-request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
stackabletech/trino-operator#499 ·
-
type/bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
stackabletech/trino-operator#936 · 3 bình luận ·
-
release-note
stackabletech/trino-operator#854 · 3 bình luận · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
stackabletech/trino-operator#849 ·
-
customer-request type/feature-improvement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
stackabletech/trino-operator#813 · 1 bình luận ·
Tất cả issue của stackabletech/trino-operator
Issue tương tự
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
yantrikos/yantrik-os#255 ·
-
Replayed reasoning items send "content": null, which the Responses API schema does not permit Đang mởbug CLI custom-model
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
raphamorim/rio#1956 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 bình luận ·