query budget comparison