ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Deployments
    • Cloud
    • Server
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
    • Supported Driver Versions
  • Resources
    • ScyllaDB University
    • Community Forum
    • Tutorials
Install
Search Ask AI
ScyllaDB Docs Developers Simulations Materialized Views and Secondary Indexes
For AI agents: a documentation index is available at https://developers.scylladb.com/main/llms.txt. A Markdown version of this page is at https://developers.scylladb.com/main/simulations/materialized-views.md.

Materialized Views and Secondary Indexes¶

This simulation shows four ways that ScyllaDB can find rows by a column that is not the partition key:

  • Materialized view

  • Global secondary index

  • Local secondary index

  • ALLOW FILTERING

For each mode, the simulation shows the CQL statements, the base table and the table that ScyllaDB derives from it, and the write and read paths through the cluster. Use the Driver control to compare a smart (token-aware) driver with a driver that is not token-aware.

Open full screen

Note

This is an educational simulation. It is simplified, and it does not show all of the ScyllaDB internals exactly.

Source code: tzach/scylladb-mv-viz on GitHub

PREVIOUS
Incremental Repair
Developers
Search Ask AI
  • Getting Started with ScyllaDB
    • What is ScyllaDB?
    • Technical Differentiators
  • Switching from DynamoDB
    • Hands on Labs
      • Simple Application
      • Load Balancing
    • Practical Guides
      • Understanding Costs
        • Cost Calculator
        • Real World Scenarios
        • Pricing Models
        • Cost Units
        • Global Tables
        • DAX Caching
      • Migrating from DynamoDB
        • Avoiding Migration Pitfalls
    • User Stories
      • Yieldmo
      • Digital Turbine
      • iFood
      • GE Healthcare
  • Switching from Aerospike
  • Simulations
    • High Availability
    • Tablets
    • Compaction Strategies
    • Incremental Repair
    • Materialized Views and Secondary Indexes
Docs Tutorials University Contact Us About Us
© 2026, ScyllaDB. All rights reserved. | Terms of Service | Privacy Policy | ScyllaDB, and ScyllaDB Cloud, are registered trademarks of ScyllaDB, Inc.
Last updated on 08 Oct 2026.
Powered by Sphinx 9.1.0 & ScyllaDB Theme 1.9.3