Sometimes our log shipping restore job takes too long to complete. Though the file sizes(around 1 GB) are small it takes 4-5 hours to finish. The wait type we observe is IO_Completion. This happens once in a while. When i check the percent_complete it shows 100 percent but the job still runs. The lag is above 12 hours. I am trying to restore the differential backup on to the secondary server database to keep the databases in sync without breaking the log shipping. But the restore job continuously picks all the files one by one that are to be restored. If I stop the job the database will go into suspect mode. I had this issue before. I moved all the files which need to be restored to other location.
How to stop the job without disturbing the state of the database so that i can continue with differential backup restore and then go back to log backup restore?