%3CLINGO-SUB%20id%3D%22lingo-sub-1658206%22%20slang%3D%22en-US%22%3ESynapse%20feature%20limits%20-%20review%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1658206%22%20slang%3D%22en-US%22%3E%3CDIV%20style%3D%22direction%3A%20ltr%3B%22%3E%0A%3CP%3EAnother%20day%20I%20got%20this%20case%20about%20Synapse%20feature%20limitation.%20The%20customer%20was%20not%20sure%20about%20the%20information%20found%20on%20the%20documentation.%3C%2FP%3E%0A%3CP%3ESo%20the%20idea%20here%20is%20a%20quick%20review%20about%20the%20documentation.%3C%2FP%3E%0A%3CP%20style%3D%22margin-top%3A%200pt%3B%20margin-bottom%3A%202pt%3B%20font-family%3A%20'Segoe%20UI'%3B%20font-size%3A%2010.0pt%3B%20color%3A%20%23333333%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin-top%3A%200pt%3B%20margin-bottom%3A%202pt%3B%20font-family%3A%20'Segoe%20UI'%3B%20font-size%3A%2010.0pt%3B%20color%3A%20%23333333%3B%22%3E%3CSPAN%20style%3D%22font-weight%3A%20bold%3B%20background%3A%20white%3B%22%3ESpark%20Limitations%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23333333%3B%20background%3A%20white%3B%22%3EWhen%20you%20create%20a%20Spark%20Pool%20you%20will%20be%20able%20to%20define%20how%20much%20resources%20your%20pool%20will%20have%20as%20you%20can%20check%20it%20here%3A%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsynapse-analytics%2Fquickstart-create-apache-spark-pool-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsynapse-analytics%2Fquickstart-create-apache-spark-pool-portal%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23333333%3B%20background%3A%20white%3B%22%3EIf%20you%20may%20want%20to%20define%20a%20CAP%20for%20the%20session%20that%20you%20are%20executing%20and%20that%20is%20the%20example%3A%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-synapse-analytics%2Flivy-is-dead-and-some-logs-to-help%2Fba-p%2F1573227%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-synapse-analytics%2Flivy-is-dead-and-some-logs-to-help%2Fba-p%2F1573227%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3EIn%20other%20words%2C%20you%20may%20have%20one%20notebook%20taking%20over%20all%20your%3C%2FSPAN%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3E%20resources%20or%20you%20may%20have%205%20notebooks%20running%20at%20the%20same%20time%2C%20looking%20though%20this%20way%26nbsp%3B%3CSTRONG%3Ethere%20is%20not%20a%20fixed%20limit%3C%2FSTRONG%3E%20as%20you%20would%20see%20on%20ADW.%20%3CSTRONG%3ESpark%20is%20a%20pool%20of%20resources.%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3EThis%20one%20I%20guess%20it%20is%20better%20to%20get%20an%20idea%3A%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsynapse-analytics%2Fspark%2Fapache-spark-concepts%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsynapse-analytics%2Fspark%2Fapache-spark-concepts%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3E%22It%20is%20the%20definition%20of%20a%20Spark%20pool%20that%2C%20when%20instantiated%2C%20is%20used%20to%20create%20a%20Spark%20instance%20that%20processes%20data.%20When%20a%20Spark%20pool%20is%20created%2C%20it%20exists%20only%20as%20metadata%3B%20no%20resources%20are%20consumed%2C%20running%2C%20or%20charged%20for.%20A%20Spark%20pool%20has%20a%20series%20of%20properties%20that%20control%20the%20characteristics%20of%20a%20Spark%20instance%3B%20these%20characteristics%20include%20but%20are%20not%20limited%20to%20name%2C%20size%2C%20scaling%20behavior%2C%20time%20to%20live.%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3EThanks%20to%20my%20colleague%20Charl%20Roux%20for%20the%20discussion%20about%20Spark.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin-top%3A%200pt%3B%20margin-bottom%3A%202pt%3B%20font-family%3A%20'Segoe%20UI'%3B%20font-size%3A%2010.0pt%3B%20color%3A%20%23333333%3B%22%3E%3CSPAN%20style%3D%22font-weight%3A%20bold%3B%20background%3A%20white%3B%22%3EADF%20Pipeline%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-top%3A%200pt%3B%20margin-bottom%3A%202pt%3B%20font-family%3A%20'Segoe%20UI'%3B%20font-size%3A%2010.0pt%3B%20color%3A%20%23333333%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3EThis%20one%20is%20clear%20on%20the%20documentation%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-top%3A%200pt%3B%20margin-bottom%3A%202pt%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20'Segoe%20UI'%3B%20font-size%3A%2010.0pt%3B%20color%3A%20%23333333%3B%20background%3A%20white%3B%22%3E%3A%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Feur03.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fen-us%252Fazure%252Fdata-factory%252Fconcepts-pipelines-activities%26amp%3Bdata%3D02%257C01%257C%257Ca19a232577c742fc705c08d84b436b75%257C22ca942f06c24f3894070e447dedbb67%257C1%257C0%257C637342100227228216%26amp%3Bsdata%3DiagOxN6BH6F4l08Msz6WBfWuYMGcO6DKkTz3e%252Fz8sEA%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22font-family%3A%20Helvetica%3B%20font-size%3A%2012.0pt%3B%20background%3A%20white%3B%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-factory%2Fconcepts-pipelines-activities%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%201.5in%3B%20font-family%3A%20Helvetica%3B%20font-size%3A%2012.0pt%3B%20color%3A%20black%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20style%3D%22direction%3A%20ltr%3B%22%3E%0A%3CTABLE%20style%3D%22direction%3A%20ltr%3B%20border-collapse%3A%20collapse%3B%20margin-left%3A%201.4583in%3B%20border%3A%201pt%20solid%20%23A3A3A3%3B%22%20title%3D%22%22%20border%3D%221%22%20summary%3D%22%22%20cellspacing%3D%220%22%20cellpadding%3D%220%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20style%3D%22background-color%3A%20white%3B%20vertical-align%3A%20top%3B%20width%3A%20.7798in%3B%20padding%3A%204pt%204pt%204pt%204pt%3B%20border%3A%201pt%20solid%20%23A3A3A3%3B%22%3E%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20'Segoe%20UI'%3B%20font-size%3A%2011.0pt%3B%20color%3A%20%23171717%3B%22%3Econcurrency%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20style%3D%22background-color%3A%20white%3B%20vertical-align%3A%20top%3B%20width%3A%203.8034in%3B%20padding%3A%204pt%204pt%204pt%204pt%3B%20border%3A%201pt%20solid%20%23A3A3A3%3B%22%3E%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20'Segoe%20UI'%3B%20font-size%3A%2011.0pt%3B%20color%3A%20%23171717%3B%22%3E%3CSTRONG%3EThe%20maximum%20number%20of%20concurrent%20runs%20the%20pipeline%20can%20have.%20By%20default%2C%20there%20is%20no%20maximum.%3C%2FSTRONG%3E%20If%20the%20concurrency%20limit%20is%20reached%2C%20additional%20pipeline%20runs%20are%20queued%20until%20earlier%20ones%20complete%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3C%2FDIV%3E%0A%3CP%20style%3D%22margin-top%3A%200pt%3B%20margin-bottom%3A%202pt%3B%20font-family%3A%20'Segoe%20UI'%3B%20font-size%3A%2010.0pt%3B%20color%3A%20%23333333%3B%22%3E%3CSPAN%20style%3D%22font-weight%3A%20bold%3B%20background%3A%20white%3B%22%3EAbout%20SQL%20OD%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-top%3A%200pt%3B%20margin-bottom%3A%202pt%3B%20font-family%3A%20'Segoe%20UI'%3B%20font-size%3A%2010.0pt%3B%20color%3A%20%23333333%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin-top%3A%200pt%3B%20margin-bottom%3A%202pt%3B%20font-family%3A%20Helvetica%3B%20font-size%3A%2012.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3E(%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsynapse-analytics%2Fsql%2Fon-demand-workspace-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsynapse-analytics%2Fsql%2Fon-demand-workspace-overview%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3E)%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3E%22SQL%20on-demand%20is%20serverless%2C%20hence%20there%20is%20no%20infrastructure%20to%20setup%20or%20clusters%20to%20maintain.%20A%20default%20endpoint%20for%20this%20service%20is%20provided%20within%20every%20Azure%20Synapse%20workspace%2C%20so%20you%20can%20start%20querying%20data%20as%20soon%20as%20the%20workspace%20is%20created.%20There%20is%20no%20charge%20for%20resources%20reserved%2C%20you%20are%20only%20being%20charged%20for%20the%20data%20scanned%20by%20queries%20you%20run%2C%20hence%20this%20model%20is%20a%20true%20pay-per-use%20model.%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3ESo%20basically%20here%20we%20have%20another%20scenario%20of%20%3CSTRONG%3Enot%20a%20documented%20limit%20because%20there%20is%20no%20fixed%20limit%3C%2FSTRONG%3E.%20You%20could%20300%20small%20queries%20running%20or%20you%20could%20have%20the%20one%20query%20running%20alone%20and%20using%20all%20resources%20while%20the%20others%20wait.%26nbsp%3BSQL%20on-demand%20has%20a%20Control%20node%20that%20utilizes%20a%20Distributed%20Query%20Processing%20(DQP)%20engine%20to%20optimize%20and%20orchestrate%20distributed%20execution%20of%20user%20query%20by%20splitting%20it%20into%20smaller%20queries%20that%20will%20be%20executed%20on%20Compute%20nodes.%26nbsp%3BIn%20SQL%20on-demand%2C%20each%20Compute%20node%20is%20assigned%20a%20task%20and%20set%20of%20files%20to%20execute%20the%20task%20on.%20The%20task%20is%20a%20distributed%20query%20execution%20unit%2C%20which%20is%20actually%20part%20of%20the%20query%20user%20submitted.%20Automatic%20scaling%20is%20in%20effect%20to%20make%20sure%20enough%20Compute%20nodes%20are%20utilized%20to%20execute%20user%20queries.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3EAs%20for%20%3CSTRONG%3EADW%3C%2FSTRONG%3E%20the%20limits%20are%20pretty%20much%20clear%20on%20the%20documentation%20and%20it%20is%20tied%20to%20the%20Service%20Levels%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsynapse-analytics%2Fsql-data-warehouse%2Fmemory-concurrency-limits%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsynapse-analytics%2Fsql-data-warehouse%2Fmemory-concurrency-limits%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3EThat%20is%20it!%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3ELiliam%20C%20Leme%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3EUK%20Engineer%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1658206%22%20slang%3D%22en-US%22%3E%3CP%3EAnother%20day%20I%20got%20this%20case%20about%20Synapse%20feature%20limitation.%20The%20customer%20was%20not%20sure%20about%20the%20information%20found%20on%20the%20documentation.%3C%2FP%3E%0A%3CP%3ESo%20the%20idea%20here%20is%20a%20quick%20review%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1658206%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESynapse%20Spark%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESynapse%20SQL%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESynapse%20Support%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

Another day I got this case about Synapse feature limitation. The customer was not sure about the information found on the documentation.

So the idea here is a quick review about the documentation.

 

Spark Limitations:

 

When you create a Spark Pool you will be able to define how much resources your pool will have as you can check it here: https://docs.microsoft.com/en-us/azure/synapse-analytics/quickstart-create-apache-spark-pool-portal

If you may want to define a CAP for the session that you are executing and that is the example:  https://techcommunity.microsoft.com/t5/azure-synapse-analytics/livy-is-dead-and-some-logs-to-help/ba...

In other words, you may have one notebook taking over all your resources or you may have 5 notebooks running at the same time, looking though this way there is not a fixed limit as you would see on ADW. Spark is a pool of resources.

 

This one I guess it is better to get an idea:  https://docs.microsoft.com/en-us/azure/synapse-analytics/spark/apache-spark-concepts

 

"It is the definition of a Spark pool that, when instantiated, is used to create a Spark instance that processes data. When a Spark pool is created, it exists only as metadata; no resources are consumed, running, or charged for. A Spark pool has a series of properties that control the characteristics of a Spark instance; these characteristics include but are not limited to name, size, scaling behavior, time to live."

Thanks to my colleague Charl Roux for the discussion about Spark.

 

ADF Pipeline:

 

This one is clear on the documentation:

:https://docs.microsoft.com/en-us/azure/data-factory/concepts-pipelines-activities

 

concurrency

The maximum number of concurrent runs the pipeline can have. By default, there is no maximum. If the concurrency limit is reached, additional pipeline runs are queued until earlier ones complete

About SQL OD:

 

(https://docs.microsoft.com/en-us/azure/synapse-analytics/sql/on-demand-workspace-overview)

"SQL on-demand is serverless, hence there is no infrastructure to setup or clusters to maintain. A default endpoint for this service is provided within every Azure Synapse workspace, so you can start querying data as soon as the workspace is created. There is no charge for resources reserved, you are only being charged for the data scanned by queries you run, hence this model is a true pay-per-use model."

 

So basically here we have another scenario of not a documented limit because there is no fixed limit. You could 300 small queries running or you could have the one query running alone and using all resources while the others wait. SQL on-demand has a Control node that utilizes a Distributed Query Processing (DQP) engine to optimize and orchestrate distributed execution of user query by splitting it into smaller queries that will be executed on Compute nodes. In SQL on-demand, each Compute node is assigned a task and set of files to execute the task on. The task is a distributed query execution unit, which is actually part of the query user submitted. Automatic scaling is in effect to make sure enough Compute nodes are utilized to execute user queries.

 

As for ADW the limits are pretty much clear on the documentation and it is tied to the Service Levels:

https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/memory-concurrency-limit...

 

That is it!

Liliam C Leme

UK Engineer