Adjusting database storage format and profile