1. A computer program product comprising a computer useable storage medium to store a computer readable program, wherein the computer readable program, when executed on a computer, causes the computer to perform operations comprising: receiving a plurality of queries; storing a block of data in a first cache associated with a first processor core, the block of data comprising a subset of data stored in an in-memory database (IMDB); scanning the block of data in the first cache against a first batch of queries on the first processor core, the first batch of queries comprising two or more of the queries; and scanning the block of data against a second batch of queries on a second processor core, the second batch of queries comprising one or more of the queries exclusive of the queries included in the first batch of queries.