[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

5898.0. "Size of file with historian after purge." by KERNEL::WARDJO () Tue Mar 08 1994 05:15

    I have a question regarding the size of the data base file written to
    with the historian.
    
    There is an automatic purge after 45 days but the size of the file
    continues to grow.
    
    Am I correct in assuming that the purged area will not be used and that
    the file will just continue to grow.
    
    If this is the case, is there any way to convert the file or compress
    it in some way to recover this space & if this is done will the
    remaining data be readable.
    
    Any help appreciated.
    
    Jon
    
    
T.RTitleUserPersonal
Name
DateLines
5898.1VMS or ULTRIX ?TAEC::LAVILLATWed Mar 09 1994 04:389
    Jon

	Can you precise the MCC version and Operating system you are using ?
        The behavior of file systems is quite different from VMS to ULTRIX.
 
        Regards.

        Pierre.

5898.2VMS & MCC V1.3COMICS::WARDJWed Mar 09 1994 06:489
    Pierre,
    
    Its VMS and MCC V1.3 - If you need the exact version of VMS I can get
    it.
    
    Thanks,
    
    Jon
    
5898.3VMS, what is VMS ?TAEC::LAVILLATThu Mar 10 1994 04:1113
>    
>    Its VMS and MCC V1.3 - If you need the exact version of VMS I can get
>    it.
>    

	Bad luck, I do not know much about VMS. I am afraid I will let
	someone else answer then.

	Sorry.

	Pierre.

5898.4compress procedureCTHQ::WOODCOCKSkiing's 1st Human GroomerThu Mar 10 1994 08:3821
Greetings,

Yes, it continues to grow until you shut down the process and compress it.
Here's a quick procedure to compress.

cheers,
brad...

$! This procedure compresses MCC historical files to regain disk space from
$! data which has been purged dating back beyond the KEEP AGE from the RECORD
$! command.
$!
$ dir/size *.*MCC_HIST_ATTR012_1;
$ inquire file "Enter file to compress"
$ analyze/rms/fdl/output=purge.fdl 'file'
$ edit/fdl/nointeract/analyze=purge.fdl purge.fdl
$ convert/fdl=purge.fdl 'file' *
$ delete purge.fdl;*
$ file=f$extract(0,f$locate(";",file),file)
$ purge 'file
$ exit