get db stat endpoint added