question

VijaySampathTrianz-9530 avatar image
0 Votes"
VijaySampathTrianz-9530 asked PRADEEPCHEEKATLA-MSFT commented

Azure Synapse partition strategies

Hello,

Can anyone help me with the below question:

From the azure synapse documentation, I can find that the "Dedicated SQL pool" tables can be partitioned using a value range (Range partitioning).
For Example: PARTITION ( [OrderDateKey] RANGE RIGHT FOR VALUES
(20000101,20010101,20020101
,20030101,20040101,20050101
)

I would like to understand, is Range-Partitioning is the only partitioning strategy supported by Azure-Synapse? or is there any other way of partitioning the Synapse table??


azure-synapse-analytics
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PRADEEPCHEEKATLA-MSFT avatar image
1 Vote"
PRADEEPCHEEKATLA-MSFT answered PRADEEPCHEEKATLA-MSFT commented

Hello @VijaySampathTrianz-9530,

Thanks for the question and using MS Q&A platform.

SQL Server and dedicated SQL pool support one partition column per table, which can be ranged partition.

 PARTITION ( partition_column_name RANGE [ LEFT | RIGHT ] FOR VALUES ( [ boundary_value [,...n] ] ))

Creates one or more table partitions. These partitions are horizontal table slices that allow you to apply operations to subsets of rows regardless of whether the table is stored as a heap, clustered index, or clustered columnstore index. Unlike the distribution column, table partitions don't determine the distribution where each row is stored. Instead, table partitions determine how the rows are grouped and stored within each distribution.

136914-image.png

For more details, refer to Syntax differences from SQL Server and Table partition options.

Hope this will help. Please let us know if any further queries.


  • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how

  • Want a reminder to come back and check responses? Here is how to subscribe to a notification

  • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators


image.png (54.0 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @VijaySampathTrianz-9530,

Just checking in to see if the above answer helped. If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.

0 Votes 0 ·

Thanks for your response. Much Appreciated.

1 Vote 1 ·
PRADEEPCHEEKATLA-MSFT avatar image PRADEEPCHEEKATLA-MSFT VijaySampathTrianz-9530 ·

Hello @VijaySampathTrianz-9530,

Glad to know it helped. Do continue to use MS Q&A platform for any queries related to Azure.

0 Votes 0 ·