[SERVER-63727] Optimize inserts for unique indexes that don't have old format keys Created: 16/Feb/22 Updated: 06/Dec/22 Resolved: 25/Feb/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Storage Execution
|
||||||||
| Participants: | |||||||||
| Description |
|
After This means we can skip this code that inserts and deletes a key every time we check for a duplicate. This will significantly speed up inserts in two ways: |
| Comments |
| Comment by Louis Williams [ 25/Feb/22 ] |
|
yuhong.zhang, you're completely right. Thanks for clarifying. I think the comments about upgrading threw me off. Since that is true, I don't think there's anything improvement we can make in MongoDB. I'm going to instead link to |