Skip to content

Commit c9414f4

Browse files
author
Theo van Kraay
committed
style edits
1 parent 96c4df6 commit c9414f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/managed-instance-apache-cassandra/materialized-views.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ Materialized views are disabled by default, but users can enable them on their c
2828

2929
Microsoft cannot offer any SLA or support on issues with materialized views.
3030

31-
## What should I do instead?
31+
## Alternatives to materialized views
3232
Like most NoSQL stores, Apache Cassandra is not designed to have a normalized data model. If you need to update data in more than one place, your program should send all the necessary statements as part of a [BATCH](https://cassandra.apache.org/doc/trunk/cassandra/cql/dml.html#batch_statement). This has two advantages over materialized views:
3333

3434
- BATCH guarantees that all statements in the batch are committed or none.
3535
- All the statements have the same quorum and commit semantics.
3636

3737
If your workload truly needs a normalized data model, consider a scalable relational store like Azure's [Hyperscale PostgreSQL](/azure/postgresql/hyperscale/).
3838

39-
## How do I enable materialized views?
39+
## How to enable materialized views
4040
You need to set `enable_materialized_views: true` in the `rawUserConfig` field of your Cassandra data center. To do so, use the following Azure CLI command to update each data center in your cluster:
4141

4242
```azurecli-interactive

0 commit comments

Comments
 (0)