Comments - How to configure MariaDB configuration file in recommend way
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
It's impossible to give detailed advice without knowing the specifics of your usage. The defaults are a good starting point, and then you can adjust according to what the description of each variable has to say and your needs, for example, innodb_buffer_pool_size.
See Configuring MariaDB for Optimal Performance for the most important settings.