A partire dalla R6.x è stata introdotta la possibilità di usare la compressione LZ1 al posto della poco efficace Huffman. I vantaggi di tale comnpressione è la capacita dell'algoritmo LZ1 (verosomilmente del ZIP) di comprimere con maggiore efficace gli allegati all'interno di un database Notes senza richiedere l'incapsulamento dello stesso in un archivio.

LZ1 è completamente trasparente sulle versioni dei template, quindi una mail inviata e compressa con questo algoritmo può essere letta senza problemi da un client R5 su template R5 (sarà il router a procedere alla conversione al Huffman automaticamente).

Fino ad oggi i limiti di implementazione di questa funzione erano legati soprattutto al fatto che non era retroattiva. Questo significa che una volta implementata la funzione, solo i nuovi messaggi con allegati venivano compressi con LZ1.

Recentemente è stato pubblicato un interessante articolo nel Knowledge Base di IBM che ci dice essere finalmente possibile la compressione retroattiva. Tale possibilità è perà solo introdotta per le versioni: 6.5.6 e 7.0.1. Potete leggere l'articolo completo a questo link:

Upgrading existing attachments from Huffman to LZ1 compression

Problem

You configure a Lotus Domino® database to use LZ1 compression and want to convert existing attachments to this algorithm to take advantage of its superior compression ratio. How can you upgrade the compression algorithm for existing attachments?


Solution

The enhancement SPR# ASCR667FLH introduced additional functionality to the Compact task in Domino 6.5.6 and 7.0.1 that allows you to convert existing compressed attachments to either Huffman or LZ1 compression. The switch, -ZU, converts all compressed attachments to LZ1. The switch, -ZD, converts all compressed attachments to Huffman. The feature does not act on attachments that were not previously compressed and does not exist in Notes' Compact code.


In order for the -ZU switch to work, the database property, "Use LZ1 compression for attachments", must be enabled. If the property is not enabled, then the -ZU switch has no effect. The -ZD switch converts to Huffman regardless of the property setting.


For Domino 6.5.6 only, the following notes.ini parameter must be set in order for either switch to operate:


   DEBUG_ENABLE_LZ1_REPAIR=1



The parameter can be set for the current Domino session by issuing the following command at the server console:


   Set Config DEBUG_ENABLE_LZ1_REPAIR=1

 * To convert existing attachments from Huffman to LZ1 compression, perform the following steps:


         1. Enable the database property, "Use LZ1 compression for attachments", found in Database Properties --> Advanced (beanie) panel.


         2. From the server console, run the following command (without quotes):

               "load compact -ZU" To convert existing attachments from LZ1 to Huffman compression, from the server console, run the following command (without quotes): "load compact -ZD"

 *


   NOTE: The conversion to Huffman compression will take place regardless of whether the "Use LZ1 compression for attachments" property is enabled or disabled.


Supporting information:

There is currently no method to use a policy or template inheritance to enable the Advanced Database Property setting, "Use LZ1 compression for attachments." The following document contains a sample LotusScript agent that can be used to programmatically set the property for databases on a specified server: Document #1236614, "How can you programmatically set the LZ1 compression option for all databases?"


Vi riocordo inoltre.....
Come attivare la compressione degli allegati con il nuovo LZ1
  • Dal Clinet Administrator, Selezionare il/i database e andare su "Advanced Properties..", quindi attivare la casella "Use LZ1 Compression for Attachments"
Image:Comprimere gli allegati con LZ1...
  • Eseguire il Compact del database per rendere effettiva l'attivazione (load compact percorso\nomefile.nsf)

0 Commenti:

    Nessun Commento Trovato
Commenta articolo
 

Questo spazio web è stato creato da per un uso pubblico e gratuito. Qualsiasi tipo di collaborazione sarà ben accetta.
Per maggiori informazioni, scrivete a info@dominopoint.it

About Dominopoint
Social
Dominopoint social presence: