O'Reilly logo

RavenDB High Performance by Brian Ritchie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Optimizing the Data Model

Most of us come from a relational database background and often our minds continue to solve problems in that context. Taking this approach in a document database world would be absolutely the wrong thing to do. While it is possible to model relational entities as documents, this would have significant performance and complexity implications. RavenDB is optimized for reading documents with nested object graphs, rather than reading multiple small documents. Due to this, a high performance database requires a well-designed document model.

Thinking in a document centric world

Document modeling requires looking at normalization in a different way. Instead of designing to third normal form (the default RDBMS route), ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required