[SERVER-19052] Remove sizeStorer recalculations at startup with WiredTiger Created: 19/Jun/15 Updated: 17/Jan/17 Resolved: 19/Jun/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | 3.0.5, 3.1.5 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Daniel Pasette (Inactive) | Assignee: | Daniel Pasette (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||||||||||
| Backport Completed: | |||||||||||||||||||||||||||||
| Sprint: | Quint Iteration 5 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
When the WiredTiger record store is initialized, it scans every collection and recalculates the total record size and count if the number of documents is less than 10,000. This extra check is not necessary and can very negatively impact startup time. The documentation should be updated to reflect that the count and size stats may not be 100% accurate in the face of unclean shutdowns. It is possible to reset the sizeStorer by running the validate command. |
| Comments |
| Comment by Githook User [ 22/Jul/15 ] |
|
Author: {u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}Message: |
| Comment by Githook User [ 22/Jul/15 ] |
|
Author: {u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}Message: |
| Comment by Githook User [ 22/Jul/15 ] |
|
Author: {u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}Message: |
| Comment by Githook User [ 22/Jul/15 ] |
|
Author: {u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}Message: (cherry picked from commit 1e786585ae83e55e13016a6761a121b502c887f8) |
| Comment by Githook User [ 22/Jul/15 ] |
|
Author: {u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}Message: (Manual backport of 586a9787b792036cd33684faee82969c5dcf5e50) |
| Comment by Githook User [ 22/Jul/15 ] |
|
Author: {u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}Message: (Manual backport of 299b2c1d833c6ca537e300b5bc49384a7a81e5cd) |
| Comment by Githook User [ 24/Jun/15 ] |
|
Author: {u'username': u'martinbligh', u'name': u'Martin Bligh', u'email': u'mbligh@mongodb.com'}Message: |
| Comment by Githook User [ 22/Jun/15 ] |
|
Author: {u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}Message: |
| Comment by Daniel Pasette (Inactive) [ 19/Jun/15 ] |
|
Linked docs ticket: |
| Comment by Githook User [ 19/Jun/15 ] |
|
Author: {u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}Message: |