Re: Which delete statement is faster?



On Oct 16, 3:23 pm, "Mike Minor" <mminor...@xxxxxxxxxxxxx> wrote:
I have a directory with 200000+files, all in the a*.txt;1 range. I need to
ftp these files to another server. After sending 30,000+ files via FTP I
realized the magnatude of the ftp process, and interrupted it. I want to
delete the 30,000+ file already ftp'ed before going back and looking at

So those files are 'early on' in the directory.

'In place' renaming to ;2 for easy exclusion with FTP is not a bad
thought!

What OpenVMS version?

The problem is somewhat similar to one discussed in:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1165943

You may want to check out my rename suggestion there.
It does a double rename to allow the system to allways take from and
add to the end.

This avoids the expensive 1-block shuflef up to make room when
inserting an 'early' file and the
equally expensive shuffle down when the last entry from vbn 1 is
removed.

You may want to adjust it to pre-establish 5K - 25K - chunks of file
to be dealt with.

Cheers,
Hein.


.



Relevant Pages

  • Re: JINETD Job stuck will not abort?
    ... What version of MPE, FTP, Network, etc? ... Is the network clean? ... JINETD Job stuck will not abort? ... This inbound FTP process seems to be doing a loop for each ...
    (comp.sys.hp.mpe)
  • Help: Large Incoming FTP Files Using Entire Server Memory
    ... I'm scripting an FTP process to backup large disk image files from a Linux ... degrades performance on the Windows server. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Which delete statement is faster?
    ... After sending 30,000+ files via FTP I ... realized the magnatude of the ftp process, ... That should run pretty fast because the directory entries can be ... When you're finished you can do a reverse alphabetical order delete ...
    (comp.os.vms)
  • Something better than ftp?
    ... We have some in house developed software that automatically updates a ... web server with static html pages by starting an ftp process using the ... system default ftp client. ... circumstances we observe the ftp process stalling occasionally (maybe 1 ...
    (uk.comp.os.linux)
  • Re: Something better than ftp?
    ... web server with static html pages by starting an ftp process using the ... system default ftp client. ... rsync. ... monitoring and the stalled ftp process killed. ...
    (uk.comp.os.linux)