To do: compress sequence, use batch prepared inserts