compress the live query