Creating memory-optimized tables and indexes