query ids
mapping: ZooPCImpl --> queryNr
remove activations in rollbacked trx's to save space