Skip to content

Commit 7a8a1f8

Browse files
committed
note updated
1 parent ccb5d93 commit 7a8a1f8

File tree

4 files changed

+20
-12
lines changed

4 files changed

+20
-12
lines changed

docs/MongoDB/Advanced MongoDB/mongodb-indexing-limitations.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ In this chapter, we will learn about Indexing Limitations and its other componen
1515

1616
Every index occupies some space as well as causes an overhead on each insert, update and delete. So if you rarely use your collection for read operations, it makes sense not to use indexes.
1717

18-
> **Note:**
19-
> - Indexes require additional space.
20-
> - Each insert, update, and delete operation requires additional processing due to index maintenance.
18+
:::note
19+
- Indexes require additional space.
20+
- Each insert, update, and delete operation requires additional processing due to index maintenance.
21+
:::
2122

2223
```mermaid
2324
graph TD;
@@ -30,7 +31,9 @@ graph TD;
3031

3132
Since indexes are stored in RAM, you should make sure that the total size of the index does not exceed the RAM limit. If the total size increases the RAM size, it will start deleting some indexes, causing performance loss.
3233

33-
> **Note:** Ensure that the total size of all indexes does not exceed the available RAM to avoid performance issues.
34+
:::note
35+
Ensure that the total size of all indexes does not exceed the available RAM to avoid performance issues.
36+
:::
3437

3538
```mermaid
3639
graph TD;
@@ -46,9 +49,10 @@ Indexing can't be used in queries which use:
4649
- Arithmetic operators like `$mod`, etc.
4750
- `$where` clause
4851

49-
> **Note:**
50-
> - Regular expressions and negation operators cannot use indexes.
51-
> - Arithmetic operators and `$where` clause cannot use indexes.
52+
:::note
53+
- Regular expressions and negation operators cannot use indexes.
54+
- Arithmetic operators and `$where` clause cannot use indexes.
55+
:::
5256

5357
| Query Type | Index Usage |
5458
|-----------------|--------------|
@@ -72,7 +76,9 @@ graph TD;
7276

7377
MongoDB will not insert any document into an indexed collection if the indexed field value of this document exceeds the index key limit. The same is the case with `mongorestore` and `mongoimport` utilities.
7478

75-
> **Note:** Documents with indexed field values exceeding the key limit will not be inserted into an indexed collection.
79+
:::note
80+
Documents with indexed field values exceeding the key limit will not be inserted into an indexed collection.
81+
:::
7682

7783
```mermaid
7884
graph TD;

docs/MongoDB/Advanced MongoDB/mongodb-map-reduce.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,13 @@ graph TD;
9191
D --> E(Aggregated Results);
9292
```
9393

94-
### Note: Performance Considerations
94+
:::note Performance Considerations
9595

9696
When using MapReduce in MongoDB:
9797
- Consider the performance overhead, especially for large data sets.
9898
- Optimize your map and reduce functions for efficiency.
9999
- Utilize indexes to improve query performance.
100+
:::
100101

101102
### Table: MapReduce Options
102103

docs/MongoDB/Advanced MongoDB/mongodb-text-search.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ graph LR;
5454
C --> D(Retrieve Matching Documents);
5555
```
5656

57-
### Note: Performance Considerations
57+
::: note: Performance Considerations
5858

5959
When using text search in MongoDB:
6060
- Text indexes can significantly improve search performance for string content.
6161
- Consider the language-specific settings for stemming and stop words.
6262
- Optimize text indexes based on the search requirements.
63-
63+
:::
6464
### Table: Text Search Options
6565

6666
| Option | Description |

docs/MongoDB/Advanced MongoDB/working-with-rockmorgo.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ graph LR;
2828
D --> E(Login with Default Credentials);
2929
```
3030

31-
### Note: Default Credentials
31+
:::note Default Credentials
3232

3333
Upon installation, RockMongo uses default credentials (Username: admin, Password: admin). Change these credentials for security purposes.
3434

35+
:::
3536
## Basic Operations with RockMongo
3637

3738
Let's explore some basic operations you can perform with RockMongo:

0 commit comments

Comments
 (0)