Skip to content

trino query performance #24360

Answered by hashhar
sukhlab asked this question in Q&A
Dec 4, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

look at the scheduled time metric and physical input read time metric - that's basically the amount of time spent doing I/O. In your case it dominates the query time. Look at whether you have small files in AWS or if you have too many paritions (hence slow listing) and so on.

also you've configured a lot of settings to non-default values (some being even lower than defaults). Remove those.

Also a EXPLAIN plan at the minimum (preferably explain analyze) for the queries you think are running slow would be helpful. A query json from the web ui would be even better.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

@hashhar
Comment options

hashhar Dec 9, 2024
Collaborator

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