The invention discloses a
difference analysis method for big file data in different
domain name formats.The method comprises the steps that 1, records in an
escrow file are imported into a
database, meanwhile, indexes generated in a memory, and a
label is configured for each index; 2, each domain
record in a zone is subjected to traversal, whether index information corresponding to the current
record exists in the indexes or not is inquired about, if not, the
record is written in a difference report A, and if yes, all field information of the record is extracted from the
database and compared with corresponding domain information in a
zone file, fields with differences are written in a difference report B, and meanwhile the corresponding
label in the indexes is marked as true; 3, the indexes are subjected to traversal, the indexes is searched for the data with the
label of false, and then corresponding
escrow data is extracted and written in a difference report C.According to the method, time consumed for IO interface and
database traversal is shortened, and
time complexity is lowered.