Comment supprimer une base de document ouverte dans le Database Cache ?



Lorsque vous supprimez une base de document sous Domino Administrator, la base semble supprimée mais lorsque vous appuyez sur la touche F9, elle ré-apparait. Domino possède en effet un cache qui conserve une base récemment ouverte en mémoire pendant 20 mn à partir de la dernière déconnexion.

Ce cache est appelé Database Cache

Visualiser le contenu du cache

Entrez la commande suivante en mode console:

dbcache show

Vider le cache

Entrez la commande suivante en mode console:

dbcacheflush

Désactiver le cache

Pour désactiver le cache, modifiez le fichier notes.ini de votre serveur et ajoutez la commande suivante:

NSF_DbCache_Disable=1

Afficher des statistiques sur le cache

Entrez la commande suivante en mode console:

Show Stat Database.DbCache.*

Statistic Description
Database.DbCache.CurrentEntries Number of databases currently in the cache. If this number frequently approaches the value of Database.DbCache.MaxEntries, increase the number of databases the cache can hold.
Database.DbCache.HighWaterMark Maximum number of databases in the cache during this running of the server program. This number may be artificially high because of startup activity, so it may not be a genuine indicator of cache performance.
Database.DbCache.Hits The number of times an “InitialDbOpen” is satisfied by finding the database in the cache. A high “hits-to-opens” ratio indicates that the database cache is working effectively. If the ratio is low, increase the number of databases the cache can hold.
Database.DbCache.InitialDbOpens The number of times a user/server opened a database that was not already being used by another user/server. For example, if a user opens a mail file while it is being used by the Replicator, this number does not increase. Compare this number to Database.DbCache.Hits to gauge the effectiveness of the cache.
Database.DbCache.Lookups The number of lookups to the database cache. A high “Database.DbCache.Hit” to “Database.DbCache.Lookups” ratio means the database cache is effective. If the ratio is low, increase the number of databases the cache can hold.
Database.DbCache.MaxEntries The number of databases the server can currently hold in its cache at once. To change this value, use the NOTES.INI file setting, NSF_DbCache_Maxentries, or increase physical memory.
Database.DbCache.OvercrowdingRejections Number of times a database is not placed into the cache when it is closed because Database.DbCache.CurrentEntries equals or exceeds Database.DbCache.MaxEntries times 1.5. This number should stay low. If it begins to rise, increase the number of databases the cache can hold

Lotus Domino vider le cache database flush base de documents ouverte how to comment faire pour astuces DbCache

Dans le même esprit ...


Random Posts

Commentaires

Déposez votre commentaire