Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tracking License Usage

Status
Not open for further replies.

JTechMan

Programmer
Jun 15, 2009
23
CA
Hi All,

I was hoping someone could tell me how to identify how many user cals are being used on our SQL 2008 installation! I am also wondering if a DSN connection (with Windows auth) combined with an ODBC connection with Windows auth could potentially double the license usage.

Thanks!!
 
The SQL Server doesn't track user CAL usage. You simply have to count the users that use the SQL Server, no matter how they connect.

As easy way (if you are using Windows Auth, or a separate SQL login for each user) would be to setup a job to scrape the sys.sysprocesses DMV and capture the username of the people logging in. Then after a few days do a SELECT count(DISTINCT UserName) from the table you are logging the data into.

Denny
MVP
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / SQL 2005 BI / SQL 2008 DBA / SQL 2008 DBD / SQL 2008 BI / MWSS 3.0: Configuration / MOSS 2007: Configuration)
MCITP (SQL 2005 DBA / SQL 2008 DBA / SQL 2005 DBD / SQL 2008 DBD / SQL 2005 BI / SQL 2008 BI)

My Blog
 
Thanks! I was hoping that this might explain a connect call failed error, but it sounds like connections are pretty unlimited.
 
They should be wide open. In older versions of SQL Server you told it how many CALs you had, and it would only allow that many people to connect. That shouldn't be an issue any more.

Denny
MVP
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / SQL 2005 BI / SQL 2008 DBA / SQL 2008 DBD / SQL 2008 BI / MWSS 3.0: Configuration / MOSS 2007: Configuration)
MCITP (SQL 2005 DBA / SQL 2008 DBA / SQL 2005 DBD / SQL 2008 DBD / SQL 2005 BI / SQL 2008 BI)

My Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top