The DB stores BlueStore’s internal metadata and the WAL is BlueStore’s internal journal or write-ahead log. It is recommended to use a fast SSD or NVRAM for better performance.
Important Since Ceph has to write all data to the journal (or WAL+DB) before it can ACK writes, having this metadata and OSD performance in balance is really important!
For hosts with multiple HDDs (multiple OSDs), it is possible to use one SSD for all OSDS DB/WAL (one partition per OSD).
NOTE: The recommended scenario for mixed setup for one host is to use
Proxmox UI and CLI expects only whole device as DB device, not partition!. It will not destroy existing drive. It expect LVM volume with free space and it will create new LVM volume for DB/WAK.
Ceph native CLI can work with partition specified as DB (it also works with whole drive or LVM).
MORE INFO:
DB size:
ceph daemon osd.0 perf dump | jq .bluefs
80GB was reserved on HDD for DB, where 1.6-2.4GB is used.