-
Notifications
You must be signed in to change notification settings - Fork 42
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
Updating MySql configuration for Optimization #419
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
"DatabaseName": "sbtest", | ||
"DatabaseScenario": "Balanced", | ||
"DiskFilter": "osdisk:false&sizegreaterthan:256g", | ||
"InnodbBufferPoolSize": "{calculate({SystemMemoryBytes} * 80 / 100)}", | ||
"Duration": "00:05:00" | ||
}, | ||
"Actions": [ | ||
|
@@ -169,7 +170,7 @@ | |
"Parameters": { | ||
"Scenario": "DownloadMySqlServerPackage", | ||
"BlobContainer": "packages", | ||
"BlobName": "mysql-server-8.0.36.zip", | ||
"BlobName": "mysql-server-8.0.36-v2.zip", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What are the changes, need to document what you changed in the package. Also there might be licensing concerns if we modify mysql package. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are the changes not done to mysql package directly. There are few python scripts we have developed in order to configure and run mysql. I will document the changes made. I was planning to add those scripts in source code too, inorder to have proper version control. |
||
"PackageName": "mysql-server", | ||
"Extract": true, | ||
"Role": "Server" | ||
|
@@ -231,7 +232,8 @@ | |
"Action": "SetGlobalVariables", | ||
"Benchmark": "OLTP", | ||
"DiskFilter": "$.Parameters.DiskFilter", | ||
"Variables": "MAX_PREPARED_STMT_COUNT=1000000;MAX_CONNECTIONS=1000000", | ||
"InnodbBufferPoolSize": "$.Parameters.InnodbBufferPoolSize", | ||
"Variables": "MAX_PREPARED_STMT_COUNT=655350;MAX_CONNECTIONS=10000;innodb_buffer_pool_size={InnodbBufferPoolSize};innodb_lock_wait_timeout=300;innodb_io_capacity=10000;innodb_io_capacity_max=10000;innodb_buffer_pool_dump_at_shutdown=OFF;innodb_change_buffering=0;table_open_cache=20000;", | ||
nmalkapuram marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"PackageName": "mysql-server", | ||
"Role": "Server" | ||
} | ||
|
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.
When you change profile parameters please change document accordingly.