File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88
99
10- | :warning : | For the fastest processing, ensure that your indexes fit entirely in RAM so that the system can avoid reading the index from disk. |
10+ | :warning : | For the fastest processing, ensure that your indices fit entirely in RAM so that the system can avoid reading the index from disk. |
1111| :----:| :----|
1212
1313## Why indexing my collections?
@@ -46,14 +46,15 @@ The concept of an index in MongoDB is the same as in relational databases. An in
4646| :-----------:| :----------------------------------:|
4747| user | userSourcedId, orgId, tenantId |
4848| line_item | lineitemSourcedId, orgId, tenantId |
49- | primary_key | result.sourcedId, orgId, tenantId |
49+ | composite_key| result.sourcedId, orgId, tenantId |
50+ | most_recent | result.date, orgId, tenantId |
5051
5152<br >
5253
5354### MongoUser
5455| Index | Keys |
5556| :-----------:| :--------------------------------:|
56- | primary_key | user.sourcedId, orgId, tenantId |
57+ | composite_key | user.sourcedId, orgId, tenantId |
5758
5859
5960<br >
You can’t perform that action at this time.
0 commit comments