Lato server si nota un ottimo consumo di CPU e Memoria e di reattività del server.
Dopo oramai 2 settimane di utilizzo devo dire che le performance in generale sono migliorate a vista d’occhio sui server domino sulla quale è stata deployata.
In questo articolo vedremo un’aspetto dedicato alle perfomance delle viste chiamato
Dynamic indexing of high-usage views (Indicizzazione dinamico delle viste delle viste più utilizzate)
Il server Domino V10 assegna dinamicamente un thread dedicato alle viste dei database che sono aggiornate frequentemente. In questo modo le viste che sono spesso impegnate dall’update sono costantemente aggiornate.
Il meccanismo è del tutto automatico e non richiede l’intervento dell’utente per l’identificazione delle viste maggiormente utilizzate.
Il principio di funzionamento è il seguente:
Abilitando questa feature il server Domino regolarmente effettua un monitor delle azioni di update delle viste nei database che sono aperti ed assegna un punteggio (activity score). Le dieci viste con punteggio maggiore sono marcate come “alto utilizzo” e vengono aggiornate da un thread dedicato istanziato dal server domino.
Anche se la documentazione della V10 dice che questa feature è già attiva di default, in realtà non è così e va attivato un parametro specifico NOTES.INI sul server domino
NIF_VIEW_USAGE_ENABLED=1
Con il comando show task potete vedere in realtime le viste ad alto utilizzo che vengono gestite
o show stat database.viewusage* possibile visualizzare le viste
Qui di seguito tutte le statistiche e la loro spiegazione
-----------------------------------------------
Database.ViewUsage.Calls = Number of calls to update code that added to the cumulative update activity score for views.
Database.ViewUsage.HighUsageDisables Number of times that high usage views were disabled (no longer high usage).
Database.ViewUsage.HighUsageEnables Number of times that high usage views were enabled (made high usage).
Database.ViewUsage.HighUsageUpdateChecks Number of times dedicated high usage view threads checked whether views were stale
Database.ViewUsage.HighUsageUpdates Number of times dedicated high usage view threads updated views.
Database.ViewUsage.Skipped Number of times that updating the update activity scores for views was skipped to avoid semaphore contention.
Database.ViewUsage.HighUsageCurrent Current number of high usage views.
Update.View.[db-file-name].[view-name].Score Score Current score for a view.
Update.View.[db-file-name].[view-name].[statistics] where [statistics] is one of the following: TotalInserts
TotalRemoves
TotalNew
TotalReplace
TotalNonReplace
TotalNodataReplace
Count of specified NIF primitive update operations done by dedicating indexing for a specific high usage view. Use to verify specific actions resulting from dedicating view indexing of a view.
-------------------------------------------------------
Nei prossimi articoli vedremo le altre novità introdotte in questo rilascio
0 Commenti:
Nessun Commento Trovato