Skip to content

Commit d31ddea

Browse files
szachovyCopilot
andcommitted
Set InnoDB buffer pool size to 1G
Configure innodb_buffer_pool_size=1G and innodb_buffer_pool_instances=1 to reduce disk I/O for repeated BI queries. The default 128MB causes every query to hit disk instead of being served from memory. Closes #71 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0ab8ce7 commit d31ddea

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121
* Completed [ARCHITECTURE.md](./docs/ARCHITECTURE.md) (#93)
2222
* Migrated CI from self-hosted to GitHub-hosted runners with Docker-in-Docker test infrastructure. (#94)
2323
* Test workflow always builds service images locally for reproducibility. (#97)
24+
* Set InnoDB buffer pool size to 1G for improved query performance. (#71)
2425

2526
### Fixed
2627

services/mysql-server/mysql_config.cnf.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ ssl-key = "/etc/mysql/ssl/mysql_server_key.pem"
1414
require_secure_transport = "ON"
1515
max_connections = "50"
1616
max_connect_errors = "50"
17+
innodb_buffer_pool_size = "1G"
18+
innodb_buffer_pool_instances = "1"

0 commit comments

Comments
 (0)