How to handle long running query : DELETE FROM archive_names WHERE NOT EXISTS (SELECT 1 FROM indexed_archives_entries i WHERE i.entry_name_id = name_id)

AuthorFullName__c
JFrog Support
articleNumber
000001044
ft:sourceType
Salesforce
FirstPublishedDate
2016-09-05T14:54:46Z
lastModifiedDate
2016-09-05
VersionNumber
5