I am looking at one server where xp_delete_file is extremely slow to delete files.
One subdirectory contains a few thousands files and it takes about 1 second for each file to delete.
The wait_info is PREEMPTIVE_OS_GETPROCADDRESS.
Deleting files through the del command in Windows is fast.
Has anyone seen this before? Any ideas how to troubleshoot it?
Ola Hallengren
http://ola.hallengren.com