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
- Filtering rows from a base table in the materialized view based on conditions evaluated on primary key columns of the base table row.
25
25
- Filters supported include: equalities, inequalities, and contains.
26
26
- question: |
27
-
What consistency levels will be supported with materialized views in Azure Cosmos DB for Apache Cassandra?
27
+
What consistency levels are supported with materialized views in Azure Cosmos DB for Apache Cassandra?
28
28
answer: |
29
29
Only eventual consistency is guaranteed on the materialized view. You may read stale rows when compared to data on base table due to retrying some operations on materialized views.
30
30
31
31
You can scale up or scale down the materialized view builder layer depending on your latency requirements for the view to be consistent with base table.
32
32
- question: |
33
-
Will there be an autoscale layer for the materialized view builder instances in Azure Cosmos DB for Apache Cassandra?
33
+
Is there an autoscale layer for the materialized view builder instances in Azure Cosmos DB for Apache Cassandra?
34
34
answer: |
35
35
Autoscaling for the materialized view builder isn't available right now. The materialized view builder instances can be manually scaled by modifying the instance count or size.
36
36
- question: |
37
37
What type of time to live (TTL) support do we have with materialized views in Azure Cosmos DB for Apache Cassandra?
38
38
answer: |
39
-
Time to live (TTL) from base table rows will be applied on the matching row in the materialized view. Setting table-level TTL on materialized views is currently not allowed.
39
+
Time to live (TTL) from base table rows is applied on the matching row in the materialized view. Setting table-level TTL on materialized views is currently not allowed.
40
40
- question: |
41
41
How can we troubleshoot materialized views that aren't up to date in Azure Cosmos DB for Apache Cassandra?
42
42
answer: |
@@ -47,13 +47,17 @@ sections:
47
47
The following metrics are available:
48
48
49
49
- **Max Materialized View Catchup Gap in Minutes**: The value `t` indicates rows written to base table in last `t` minutes that are yet to be propagated to the materialized view.
50
+
:::image type="content" source="media/materialized-views-faq/catchup-metrics.png" lightbox="media/materialized-views-faq/catchup-metrics.png" alt-text="Screenshot of the Catchup metrics for materialized views in Azure Cosmos DB for Apache Cassandra.":::
50
51
- **Read change feed cost**: Request units consumed on the base table to read data for the materialized view.
52
+
:::image type="content" source="media/materialized-views-faq/cpu-usage-metrics.png" lightbox="media/materialized-views-faq/cpu-usage-metrics.png" alt-text="Screenshot of the CPU Usage metrics for materialized views in Azure Cosmos DB for Apache Cassandra.":::
51
53
- **Write cost**: Request units consumed on the materialized view to transform and persist data that was read from the base table.
54
+
:::image type="content" source="media/materialized-views-faq/max-cpu-metrics.png" lightbox="media/materialized-views-faq/max-cpu-metrics.png" alt-text="Screenshot of the Memory metrics for materialized views in Azure Cosmos DB for Apache Cassandra.":::
52
55
- Other metrics related to typical resource consumption on materialized view builders. These metrics include **CPU** and **memory usage**.
56
+
:::image type="content" source="media/materialized-views-faq/memory-metrics.png" lightbox="media/materialized-views-faq/memory-metrics.png" alt-text="Screenshot of the Max CPU metrics for materialized views in Azure Cosmos DB for Apache Cassandra.":::
53
57
- question: |
54
58
What are the restore options available for materialized views in Azure Cosmos DB for Apache Cassandra?
55
59
answer: |
56
-
Materialized views can't be restored. Hence, thee views will need to be recreated once the base table is restored.
60
+
Materialized views can't be restored. Hence, thee views need to be recreated once the base table is restored.
57
61
- question: |
58
62
Can you create more than one materialized view on a single base table in Azure Cosmos DB for Apache Cassandra?
59
63
answer: |
@@ -65,7 +69,7 @@ sections:
65
69
- question: |
66
70
Can we add or remove columns on the base table once a materialized view is defined in Azure Cosmos DB for Apache Cassandra?
67
71
answer: |
68
-
You'll be able to add a column to the base table, but you can't remove a column. After a materialized view is created against a base table, `ALTER TABLE ADD`` operations aren't allowed on the base table. `ALTER TABLE ADD` operations are only allowed if none of the views have selected `*`` in their definition.
72
+
You're able to add a column to the base table, but you can't remove a column. After a materialized view is created against a base table, `ALTER TABLE ADD`` operations aren't allowed on the base table. `ALTER TABLE ADD` operations are only allowed if none of the views have selected `*`` in their definition.
69
73
70
74
Apache Cassandra doesn't support dropping columns on the base table if it has a materialized view defined on it.
71
75
- question: |
@@ -77,14 +81,14 @@ sections:
77
81
78
82
To use materialized views, create a new table after the feature is enabled.
79
83
- question: |
80
-
What are the conditions on which records won't make it to a materialized view in Azure Cosmos DB for Apache Cassandra?
84
+
What conditions can cause records to not make it to a materialized view in Azure Cosmos DB for Apache Cassandra?
81
85
answer: |
82
-
Below are some of the identified cases where data from a base table can't be written to materialized view as they violate known constraints on a materialized view table:
86
+
Here are some of the identified cases where data from a base table can't be written to materialized view as they violate known constraints on a materialized view table:
83
87
84
88
- Rows that don't satisfy partition key size (2 kb) limit in the materialized views
85
89
- Rows that don't satisfy clustering key size (1 kb) limit in materialized views
86
90
87
-
Currently, the builder will drop these rows.
91
+
Currently, the builder drops these rows.
88
92
- question: |
89
93
Can we use materialized views with customer-managed keys in Azure Cosmos DB for Apache Cassandra?
0 commit comments