optimization for low-memory and InnoDB-only usage