Virtual columns and optimized insert