jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "Statistics" by alexparvulescu
Date Fri, 10 Feb 2012 13:33:08 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "Statistics" page has been changed by alexparvulescu:
http://wiki.apache.org/jackrabbit/Statistics?action=diff&rev1=2&rev2=3

Comment:
Added session read and write operations, fixed sequence type classification, added future
work reference.

  
  === Provided Statistical Information ===
  
- |||||| '''[[PersistenceManagerFAQ|PersistenceManager]]''' ||
+ ||||||<(> '''[[PersistenceManagerFAQ|PersistenceManager]]''' ||
- || ~-Name-~ || ~-Simple-~ || ~-Description-~ ||
+ || ~-Name-~ || ~-Sequence Type-~ || ~-Description-~ ||
- || BUNDLE_READ_COUNTER         || ''true''  || Counts the number of bundle read operations||
+ || BUNDLE_READ_COUNTER         || ''Single''  || Counts the number of bundle read operations||
- || BUNDLE_WRITE_COUNTER        || ''true''  || Counts the number of bundle write operations||
+ || BUNDLE_WRITE_COUNTER        || ''Single''  || Counts the number of bundle write operations||
- || BUNDLE_WRITE_DURATION       || ''true''  || Tracks the duration (ns) of bundle write
operations  ||
+ || BUNDLE_WRITE_DURATION       || ''Single''  || Tracks the duration (ns) of bundle write
operations  ||
- || BUNDLE_WRITE_AVERAGE        || ''false'' || Computes the bundle write average duration
(ns): BUNDLE_WRITE_DURATION / BUNDLE_WRITE_COUNTER ||
+ || BUNDLE_WRITE_AVERAGE        || ''Incremental'' || Computes the bundle write average duration
(ns): BUNDLE_WRITE_DURATION / BUNDLE_WRITE_COUNTER ||
- || BUNDLE_CACHE_ACCESS_COUNTER || ''true''  || Bundle Cache: access counter ||
+ || BUNDLE_CACHE_ACCESS_COUNTER || ''Single''  || Bundle Cache: access counter ||
- || BUNDLE_CACHE_SIZE_COUNTER   || ''true''  || Bundle Cache: size counter ||
+ || BUNDLE_CACHE_SIZE_COUNTER   || ''Single''  || Bundle Cache: size counter ||
- || BUNDLE_CACHE_MISS_COUNTER   || ''true''  || Bundle Cache: cache miss count ||
+ || BUNDLE_CACHE_MISS_COUNTER   || ''Single''  || Bundle Cache: cache miss count ||
- || BUNDLE_CACHE_MISS_DURATION  || ''true''  || Bundle Cache: cache miss duration (ns) ||
+ || BUNDLE_CACHE_MISS_DURATION  || ''Single''  || Bundle Cache: cache miss duration (ns)
||
- || BUNDLE_CACHE_MISS_AVERAGE   || ''false'' || Bundle Cache: cache miss average (ns): BUNDLE_CACHE_MISS_DURATION
/ BUNDLE_CACHE_MISS_COUNTER ||
+ || BUNDLE_CACHE_MISS_AVERAGE   || ''Incremental'' || Bundle Cache: cache miss average (ns):
BUNDLE_CACHE_MISS_DURATION / BUNDLE_CACHE_MISS_COUNTER ||
- || BUNDLE_COUNTER              || ''true''  || ''Not Implemented'' ||
+ || BUNDLE_COUNTER              || ''Single''  || ''Not Implemented'' ||
- || BUNDLE_WS_SIZE_COUNTER      || ''true''  || ''Not Implemented'' ||
+ || BUNDLE_WS_SIZE_COUNTER      || ''Single''  || ''Not Implemented'' ||
+ ||||||<(> ~- '''*''' ''ns'' = nanoseconds -~ ||
  
- |||||| '''[[JcrSessionHandling|Session]]''' ||
+ ||||||<(> '''[[JcrSessionHandling|Session]]''' ||
- || ~-Name-~ || ~-Simple-~ || ~-Description-~||
+ || ~-Name-~ || ~-Sequence Type-~ || ~-Description-~||
- || SESSION_READ_COUNTER        || ''true''  || Counts the number of session read operations
||
+ || SESSION_READ_COUNTER        || ''Single''  || Counts the number of session read operations
||
- || SESSION_READ_DURATION       || ''true''  || Tracks the duration (ns) of session read
operations ||
+ || SESSION_READ_DURATION       || ''Single''  || Tracks the duration (ns) of session read
operations ||
- || SESSION_READ_AVERAGE        || ''false'' || Computes the average duration (ns) of session
read operations ||
+ || SESSION_READ_AVERAGE        || ''Incremental'' || Computes the average duration (ns)
of session read operations ||
- || SESSION_WRITE_COUNTER       || ''true''  || Counts the number of session write operations
||
+ || SESSION_WRITE_COUNTER       || ''Single''  || Counts the number of session write operations
||
- || SESSION_WRITE_DURATION      || ''true''  || Tracks the duration (ns) of session write
operations ||
+ || SESSION_WRITE_DURATION      || ''Single''  || Tracks the duration (ns) of session write
operations ||
- || SESSION_WRITE_AVERAGE       || ''false'' || Computes the average duration (ns) of session
write operations ||
+ || SESSION_WRITE_AVERAGE       || ''Incremental'' || Computes the average duration (ns)
of session write operations ||
- || SESSION_LOGIN_COUNTER       || ''true''  || Counts the number of session logins (new
created sessions) ||
+ || SESSION_LOGIN_COUNTER       || ''Single''  || Counts the number of session logins (new
created sessions) ||
- || SESSION_COUNT               || ''false'' || Counts the number of active sessions ||
+ || SESSION_COUNT               || ''Single'' || Counts the number of active sessions ||
+ ||||||<(> ~- '''*''' ''ns'' = nanoseconds -~ ||
  
+ Classification of [[JcrSessionHandling|Session]] related operations:
- |||||| '''Query''' ||
- || ~-Name-~ || ~-Simple-~ || ~-Description-~ ||
- || Query || || ||
- || QUERY_COUNT                 || ''true'' || Counts the number of queries ran ||
- || QUERY_DURATION              || ''true''  || Tracks the duration (ms) of queries ||
- || QUERY_AVERAGE               || ''true''  || Computes the average duration (ms) of the
queries ||
  
- ~- '''*''' ''ns'' = nanoseconds / ''ms'' = milliseconds-~
+  * '''Read''' operations: ''[[http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/Session.html#getItem(java.lang.String)|#getItem()]]'',
''[[http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/Session.html#getNode(java.lang.String)|#getNode()]]'',
''[[http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/Session.html#getProperty(java.lang.String)|#getProperty()]]'',
''[[http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/Session.html#itemExists(java.lang.String)|#itemExists()]]'',
''[[http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/Session.html#nodeExists(java.lang.String)|#nodeExists()]]'',
''[[http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/Session.html#propertyExists(java.lang.String)|#propertyExists()]]'',
''[[http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/Session.html#refresh(boolean)|#refresh()]],
[[http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/Session.html#removeItem(java.lang.String)|#removeItem()]]''
+  * '''Write''' operations: ''[[http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/Session.html#move(java.lang.String,
java.lang.String)|#move()]]'', ''[[http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/Session.html#save()|#save()]]''
+ 
+ 
+ ||||||<(> '''Query''' ||
+ || ~-Name-~ || ~-Sequence Type-~ || ~-Description-~ ||
+ || QUERY_COUNT                 || ''Single'' || Counts the number of queries ran ||
+ || QUERY_DURATION              || ''Single''  || Tracks the duration (ms) of queries ||
+ || QUERY_AVERAGE               || ''Single''  || Computes the average duration (ms) of the
queries ||
+ ||||||<(> ~- '''*''' ''ms'' = milliseconds-~ ||
+ 
  
  
  === TimeSeries ===
@@ -102, +109 @@

  
  The Query Statistics service is ''disabled'' by default.
  
+ == Future work ==
+ 
+ One of the ideas for future improvements is to turn the statistics code into its own dedicated
component. This evolution can be followed via [[https://issues.apache.org/jira/browse/JCR-3130|JCR-3130]].
+ 

Mime
View raw message