-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust the output of EXPLAIN / EXPLAIN ANALYZE to show some placement info #29421
Comments
@yudongusa @AilinKid what do you think? |
Example above show that explain info are showed with the granularity of single operator and the leave nodes only reach the table level. (partition table has multi table level leave nodes) Since placement rules also have some placement constraints at table level, we can show them with the data source nodes adding the query latency references. It's promising that:
For non syntactic sugar varieties of placement such as +disk=ssd, non-location labels can't tell us more unless user knows where these storage nodes with that labels are. For more fine-grained detail, a follow-read will be routed to REGIONS rather than PRIMARY_REGION, which adds some complexity for explain. |
What I want to know basicly is:
|
Maybe this should be part of |
Enhancement
Subtask of #18030
In Placement Policies, we have some "built in" tags that we support syntactic sugar placement hints for. Such as
CREATE PLACEMENT POLICY x PRIMARY_REGION="us-east-1" REGIONS="us-east-1,us-west-1"
.Because
PRIMARY_REGION
andPRIMARY_ZONE
in particular imply higher latency, it would be helpful to treat these differently and how some information in EXPLAIN that communicates this might be adding to the query latency.It might be harder to demonstrate this for non syntactic sugar varieties of placement such as
+disk=ssd
. However, ideas welcome if there is an idea that can include both.The text was updated successfully, but these errors were encountered: