ZUP files centralized, TMP files created

alijartealijarte Member Posts: 30
All,

we have Navision running over TerminalServer of which we have 2 servers for the same DB.
We have centralized the ZUP files on a shared drive where they are all kept.
Taking a look at the folder, we see that along with the ZUP files, there's an amount of what I believe temporary files names like "__TEMP__.QD6" and other similar names.

Does anyone know what these files are and whether they are really temporary? Can they be safely deleted?

Any information is welcome.

Thanks,
Ch.
Ch.

Comments

  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    One of the things they (should) contain are the temporary tables, created during run-time.
  • kinekine Member Posts: 12,562
    They can be deleted, if all clients are closed (to prevent deleting file for running client).
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • krikikriki Member, Moderator Posts: 9,110
    kine wrote:
    They can be deleted, if all clients are closed (to prevent deleting file for running client).
    If they are still in use, in general they can't even be deleted.
    But to be on the safe side, delete only those that are a day old.

    And even better would be, that you keep the tempfiles on a local disk, this to increase performance. Tempfiles can be created when for example a big temptable is in use.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • GoMaDGoMaD Member Posts: 313
    An example of a batch file to delete all the files in the temp folder (this batch file doesn't remove the locked files)
    @echo off
    IF NOT %temp% == %tmp% GOTO both
    GOTO single
    
    :both
    CD %temp%
    cd ..
    cd temp
    DEL *.* /F /S/ Q
    
    CD %tmp%
    cd ..
    cd temp
    DEL *.* /F /S /Q
    GOTO end
    
    :single
    CD %temp%
    cd ..
    cd temp
    DEL *.* /F /S/ Q
    
    :end
    @echo on
    

    Can be called from inside navision by using the SHELL command.
    Now, let's see what we can see.
    ...
    Everybody on-line.
    ...
    Looking good!
Sign In or Register to comment.