grndb: check database itself