{"id":6958,"date":"2023-11-02T11:46:57","date_gmt":"2023-11-02T18:46:57","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cosmosdb\/?p=6958"},"modified":"2023-11-02T11:48:34","modified_gmt":"2023-11-02T18:48:34","slug":"new-features-for-azure-synapse-link-for-azure-cosmos-db","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cosmosdb\/new-features-for-azure-synapse-link-for-azure-cosmos-db\/","title":{"rendered":"New features for Azure Synapse Link for Azure Cosmos DB"},"content":{"rendered":"<p><a href=\"https:\/\/learn.microsoft.com\/azure\/cosmos-db\/synapse-link\">Azure Synapse Link for Azure Cosmos DB<\/a> is a cloud-native hybrid transactional and analytical processing (HTAP) capability that enables near real-time analytics over operational data in Azure Cosmos DB. Azure Synapse Link creates a tight seamless integration between Azure Cosmos DB and Azure Synapse Analytics.<\/p>\n<p>We are excited to announce the new Azure Synapse Link capabilities that will help you to implement analytics workloads on top of your Azure Cosmos DB data.<\/p>\n<h2><a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/12\/synapse-analytics-cosmos-db-architecture.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-5445\" src=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/12\/synapse-analytics-cosmos-db-architecture.png\" alt=\"Image synapse analytics cosmos db architecture\" width=\"1251\" height=\"594\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/12\/synapse-analytics-cosmos-db-architecture.png 1251w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/12\/synapse-analytics-cosmos-db-architecture-300x142.png 300w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/12\/synapse-analytics-cosmos-db-architecture-1024x486.png 1024w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/12\/synapse-analytics-cosmos-db-architecture-768x365.png 768w\" sizes=\"(max-width: 1251px) 100vw, 1251px\" \/><\/a><\/h2>\n<h2><\/h2>\n<h2>Announcing Synapse Link for existing MongoDB collections: General Availability<\/h2>\n<p>This capability allows the usage of Synapse Link on collections that were created without this feature. Now, you can use CLI or PowerShell to enable Synapse Link on all your existing MongoDB collections, eliminating the necessity of exporting the data to a new collection to use Synapse Link.<\/p>\n<p>Here is a CLI example of how to turn on Synapse Link on an existing MongoDB collection.<\/p>\n<p><em>az cosmosdb mongodb collection update -g <strong>&lt;your_resource_group&gt;<\/strong> -a <strong>&lt;your_database_account&gt;<\/strong> -d <strong>&lt;your_database&gt;<\/strong> -n <strong>&lt;your-collection&gt;<\/strong> &#8211;analytical-storage-ttl <strong>-1<\/strong>\u00a0\u00a0<\/em><\/p>\n<p>A collection\u2019s initial sync with the analytical store total time will vary depending on the data volume and on the document&#8217;s complexity. This process can take anywhere from a few seconds to multiple days.<\/p>\n<p>For more information, click <a href=\"https:\/\/learn.microsoft.com\/azure\/cosmos-db\/configure-synapse-link\">here<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h2>Synapse Link and continuous backup integration are now generally available<\/h2>\n<p>Now you can turn on Synapse Link on Azure Cosmos DB database accounts that have <a href=\"https:\/\/learn.microsoft.com\/azure\/cosmos-db\/continuous-backup-restore-introduction\">continuous backup<\/a> enabled.<\/p>\n<p>You can turn on Synapse Link on continuous backup-enabled accounts using the portal, CLI, PowerShell, and Cosmos DB SDKs. With that, you can use Synapse Link in the same database accounts that already have point-in-time restore (PITR) enabled.<\/p>\n<p>The opposite situation, to enable continuous backup on Synapse Link enabled accounts, is in private preview and if you want to participate, please register <a href=\"https:\/\/forms.office.com\/r\/t0MhxcRf08\">here<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h2>Custom partitioning for analytical store is now generally available<\/h2>\n<p>&nbsp;<\/p>\n<p>Custom partitioning enables you to partition analytical store data using keys, or fields in your documents, that are frequently used filters in your analytical queries, resulting in improved query performance.\u00a0 You can create one partitioned store for each group of keys, with different schedules and filters.<\/p>\n<p>The partitioned store is persisted in the Azure Data Lake Store that supports your Synapse Workspace, making it easy to visualize the data and manage access.<\/p>\n<p>For more information, click <a href=\"https:\/\/learn.microsoft.com\/azure\/cosmos-db\/custom-partitioning-analytical-store\">here<\/a>.<\/p>\n<p><figure id=\"attachment_3625\" aria-labelledby=\"figcaption_attachment_3625\" class=\"wp-caption alignnone\" ><a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2021\/10\/Custom-Partitioning-1.png\"><img decoding=\"async\" class=\"size-full wp-image-3625\" src=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2021\/10\/Custom-Partitioning-1.png\" alt=\"Synapse Link custom partitioning architecture\" width=\"1476\" height=\"679\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2021\/10\/Custom-Partitioning-1.png 1476w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2021\/10\/Custom-Partitioning-1-300x138.png 300w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2021\/10\/Custom-Partitioning-1-1024x471.png 1024w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2021\/10\/Custom-Partitioning-1-768x353.png 768w\" sizes=\"(max-width: 1476px) 100vw, 1476px\" \/><\/a><figcaption id=\"figcaption_attachment_3625\" class=\"wp-caption-text\">Synapse Link custom partitioning architecture<\/figcaption><\/figure><\/p>\n<p>&nbsp;<\/p>\n<h2>Conclusion<\/h2>\n<p>Now you can unlock BI, insights, and advanced analytics on top of existing Azure Cosmos DB for MongoDB data, and accounts enabled with continuous backup. If you have advanced scenarios, you can use custom partitioning to improve the performance of your analytical workloads.<\/p>\n<p>Please contact our <a href=\"mailto:cosmosdbsynapselink@microsoft.com\">team<\/a> with any questions that you may have.<\/p>\n<h3>About Azure Cosmos DB<button class=\"linkicon\" title=\"\" aria-label=\"Copy Post URL\" data-id-href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/azure-cosmos-db-at-ignite-2023-chatbots-autoscale-mongodb-vcore-and-more\/#about-azure-cosmos-db\" data-toggle=\"tooltip\" data-placement=\"right\" data-original-title=\"Copy Post URL\"><i class=\"fabric-icon fabric-icon--Link\"><\/i><\/button><\/h3>\n<p><a href=\"https:\/\/azure.microsoft.com\/en-us\/products\/cosmos-db\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Azure Cosmos DB<\/span><\/a>\u00a0is\u00a0<span data-contrast=\"none\">a fully managed NoSQL and relational database service for modern app development with SLA-backed speed and availability, automatic and instant scalability, and support for open-source PostgreSQL, MongoDB, and Apache Cassandra.\u00a0<\/span><a href=\"https:\/\/aka.ms\/trycosmosdb\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Try Azure Cosmos DB for free here<\/span><\/a><span data-contrast=\"none\">. To stay in the loop on Azure Cosmos DB updates, follow us on\u00a0<\/span><a href=\"https:\/\/twitter.com\/AzureCosmosDB\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Twitter<\/span><\/a><span data-contrast=\"none\">,\u00a0<\/span><a href=\"https:\/\/www.youtube.com\/AzureCosmosDB\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">YouTube<\/span><\/a><span data-contrast=\"none\">, and\u00a0<\/span><a href=\"https:\/\/www.linkedin.com\/company\/azure-cosmos-db\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">LinkedIn<\/span><\/a><span data-contrast=\"none\">.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Azure Synapse Link for Azure Cosmos DB is a cloud-native hybrid transactional and analytical processing (HTAP) capability that enables near real-time analytics over operational data in Azure Cosmos DB. Azure Synapse Link creates a tight seamless integration between Azure Cosmos DB and Azure Synapse Analytics. We are excited to announce the new Azure Synapse Link [&hellip;]<\/p>\n","protected":false},"author":21894,"featured_media":2215,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1216,14],"tags":[],"class_list":["post-6958","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analytics","category-core-sql-api"],"acf":[],"blog_post_summary":"<p>Azure Synapse Link for Azure Cosmos DB is a cloud-native hybrid transactional and analytical processing (HTAP) capability that enables near real-time analytics over operational data in Azure Cosmos DB. Azure Synapse Link creates a tight seamless integration between Azure Cosmos DB and Azure Synapse Analytics. We are excited to announce the new Azure Synapse Link [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/6958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/users\/21894"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/comments?post=6958"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/6958\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media\/2215"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media?parent=6958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/categories?post=6958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/tags?post=6958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}