Azure Synapse partition strategies

Vijay Sampath (Trianz) 66 Reputation points
2021-09-30T05:46:28.567+00:00

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
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
0 comments No comments
{count} votes

Answer accepted by question author
  1. PRADEEPCHEEKATLA 91,656 Reputation points Moderator
    2021-10-01T07:54:57.827+00:00

    Hello @Vijay Sampath (Trianz) ,

    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
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.