MongoDB DBA

Installation, Configuration & Memory

Question

Configuration file versus command-line startup options: how should each be used?

Answer

Both express equivalent startup settings. Use a reviewed YAML configuration file for managed production state; use command-line options for controlled launches where that state is supplied externally. Applies to self-managed MongoDB only.

This is 2 of 22 free samples for MongoDB DBA.

More MongoDB DBA topic samples