SharePointforAll
This is the best place to find out everything that Quest is doing around SharePoint, plus where we will give guidance on all things SharePoint

QSPSUserTrends UserCount - Where does this information get gathered from?

rated by 0 users
Answered (Verified) This post has 1 verified answer | 9 Replies | 2 Followers

Top 10 Contributor
Male
45 Posts
Denzil Fernandes posted on Thu, Aug 13 2009 9:31 PM

I am running the following query on the QSP_Repository Table

SELECT QSPSUsersTrends.TrendTime, QSPSUsersTrends.ID, QSPSUsersTrends.UserCount, QSPSUsersTrends.FlagID, QSPSWebs.FullUrl as [Sub Site], QSPSWebs.Title as [Sub Site Title], QSPSSites.FullUrl AS [Site Collection], QSPSVirtualServers.Name As [Web Application]
FROM
QSPSUsersTrends LEFT OUTER JOIN
QSPSWebs ON QSPSUsersTrends.ID = QSPSWebs.ID LEFT OUTER JOIN
QSPSVirtualServers  ON QSPSUsersTrends.ID = QSPSVirtualServers.ID LEFT OUTER JOIN
QSPSSites ON QSPSUsersTrends.ID = QSPSSites.ID
Where FlagID = 'VirtualServerID' and TrendTime > '2009-08-13 06:38:36.240'
ORDER BY [Web Application] Desc , TrendTime Desc

I am trying to understand where the user count is being pulled from; from the results below you can see that every min apart the user count is changing..
Is this because I have multiple front ends?

TrendTime ID UserCount FlagId Subsite Subsite Title Site Collection Web Application
2009-08-13 22:18:01.507 1453D996-FC1C-4F59-B7AA-2CC58064626D 312 VirtualServerID NULL NULL NULL WebApp1
2009-08-13 22:17:17.210 1453D996-FC1C-4F59-B7AA-2CC58064626D 1486 VirtualServerID NULL NULL NULL WebApp1
2009-08-13 22:16:50.220 1453D996-FC1C-4F59-B7AA-2CC58064626D 312 VirtualServerID NULL NULL NULL WebApp1
2009-08-13 22:16:40.427 1453D996-FC1C-4F59-B7AA-2CC58064626D 1466 VirtualServerID NULL NULL NULL WebApp1

How is it that my usercounts changes from 1466 to 312 and back to 1466 to 312 ?

Answered (Verified) Verified Answer

Top 10 Contributor
Male
98 Posts

This is the bug of Site Admin 3.5 and previous versions (for web app with more than one database). You need to upgrade to 3.5.1.User count trend looked like a saw before this fix.

All Replies

Top 10 Contributor
Male
98 Posts

This is the bug of Site Admin 3.5 and previous versions (for web app with more than one database). You need to upgrade to 3.5.1.User count trend looked like a saw before this fix.

Top 10 Contributor
Male
25 Posts

Hi Grigory,

Does upgrade to 3.5.1 require re-gathering of all the data?

Regards, Mike

Top 10 Contributor
Male
98 Posts

Yes.

The issue was in the collector. Unfortunately all previous user count trends aren't correct. The new trends will be accurate. You may remove old trends (manually) to get clear report.

Top 10 Contributor
Male
45 Posts

I am on the Quest Support Site; Under Downloads and Updates, I cannot see this 3.5.1 to download. If this release available yet or do I need to request for it? 

Top 10 Contributor
Male
98 Posts

I've started to upload the build to ftp://QuestPreview:PreviewQuest1@ftp.quest.com/SA

Will be uploaded in 1-1.5 hour.

 

Top 10 Contributor
Male
98 Posts

It's available now.

Top 10 Contributor
Male
45 Posts

I've deleted all rows from the QSPUsersTrends

Rerun  the Gatherer QSPSCollector Util and still find that with the report User Count Trend displays incorrectly. Your right about the fact that I have more than one contentdatabase atttached to the web application, most of my web applications are configured with multiple content databases.

So what did you change in 3.5.1 because I still see the following

8/14/09 19:39 DADB7B86-300D-4AA4-93FC-0E7C7B235E12 317 VirtualServerID NULL NULL NULL WebApp1
8/14/09 19:18 32F9A4CF-B481-4196-9C7D-2B2F60D403A2 778 VirtualServerID NULL NULL NULL WebApp2
8/14/09 19:19 3810F36E-9A9B-4839-AFBD-928BFA5B1CFB 944 VirtualServerID NULL NULL NULL WebApp3
8/14/09 19:18 1453D996-FC1C-4F59-B7AA-2CC58064626D 312 VirtualServerID NULL NULL NULL WebApp4
8/14/09 19:17 1453D996-FC1C-4F59-B7AA-2CC58064626D 1486 VirtualServerID NULL NULL NULL WebApp4
8/14/09 19:17 1453D996-FC1C-4F59-B7AA-2CC58064626D 312 VirtualServerID NULL NULL NULL WebApp4
8/14/09 19:16 1453D996-FC1C-4F59-B7AA-2CC58064626D 1466 VirtualServerID NULL NULL NULL WebApp4

 

See how WebApp4 appears 4 times. there are 4 content databases mapped to this in central admin

Top 10 Contributor
Male
45 Posts

Ok I reran the Collector again and noticed something new; the count is now a sum of  where web applications have multiple contentdatabases...

I will be using other tools and check with MSDN as well. This User Count is really object in the contentdatabase table; it is indicative of how many users may possibley part of a site collection; I noticed this filters users that have been deleted from the site collection.

Great work.. I will press on my work with developing some custom reports for our management teams

Top 10 Contributor
Male
98 Posts

To be 100% accurate - we don't just sum users - we merge equal and then sum.  We also skip groups and deleted.

We count number of unique users across all content databases of a web application

Page 1 of 1 (10 items) | RSS
(c) 1987-2010 Quest Software Inc.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems