Why does it take me so long to read/write a large data record from or to the User Archive?
Reading/writing a large data record takes you so long because you are using the API calls "TLGGetUserArchivFieldText(...)" and "TLGSetUserArchivFieldText(...)".
These calls read/write each value individually from/to the archive. The process takes so long because of the frequent access to the hard disk.
Use the calls "TLGGetUserArchivFieldDataText(...)" and "TLGSetUserArchivFieldDataText(...)".
With these calls you access the temporary data record. The access time is reduced to a tenth of that for the API calls "TLGGetUserArchivFieldText(...)" and "TLGSetUserArchivFieldText(...)".