[SERVER-11946] colMod should expose padding factor, so one can tune it up and down Created: 04/Dec/13 Updated: 10/Dec/14 Resolved: 23/Jul/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin, Performance, Storage, Usability |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | David Murphy | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 2 |
| Labels: | collMod, padding, pull-request | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
all |
||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
This is important to be able to "hint" to the system the correct padding, as some workloads are heavy to start and tapper off. This type of workload makes it impossible to learn the padding factor when needed. It would not override the normal behavior just tune the current level for heuristics to still tune as more data is learned. It should behave like this, so that is not a new setting up just updating the existing data to help the engine make better INITIAL decisions.
Pull request is ready once the test case is written. |
| Comments |
| Comment by Ramon Fernandez Marina [ 23/Jul/14 ] |
|
dmurphy, apologies for the late reply. We discussed this internally, and the decision was to close this ticket but keep |
| Comment by David Murphy [ 09/Dec/13 ] |
|
https://github.com/mongodb/mongo/pull/572 been generated
No test included as no other tests for collMod where found in the code. This call the same function as organic growth does "nsd->setPaddingFactor()". It only exposes what it done internal so in specific use cases it can be optimized when growth via updates are expected. I ran a a full smoke to review this , as well as inserting 1M {x:"$number"}type documents that could have a string,double,array or sub-document (or combo assigned) in a loop, then changed the padding factor to ensure the value was not reverted back. |