Skip to content

Commit e85b0bc

Browse files
author
Sam Kleinman
committed
DOCS-602 adding link target and tweaking a sentence
1 parent a0bee22 commit e85b0bc

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

source/faq/fundamentals.txt

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,7 @@ files lazily. MongoDB may wait to write data to the data files for as
125125
much as one minute. This does not affect durability, as the journal
126126
has enough information to ensure crash recovery.
127127

128-
Does MongoDB handle caching?
129-
----------------------------
130-
131-
Yes. MongoDB keeps all of the most recently used data in RAM. If you
132-
have created indexes for your queries and your working data set fits
133-
in RAM, MongoDB serves all queries from memory.
134-
135-
MongoDB does not implement a query cache: MongoDB serves all queries
136-
directly from the indexes and/or data files.
128+
.. _faq-database-and-caching:
137129

138130
Does MongoDB require a separate caching layer for application-level caching?
139131
----------------------------------------------------------------------------
@@ -147,8 +139,20 @@ need for a separate caching layer in the application.
147139
This differs from relational databases, where caching data is more
148140
expensive. Relational databases must transform data into object
149141
representations that applications can read and must store the
150-
transformed data in a separate cache. If joins are required that adds to
151-
the overhead.
142+
transformed data in a separate cache: if these transformation from
143+
data to application objects require joins, this process increases the
144+
overhead related to using the database which increases the importance
145+
of the caching layer.
146+
147+
Does MongoDB handle caching?
148+
----------------------------
149+
150+
Yes. MongoDB keeps all of the most recently used data in RAM. If you
151+
have created indexes for your queries and your working data set fits
152+
in RAM, MongoDB serves all queries from memory.
153+
154+
MongoDB does not implement a query cache: MongoDB serves all queries
155+
directly from the indexes and/or data files.
152156

153157
What language is MongoDB written in?
154158
------------------------------------

0 commit comments

Comments
 (0)