Antonios Giannopoulos is a Senior Database Administrator at ObjectRocket supporting MongoDB, Elastic and CockroachDB. Antonios has 18 years of experience in databases and system engineering. He really enjoys challenges in sharding and schema design and loves migrations from Relational to NoSQL world.
The Concept of Materialized Views in MongoDB Sharded Clusters
In one of my past blogs I explained the contribution of MongoDB® views in organization security. In this blog, I will take it one step further and I will try to approach the concept of a materialized view in MongoDB. In computing, a materialized view is a database object that contains the results of a query (definition taken from Wikipedia). If you are already familiar with MongoDB views (or you read my blog), you are now probably wondering why I am calling the MongoDB views materialized while it’s well known that they are computed on the fly? Well, the answer is that in this blog, I am not going to discuss the built-in view capabilities of MongoDB – which by the way are not materialized –but for a technique on how to build, maintain and use a materialized views in a MongoDB sharded cluster.
Read more »