Added db APIs for Glance