Generally, you should have an index for each combination of fields you use in a query. Primary key gives you an implicit index, but you need to create the rest yourself.
In your case, I'd suggest to have AccountID as a primary key (without PartyID) and also create a compound index for the pair (AccountID, PartyID) via CREATE INDEX. Thanks, Stan -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
