Extent Map Backup & Recovery
ColumnStore 5.x and above uses an extent map file located at /var/lib/columnstore/data1/systemFiles/dbrm/BRM_saves_em. If this file were to become corrupted or if your system were to crash before the current runtime information were flushed to disk, your system could become unusable and data loss could occur. The ColumnStore team currently has two projects under development to address this. One will address the crash proofing of this file and the other will allow for extent recreation via a new utility.
In the interim, we recommend that users of ColumnStore follow the following procedures to allow a quick recovery from such an outage.
1. $ mariadb -e "FLUSH TABLES WITH READ LOCK;" 2. $ save_brm 3. $ mkdir /extent_map_backup 4. $ cp -f /var/lib/columnstore/data1/systemFiles/dbrm/BRM_saves_em /extent_map_backup 5. $ mariadb -e "UNLOCK TABLES;"