From a program point of view, a database often makes more sense than a configuration file. I have to parse a file completely to get to the desired file. With a database it is “easier” to get the desired value. To put it simply: get the price of the item I am holding in my hand
and is therefore also more memory-saving than first loading a complete file into memory and then parsing it for the desired value. This is not a static absolute statement, but from my point of view a database is better suited for certain things than a config file ![]()
Translated with DeepL.com (free version)