Michael Taranov
06/03/2026, 11:59 AMRocky
06/03/2026, 11:59 AMmeta_dir parameter in your fe.conf file.
* Default Location: ${STARROCKS_HOME}/meta
* Specific Subdirectory: Within the meta_dir, you will typically find a bdb/ directory where the BDB JE environment and journal files (with names like 00000000.jdb) reside.
Best Practices for Storage
* Performance: Because every metadata-changing operation must be written to the journal before it is considered successful, it is highly recommended to store the meta_dir on a high-performance disk, such as an SSD/NVMe.
* Disk Space: Ensure sufficient disk space. If the disk containing the journal becomes full (or falls below a safety threshold, typically 5 GB in newer versions), the FE node may stop or fail to restart.
* Isolation: Avoid sharing the same disk with BE data or heavy system logs to prevent I/O contention.
You can check your current storage location by running:
bash
grep "meta_dir" fe/conf/fe.conf
If the line is commented out or missing, it defaults to the meta directory in your FE installation path.
References
• administration/management/FE_configuration.md
• administration/Meta_recovery.md