Query event 'Consider a cosegmented, cosorted join' ?
For one of may query, query_event table has below suggestion.
"Ensure that the plan is reasonable. Consider a cosegmented, cosorted join. Increase memory available to the plan."
cosorted join:
I assume it means both the projections should have join keys as sort keys.
But does the order of sort keys matter ?
Also can one of the projections have more sort key then the other, assuming I want merge join ?
cosegmented:
Does this mean they have to be segmented on the same columns ?
Strategy I am following for segmentation is to segment them by more a common key(which exists in all tables) and then by tables specific key. Is this correct approach ?
Thanks
-Siva
"Ensure that the plan is reasonable. Consider a cosegmented, cosorted join. Increase memory available to the plan."
cosorted join:
I assume it means both the projections should have join keys as sort keys.
But does the order of sort keys matter ?
Also can one of the projections have more sort key then the other, assuming I want merge join ?
cosegmented:
Does this mean they have to be segmented on the same columns ?
Strategy I am following for segmentation is to segment them by more a common key(which exists in all tables) and then by tables specific key. Is this correct approach ?
Thanks
-Siva
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.