[SERVER-17479] add option to skip indexes in db.collection.validate(full) Created: 05/Mar/15 Updated: 06/Dec/22 Resolved: 14/Sep/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | MMAPv1, Storage |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Asya Kamsky | 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 | ||
| Assigned Teams: |
Storage Execution
|
| Participants: |
| Description |
|
The slowest part of full validate that does not scan data is the index validation. In some cases it may be desirable to analyze space usage without actually validating indexes for the collection, since index validation is very slow (relatively speaking). an option like {noIndex:true} with full would be backwards compatible while adding this ability. |
| Comments |
| Comment by Geert Bosch [ 22/May/15 ] |
|
The use cases for this only apply to mmapv1. |