How to get the profile / query plan of a StarRocks query #29735
Closed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to provide the profile for the query so others can debug or figure how how the SQL was executed?
Warning
Don't enable this setting globally because there will be a query performance slowdown.
Note
More information can be found at https://docs.starrocks.io/en-us/latest/administration/query_profile
Note
youtube video on the topic. https://www.youtube.com/watch?v=oUFKSSmypbs
Run
and execute the SQL again!
Next you have to get the query profile
It should look like this
How do you know if spill was enabled for this query?
and if we enable_spill. the operator name should be SPILLABLE_HASH_JOIN_BUILD/PROBE
Any one know the reason for blank Finished Queries in the web server (GUI)
You have to find the exact FE. If you have multiple FEs, this page just show queries send to this FE, and some write operation will redirect to leader FE.
Beta Was this translation helpful? Give feedback.
All reactions