The invention relates to an orphan file
processing method and device,
computer equipment, a computer readable storage medium and a
computer program product. The method comprises the steps that an orphan file
processing instruction is obtained, the orphan file
processing instruction carries a
target database label, and the
target database label is used for determining a
target database for executing the orphan file
processing instruction; querying a
database directory table by using the target
database tag, determining a storage space corresponding to the target
database, and obtaining each file in the storage space to obtain a first file
data set; according to the target database
label, a corresponding table
record table is determined, a target field in the table
record table is determined, and the target field is matched with a field value of a preset field; obtaining each file corresponding to the target field to obtain a second file
data set; and determining the orphan file according to the first file
data set and the second file data set. By adopting the method, the accuracy of orphan file determination can be improved.