Open danielszilagyi opened 2 months ago
@coderabbitai review
Hm, I see you came up with a somewhat generic approach, which is kinda interesting.
Does this work really? I wonder since the options according to
mysqld --help --verbose
uses dashes and a equal sign (--innodb-buffer-pool-size=#
).
It worked in dev container:
[19:24:05] INFO: Starting MariaDB with command line parameters: --innodb_buffer_pool_size=512M
116 root 0:11 mysqld --datadir=/data/databases --user=root --innodb_buffer_pool_size=512M
MariaDB [(none)]> show variables like '%innodb_buffer_pool_size%';
+-------------------------+-----------+
| Variable_name | Value |
+-------------------------+-----------+
| innodb_buffer_pool_size | 536870912 |
+-------------------------+-----------+
1 row in set (0.006 sec)
`
Is someone able to reopen the issue https://github.com/home-assistant/addons/issues/3754 ?
Fixes #3754
Summary by CodeRabbit
New Features
parameters.innodb_buffer_pool_size
andmariadb_server_args
for enhanced server control and performance optimization.Documentation
Configuration Changes
config.yaml
to include the new parameterinnodb_buffer_pool_size
with a default value of128M
and addedmariadb_server_args
for additional configuration flexibility.