Skip to content

Alter parallelism of specific fragment #23383

@maingoh

Description

@maingoh

Is your feature request related to a problem? Please describe.

It is currently possible to set the parallelism at the materialized view level. We can set a fixed value but all fragments will have the same parallelism. However some fragment could need more parallelism than others.
The adaptive value seem to try to balance the fragments but it is not very clear how it do it and give less control and predictability.

Describe the solution you'd like

-- First set parallelism 8 for all fragments of the MV
ALTER MATERIALIZED VIEW foo SET parallelism = 8; 
-- Then alter a specific fragment
ALTER FRAGMENT 123 SET PARALLELISM = 16;

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions