To optimize performance, you can preload reference address databases to the device memory (RAM). You can specify the preloading method and type in the
SetConfig.xml
file.
The
PreloadingMethod
attribute of the
General
element specifies how Informatica Address Verification preloads the reference address databases to the memory. The default method is MAP. Address Verification continues to support LOAD method for backward compatibility and fallback. However, for new installations you might want to use the MAP method, which is faster and efficient than the LOAD method.
If you set
PreloadingMethod
to MAP, Address Verification uses the file mapping mechanism of the operating system and reads the reference address database only once when you initialize Address Verification. If you set
PreloadingMethod
to LOAD, Address Verification uses a memory allocation call and loads the data to the allotted memory block. The MAP method requires more virtual memory because of larger alignment requirements of the operating system. However, the MAP method has the following advantages over the LOAD method:
In multiprocess conditions, where multiple processes running Address Verification use a common set of
.MD
files, the operating system loads the data into the main memory only once and shares the preloaded reference address databases between separate processes.
The operating system never writes the reference data contents to the paging file when the memory is low. Note that, in such cases, the data might get dropped from the file system cache. If the data is required at a later point in time, Address Verification reads the data from the system storage.
The
PreloadingType
attribute specifies the preloading type for each of the reference address databases. You can set
PreloadingType
to FULL, PARTIAL, or NONE. The default is NONE, which means no preloading of the database.
If you set
PreloadingType
to FULL, Address Verification copies the entire reference address database to the memory. The system must have a significant amount of memory to support FULL preloading of reference address databases, especially for countries such as the United States and the United Kingdom. FULL preloading of reference address databases significantly improves the performance over the other two preloading types, PARTIAL and NONE.
If you set
PreloadingType
to PARTIAL, Address Verification loads only the metadata and indexing structures into the memory. The reference databases remain on the system storage. PARTIAL preloading is an alternative when adequate memory is not available to fully load the required databases. PARTIAL preloading improves the performance over the preloading type NONE.