annotate which queries can run in local store transactions and which can't
(specifically get_key_count seems to have issues)