You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Optional - Disable analytical store in a SQL API container
226
+
## Optional - Disable analytical store
227
227
228
-
Analytical store can be disabled in SQL API containers using Azure CLI or PowerShell, by setting `analytical TTL` to `0`.
228
+
Analytical store can be disabled in SQL API containers or in MongoDB API collections, using Azure CLI or PowerShell. It is done by setting `analytical TTL` to `0`.
229
229
230
230
> [!NOTE]
231
231
> Please note that currently this action can't be undone. If analytical store is disabled in a container, it can never be re-enabled.
232
232
233
233
> [!NOTE]
234
-
> Please note that disabling analytical store is not available for MongoDB API collections.
235
-
234
+
> Please note that currently it is not possible to disable Synapse Link from a database account.
236
235
237
236
## <aid="connect-to-cosmos-database"></a> Connect to a Synapse workspace
Copy file name to clipboardExpand all lines: articles/cosmos-db/synapse-link-frequently-asked-questions.yml
+30-33Lines changed: 30 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ metadata:
6
6
ms.author: rosouz
7
7
ms.service: cosmos-db
8
8
ms.topic: faq
9
-
ms.date: 01/05/2023
9
+
ms.date: 04/19/2023
10
10
ms.custom: synapse-cosmos-db, ignite-2022
11
11
title: Frequently asked questions about Azure Synapse Link for Azure Cosmos DB
12
12
summary: |
@@ -28,7 +28,7 @@ sections:
28
28
answer: |
29
29
Yes, for multi-region Azure Cosmos DB accounts, the data stored in the analytical store is also globally distributed. Regardless of single write region or multiple write regions, analytical queries performed from Azure Synapse Analytics can be served from the closest local region.
30
30
31
-
When planning to configure a multi-region Azure Cosmos DB account with analytical store support, it is recommended to have all the necessary regions added at time of account creation.
31
+
When planning to configure a multi-region Azure Cosmos DB account with analytical store support, it's recommended to have all the necessary regions added at time of account creation.
32
32
33
33
- question: |
34
34
Can I choose to enable Azure Synapse Link for only certain region and not all regions in a multi-region account set-up?
@@ -43,19 +43,19 @@ sections:
43
43
- question: |
44
44
Can I disable the Azure Synapse Link feature for my Azure Cosmos DB account?
45
45
answer: |
46
-
Currently, after the Synapse Link capability is enabled at the account level, you cannot disable it. Please note that you will not have any billing implications if the Synapse Link capability is enabled at the account level and there is no analytical store enabled containers.
46
+
Currently, after the Synapse Link capability is enabled at the account level, you can't disable it. There are no billing implications if the Synapse Link capability is enabled at the account level and there's no analytical store enabled containers.
47
47
48
-
If you need to turn off the capability, you have 2 options. The first one is to delete and re-create a new Azure Cosmos DB account, migrating the data if necessary. The second option is to open a support ticket, to get help on a data migration to another account.
48
+
If you need to turn off the capability, you have two options. The first one is to delete and re-create a new Azure Cosmos DB account, migrating the data if necessary. The second option is to open a support ticket, to get help on a data migration to another account.
49
49
50
50
- question: |
51
51
Does analytical store have any impact on Azure Cosmos DB transactional SLAs?
52
52
answer: |
53
-
No, there is no impact.
53
+
No, there's no impact.
54
54
55
55
- question: |
56
-
Can I use Synapse Link in Azure Cosmos DB serverless accounts?
56
+
Can I enable4 Synapse Link in Azure Cosmos DB serverless accounts?
57
57
answer: |
58
-
Yes, for both the APIs for MongoDB and NoSQLs database accounts. Currently, API for MongoDB accounts are only supported through Azure CLI or PowerShell.
58
+
Yes, for both the APIs for MongoDB and NoSQLs database accounts. Use CLI or PowerShell for MongoDB accounts.
59
59
60
60
- question: |
61
61
What permissions do I need to enable Synapse Link in my database account?
@@ -73,14 +73,13 @@ sections:
73
73
- question: |
74
74
Can I see analytical store files using Azure Data Explorer?
75
75
answer: |
76
-
No. Analytical store is persisted in a storage account, in an internal subscription, that is fully managed by Azure Cosmos DB. Customers don't have access to this storage account and have to use Azure Synapse runtimes to read the data.
76
+
No. Analytical store is persisted in a storage account located in a Cosmos DB internal subscription. Customers don't have access to this storage account and have to use Azure Synapse runtimes to read the data.
77
77
78
78
- question: |
79
79
Can I disable analytical store on my Azure Cosmos DB containers?
80
80
answer: |
81
-
Analytical store can be disabled in API for NoSQL containers using PowerShell, by updating `-AnalyticalStorageTtl` (analytical Time-To-Live) to `0`. Please note that currently this action can't be undone. If analytical store is disabled in a container, it can never be re-enabled.
82
-
Currently you can't be disabled in API for MongoDB collections.
83
-
81
+
Yes, analytical store can be disabled in API for NoSQL containers and in API for MongoDB collections, using PowerShell or CLI. Currently this action can't be undone.
82
+
84
83
- question: |
85
84
Is analytical store supported for Azure Cosmos DB containers with autoscale provisioned throughput?
86
85
answer: |
@@ -89,7 +88,7 @@ sections:
89
88
- question: |
90
89
Is there any effect on Azure Cosmos DB transactional store provisioned RUs?
91
90
answer: |
92
-
Azure Cosmos DB guarantees performance isolation between the transactional and analytical workloads. Enabling the analytical store on a container will not impact the RU/s provisioned on the Azure Cosmos DB transactional store. The transactions (read & write) and storage costs for the analytical store will be charged separately. See the [pricing for Azure Cosmos DB analytical store](analytical-store-introduction.md#analytical-store-pricing) for more details.
91
+
Azure Cosmos DB guarantees performance isolation between the transactional and analytical workloads. Enabling the analytical store on a container doesn't impact the Azure Cosmos DB RU/s. The transactions (read & write) and storage costs for the analytical store are charged separately. See the [pricing for Azure Cosmos DB analytical store](analytical-store-introduction.md#analytical-store-pricing) for more details.
93
92
94
93
- question: |
95
94
Can I restrict network access to Azure Cosmos DB analytical store?
@@ -102,12 +101,12 @@ sections:
102
101
Can I use customer-managed keys with the Azure Cosmos DB analytical store?
103
102
answer: |
104
103
You can seamlessly encrypt the data across transactional and analytical stores using the same customer-managed keys in an automatic and transparent manner.
105
-
To use customer-managed keys with the analytical store, you need to use your Azure Cosmos DB account's system-assigned managed identity in your Azure Key Vault access policy. This is described [here](how-to-setup-cmk.md#using-managed-identity). You should then be able to enable the analytical store on your account.
104
+
To use customer-managed keys with the analytical store, you need to use your Azure Cosmos DB account's system-assigned managed identity in your Azure Key Vault access policy. You should then be able to enable the analytical store on your account. Click [here](how-to-setup-cmk.md#using-managed-identity) for more information.
106
105
107
106
- question: |
108
107
Are delete and update operations on the transactional store reflected in the analytical store?
109
108
answer: |
110
-
Yes, deletes and updates to the data in the transactional store will be reflected in the analytical store. You can configure the Time to Live (TTL) on the container to include historical data so that the analytical store retains all versions of items that satisfy the analytical TTL criteria. See the [overview of analytical TTL](analytical-store-introduction.md#analytical-ttl) for more details.
109
+
Yes, deletes and updates to the data in the transactional store are reflected in the analytical store. You can configure the Time to Live (TTL) on the container to include historical data so that the analytical store retains all versions of items that satisfy the analytical TTL criteria. See the [overview of analytical TTL](analytical-store-introduction.md#analytical-ttl) for more details.
111
110
112
111
- question: |
113
112
Can I connect to analytical store from analytics engines other than Azure Synapse Analytics?
@@ -120,32 +119,32 @@ sections:
120
119
- question: |
121
120
Can I connect to analytical store from Synapse SQL provisioned?
122
121
answer: |
123
-
At this time, the analytical store cannot be accessed from Synapse SQL provisioned.
122
+
At this time, the analytical store can't be accessed from Synapse SQL provisioned.
124
123
125
124
- question: |
126
125
Can I write back the query aggregation results from Synapse back to the analytical store?
127
126
answer: |
128
-
Analytical store is a read-only store in an Azure Cosmos DB container. So, you cannot directly write back the aggregation results to the analytical store, but can write them to the Azure Cosmos DB transactional store of another container, which can later be leveraged as a serving layer.
127
+
No, analytical store is read-only.
129
128
130
129
- question: |
131
130
Is the autosync replication from transactional store to the analytical store asynchronous or synchronous and what are the latencies?
132
131
answer: |
133
-
Auto-sync latency is usually within 2 minutes. In cases of shared throughput database with a large number of containers, auto-sync latency of individual containers could be higher and take up to 5 minutes. We would like to learn more how this latency fits your scenarios. For that, please reach out to the [Azure Cosmos DB team](mailto:[email protected]).
132
+
Auto-sync latency is usually within 2 minutes. In cases of shared throughput database with a large number of containers, auto-sync latency of individual containers could be higher and take up to 5 minutes.
134
133
135
134
- question: |
136
135
Are there any scenarios where the items from the transactional store are not automatically propagated to the analytical store?
137
136
answer: |
138
-
If specific items in your container violate the [well-defined schema for analytics](analytical-store-introduction.md#analytical-schema), they will not be included in the analytical store. If you have scenarios blocked by well-defined schema for analytics, email the [Azure Cosmos DB team](mailto:[email protected]) for help.
137
+
If specific items in your container violate the [well-defined schema for analytics](analytical-store-introduction.md#analytical-schema), they're not included in analytical store.
139
138
140
139
- question: |
141
140
Can I partition the data in analytical store differently from transactional store?
142
141
answer: |
143
-
By default, analytical store is not partitioned. If your analytical queries have frequently used filters, you have the option to partition based on these fields for better query performance. To learn more, see the [introduction to custom partitioning](custom-partitioning-analytical-store.md) and [how to configure custom partitioning](configure-custom-partitioning.md) articles.
142
+
By default, analytical store isn't partitioned. If your analytical queries have frequently used filters, use custom partitioning for better performance. Click [here](custom-partitioning-analytical-store.md) for more information.
144
143
145
144
- question: |
146
145
Can I customize or override the way transactional data is transformed into columnar format in the analytical store?
147
146
answer: |
148
-
Currently you can’t transform the data items when they are automatically propagated from the transactional store to analytical store. If you have scenarios blocked by this limitation, email the [Azure Cosmos DB team](mailto:[email protected]).
147
+
Currently you can’t transform the data items when they're automatically propagated from the transactional store to analytical store. If you have scenarios blocked by this limitation, email the [Azure Cosmos DB team](mailto:[email protected]).
149
148
150
149
- question: |
151
150
Can I access analytical store with Azure Cosmos DB SDKs?
@@ -160,7 +159,7 @@ sections:
160
159
- question: |
161
160
Is analytical store supported by Terraform?
162
161
answer: |
163
-
Currently Terraform doesn’t support analytical store containers. Please check [Terraform GitHub Issues](https://github.com/hashicorp/terraform/issues) for more information.
162
+
Currently Terraform doesn’t support analytical store containers. Check [Terraform GitHub Issues](https://github.com/hashicorp/terraform/issues) for more information.
164
163
165
164
- question: |
166
165
What permissions do I need to enable Synapse Link in my containers or collections?
@@ -173,7 +172,7 @@ sections:
173
172
- question: |
174
173
Is TTL for analytical data supported at both container and item level?
175
174
answer: |
176
-
At this time, TTL for analytical data can only be configured at container level and there is no support to set analytical TTL at item level.
175
+
At this time, TTL for analytical data can only be configured at container level and there's no support to set analytical TTL at item level.
177
176
178
177
- question: |
179
178
After setting the container level analytical TTL on an Azure Cosmos DB container, can I change to a different value later?
@@ -183,7 +182,7 @@ sections:
183
182
- question: |
184
183
Can I update or delete an item from the analytical store after it has been TTL’d out from the transactional store?
185
184
answer: |
186
-
All transactional updates and deletes are copied to the analytical store but if the item has been purged from the transactional store, then it cannot be updated in the analytical store. To learn more, see the [Analytical TTL](analytical-store-introduction.md#analytical-ttl) article.
185
+
All transactional updates and deletes are copied to the analytical store but if the item has been purged from the transactional store, then it can't be updated in the analytical store. To learn more, see the [Analytical TTL](analytical-store-introduction.md#analytical-ttl) article.
187
186
188
187
- name: Billing
189
188
questions:
@@ -195,17 +194,15 @@ sections:
195
194
- question: |
196
195
What is the billing impact if I enable Synapse Link in my Azure Cosmos DB database account?
197
196
answer: |
198
-
None. You will only be charged when you create an analytical store enabled container and start to load data.
197
+
None. Charges only occur when you create an analytical store enabled container and start to load data.
199
198
200
199
201
200
- name: Security
202
201
questions:
203
202
- question: |
204
203
What are the ways to authenticate with the analytical store?
205
204
answer: |
206
-
Authentication with the analytical store is the same as a transactional store. For a given database, you can authenticate with the primary or read-only key. You can leverage linked service in Azure Synapse Studio to prevent pasting the Azure Cosmos DB keys in the Spark notebooks. Access to this Linked Service is available for everyone who has access to the workspace.
207
-
208
-
When using Synapse serverless SQL pools, you can query the Azure Cosmos DB analytical store by pre-creating SQL credentials storing the account keys and referencing these in the OPENROWSET function. To learn more, see [Query with a serverless SQL pool in Azure Synapse Link](../synapse-analytics/sql/query-cosmos-db-analytical-store.md) article.
205
+
Authentication with the analytical store is the same as a transactional store. For a given database, you can authenticate with the primary or read-only key. You can use linked services in Azure Synapse Studio to prevent pasting the Azure Cosmos DB keys in the Spark notebooks. Access to this Linked Service is available for everyone who has access to the workspace. When using Synapse serverless SQL pools, you can query the Azure Cosmos DB analytical store by pre-creating and referencing SQL credentials in the OPENROWSET function. To learn more, see [Query with a serverless SQL pool in Azure Synapse Link](../synapse-analytics/sql/query-cosmos-db-analytical-store.md) article.
209
206
210
207
- question: |
211
208
Is it possible to use customer-managed keys with Azure Synapse Link?
@@ -218,9 +215,9 @@ sections:
218
215
Yes, You can control network access to the data in the transactional and analytical stores independently. Network isolation is done using separate managed private endpoints for each store, within managed virtual networks in Azure Synapse workspaces. To learn more, see how to [Configure private endpoints for analytical store](analytical-store-private-endpoints.md) article.
219
216
220
217
- question: |
221
-
I'm getting error 403 (Could not retrieve Analytical Store status for one or more containers Response status code does not indicate success: 403 (Forbidden)) after Azure Private Link was enabled for my database account. What's happening?
218
+
I'm getting error 403 (Couldn't retrieve Analytical Store status for one or more containers Response status code doesn't indicate success: 403 (Forbidden)) after Azure Private Link was enabled for my database account. What's happening?
222
219
answer: |
223
-
Usually, 403's are due to network/firewall settings that prevent users from accessing specific data, even from the portal. The most common cause for this problem is that step 1 of the enable Network isolation process using private endpoints has not been performed. You need to use Azure CLI or PowerShell for this. More details [here](analytical-store-private-endpoints.md).
220
+
Usually, 403s are due to network/firewall settings that prevent users from accessing specific data, even from the portal. The most common cause for this problem is that step 1 of the enable Network isolation process using private endpoints hasn't been performed with Azure CLI or PowerShell. More details [here](analytical-store-private-endpoints.md).
224
221
225
222
- name: Synapse run-times
226
223
questions:
@@ -234,9 +231,9 @@ sections:
234
231
|Azure Synapse SQL Provisioned | Not available |
235
232
236
233
- question: |
237
-
Do my Azure Synapse Spark tables sync with my Azure Synapse serverless SQL pool tables the same way they do with Azure Data Lake?
234
+
Do Spark tables sync with SQL Serverless tables the same way they do with Azure Data Lake?
238
235
answer: |
239
-
Currently, this feature is not available.
236
+
Currently, this feature isn't available.
240
237
241
238
- question: |
242
239
Can I do Spark structured streaming from analytical store?
@@ -246,7 +243,7 @@ sections:
246
243
- question: |
247
244
Is streaming supported?
248
245
answer: |
249
-
We do not support streaming of data from the analytical store.
246
+
We don't support streaming of data from the analytical store.
250
247
251
248
- name: Azure Synapse Studio
252
249
questions:
@@ -257,7 +254,7 @@ sections:
257
254
258
255
:::image type="content" source="./media/synapse-link-frequently-asked-questions/analytical-store-icon.png" alt-text="Azure Cosmos DB container enabled with analytical store- icon":::
259
256
260
-
A transactional store container will be represented with the following icon:
257
+
A transactional store container is represented with the following icon:
261
258
262
259
:::image type="content" source="./media/synapse-link-frequently-asked-questions/transactional-store-icon.png" alt-text="Azure Cosmos DB container enabled with transactional store- icon":::
0 commit comments