[SERVER-67497] Refactor the hist-ce prototype to separate estimation logic from histograms Created: 24/Jun/22  Updated: 29/Oct/23  Resolved: 26/Jul/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Timour Katchaounov Assignee: Alya Berciu
Resolution: Fixed Votes: 0
Labels: M1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-68048 Coverity analysis defect 122536: Unsa... Closed
is depended on by SERVER-68049 Coverity analysis defect 122540: Copy... Closed
Problem/Incident
causes SERVER-68048 Coverity analysis defect 122536: Unsa... Closed
causes SERVER-68049 Coverity analysis defect 122540: Copy... Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2022-07-11, QO 2022-07-25, QO 2022-08-08
Participants:

 Description   

Architecture:

  • class Histogram becomes ScalarHistogram has no estimation functionality,
  • class ArrayEstimator becomes Histogram that contains up to 4 histograms, 3 of them optional,
  • new class Statistics provides storage for histograms, and an interface to fetch a histogram keyed by a path, and also methods for other CE-related metadata as collection cardinality,
  • all histogram-based estimation is moved into its own module. It could be a set of functions, or a class if needed.


 Comments   
Comment by Githook User [ 26/Jul/22 ]

Author:

{'name': 'Alya Berciu', 'email': 'alya.berciu@mongodb.com', 'username': 'alyacb'}

Message: SERVER-67497 Refactor histogram CE
Branch: master
https://github.com/mongodb/mongo/commit/12eb0fadbc8ad8490cd08fe04ac3728f1a076658

Generated at Thu Feb 08 06:08:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.