File tree Expand file tree Collapse file tree 6 files changed +25
-0
lines changed
content/manual/upcoming/source/data-modeling Expand file tree Collapse file tree 6 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ Bloated Documents
12
12
:depth: 3
13
13
:class: singlecol
14
14
15
+ .. dismissible-skills-card::
16
+ :skill: Schema Design Patterns & Antipatterns
17
+ :url: https://learn.mongodb.com/skills?openTab=data%20modeling
18
+
15
19
Storing data fields that are related to each other but not accessed
16
20
together can create bloated documents that lead to excessive RAM and
17
21
bandwidth usage. The :term:`working set`, consisting of frequently accessed
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ Avoid Unbounded Arrays
12
12
:depth: 3
13
13
:class: singlecol
14
14
15
+ .. dismissible-skills-card::
16
+ :skill: Schema Design Patterns & Antipatterns
17
+ :url: https://learn.mongodb.com/skills?openTab=data%20modeling
18
+
15
19
Storing arrays as field values lets you embed data and ensure that data
16
20
that is accessed together is stored together. However, if you do not
17
21
limit the number of elements in an array, your documents might exceed
Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ Schema Design Patterns
7
7
.. meta::
8
8
:description: Optimize your data model with schema design patterns to enhance query performance and manage schema changes effectively.
9
9
10
+ .. dismissible-skills-card::
11
+ :skill: Schema Design Patterns & Antipatterns
12
+ :url: https://learn.mongodb.com/skills?openTab=data%20modeling
13
+
14
+
10
15
Use schema design patterns to optimize your data model based on how your
11
16
application queries and uses data.
12
17
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ Store Computed Data
13
13
:depth: 1
14
14
:class: singlecol
15
15
16
+ .. dismissible-skills-card::
17
+ :skill: Schema Design Patterns & Antipatterns
18
+ :url: https://learn.mongodb.com/skills?openTab=data%20modeling
19
+
16
20
An application might need to derive a value from source data stored in a
17
21
database. Computing a new value can require significant CPU resources,
18
22
especially in the case of large data sets or in cases where multiple
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ Use the Inheritance Pattern
12
12
:depth: 1
13
13
:class: singlecol
14
14
15
+ .. dismissible-skills-card::
16
+ :skill: Schema Design Patterns & Antipatterns
17
+ :url: https://learn.mongodb.com/skills?openTab=data%20modeling
18
+
15
19
Use the inheritance pattern when your documents are mostly similar and
16
20
you want to keep them in the same collection so they can be read
17
21
together. The inheritance pattern uses a parent entity with common
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ Identify Application Workload
15
15
:depth: 2
16
16
:class: singlecol
17
17
18
+ .. dismissible-skills-card::
19
+ :skill: Schema Design Patterns & Antipatterns
20
+ :url: https://learn.mongodb.com/skills?openTab=data%20modeling
21
+
18
22
The first step in the :ref:`schema design process
19
23
<data-modeling-schema-design>` is to identify the operations that your
20
24
application runs most frequently. Knowing your application's most common
You can’t perform that action at this time.
0 commit comments