Skip to content
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

MariaDB configuration docs #636

Open
MichaIng opened this issue Dec 10, 2021 · 0 comments
Open

MariaDB configuration docs #636

MichaIng opened this issue Dec 10, 2021 · 0 comments
Assignees
Labels
extension Extend/complement existing pages

Comments

@MichaIng
Copy link
Owner

MichaIng commented Dec 10, 2021

[mysqld]
# Disable file logging in favour of "journalctl -u mariadb"
skip_log_error=1
# Disable host name resolving
# NB: For remote access, IP addresses then need to be used when creating/altering database users.
skip_name_resolve=1
# Disable the TCP listener all together
# NB: For any database access, the UNIX socket "/run/mysqld/mysqld.sock" then needs to be used.
skip_networking=1
# The query cache is not recommended on multi-core machines.
query_cache_size=0
query_cache_type=0
# Since we use no MyISAM tables, disable key buffer
key_buffer_size=0
# Since we have only 336 KiB Aria tables, limit Aria page cache to 512 KiB
aria_pagecache_buffer_size=512k
# Since max 8 concurrent connections were reported by MySQLTuner, max connections are limited to 16.
max_connections=16
# All InnoDB databases are around 30 MiB, hence a buffer of 64 MiB is sufficient, including future growth.
innodb_buffer_pool_size=64M
# MySQLTuner recommends 25% InnoDB buffer size as log file size.
innodb_log_file_size=16M
@MichaIng MichaIng added the extension Extend/complement existing pages label Dec 10, 2021
@MichaIng MichaIng mentioned this issue Dec 10, 2021
2 tasks
@fpetru fpetru self-assigned this Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension Extend/complement existing pages
Projects
None yet
Development

No branches or pull requests

2 participants