DB/mmaps: Rename mmap commands related sql