Redesigned storage structure in mongodb