[SERVER-60070] Create server configuration parameter to control the size of SBE plan cache Created: 20/Sep/21  Updated: 29/Oct/23  Resolved: 01/Oct/21

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

Type: Task Priority: Major - P3
Reporter: Anton Korshunov Assignee: Alexander Ignatyev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-14833 DOCS-14833: Investigate changes in SE... Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2021-10-04
Participants:

 Description   

We will introduce a setParameter planCacheSize. It must take the value in one of the following formats:

  • An interval [0, 100). This indicates the maximum amount of memory that the system will allocate for the plan cache, expressed as a percentage of the system’s total physical memory. For example: "5%".
  • An integer value. This indicates the maximum amount of memory that the system will allocate for the plan cache, expressed in bytes, KB, MB or GB. For example, 1048576, "1024KB", "100MB", "1GB".

Default is "5%".



 Comments   
Comment by Githook User [ 12/Oct/21 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-60070 Add planCacheSize parameter validation
Branch: master
https://github.com/mongodb/mongo/commit/21a99fea6099eb8c9a2d9974dab755b0b103f559

Comment by Githook User [ 08/Oct/21 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-60070 Ignore onPlanCacheSizeUpdate on start
Branch: master
https://github.com/mongodb/mongo/commit/f782c5e04188978fbd2ffd309f278a1783e4bd4b

Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 01/Oct/21 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-60070 Add parameter to control SBE plan cache size
Branch: master
https://github.com/mongodb/mongo/commit/4e8f0d9a316149f1a1cfeb83b230168b49805cd9

Generated at Thu Feb 08 05:48:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.