-
Notifications
You must be signed in to change notification settings - Fork 0
AB#114694 shrink the DB buffer size #206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -152,6 +152,10 @@ Resources: | |
| log_output: "FILE" | ||
| long_query_time: "5" | ||
| slow_query_log: "1" | ||
| # 16MB. This is a reduction from the RDS default, which seems tuned for larger instances. | ||
| innodb_log_buffer_size: "16777216" | ||
| # 96MB. Shave a little off the default of 128MB to free some memory. | ||
| innodb_buffer_pool_size: "100663296" | ||
|
Comment on lines
+155
to
+158
|
||
|
|
||
| #dbOptionGroup: | ||
| # Type: "AWS::RDS::OptionGroup" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The inline comments about the “RDS default” values look potentially inaccurate/misleading (e.g.,
innodb_log_buffer_sizeis 16MB here, which is commonly already the MySQL default, andinnodb_buffer_pool_sizedefaults vary by engine/parameter group). Please confirm the actual defaults for themysql${dbEngineMajorVer}family you deploy, and update the comments (or drop the override) so this doesn’t communicate the wrong baseline to future maintainers.