As soon as {HEAD ~ the overall database memory benefit} for {TAIL ~ a given database} is calculated, the memory benefit data for the database is compared against the overall memory benefit data generated from other databases in the data processing system  
for
As soon as { HEAD ~ the overall database memory benefit } for { TAIL ~ a given database } is calculated , the memory benefit data for the database is compared against the overall memory benefit data generated from other databases in the data processing system
OTH OTH OTH HEAD HEAD HEAD HEAD HEAD HEAD HEAD HEAD HEAD REL TAIL TAIL TAIL TAIL TAIL TAIL TAIL OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH