Hi all, I would like to know some statistics from a repository (a rather large repository): 1. Node count from each node type. 2. Total node count (from user created node types). 3. Total file size (maybe including/excluding version files). 4. How many files are stored for a specific extension. 5. The smallest file stored (and its size), maybe for a specific extension. 6. The largest file stored (and its size) , maybe for a specific extension.
I think node counts can be known by making a query (e.g. SELECT [name()] FROM [MyType]), iterating and counting, but that can take some time in my repository and for each node type. Is there another way? I am not sure how would I get file size statistics, maybe with some method from the node/data store? Any help is appreciated :) Best Regards. Jorge
