db_info function

DB information