December 23, 2008 04:23 PM

Tracking the Use of Deprecated SQL Server Features

Rating: (0)
SQL Server Magazine
InstantDoc ID #100696
To help you track the use of deprecated features, SQL Server 2008 provides performance counters and trace events. The SQLServer:Deprecated Features object provides the Usage counter and an instance for each deprecated feature. Regarding trace events, the Deprecation Final Support event is logged when you use a feature that will be removed from the next version of SQL Server, and the Deprecation Announcement event is logged w...

...This article is for paid Professional Members only.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Professional Membership

Monthly

Annual

VIP Membership

Monthly

Annual

Add a Comment

Hi Marcos,

Below is Itzik Ben-Gan's response to your question:

“Perhaps you’re already aware of it, but just in case you aren’t, this small sidebar is just a side note in a main article about Deprecated T-SQL Features. You can find the main article here: http://www.sqlmag.com/articles/articleid/100697/Deprecated_TSQL_Features.html.
As for your question, this sidebar simply mentions that SQL Server provides tools that can help you track the use of deprecated features both through Performance Monitor counters, and SQL Server Trace events. If you’re not familiar with those tools, I suggest simply trying. Open performance monitor (perfmon.exe), and choose the counters I mentioned in the article (SQLServer:Deprecated Features object, Usage counter, and then specific instances of deprecated features). Then, whenever the deprecated feature that you track with the counter is used, the counter will indicate it.
Similarly, to use the trace events to track use of deprecated features, open SQL Server Profiler, and define a trace with the events mentioned in the article (under the Deprecation category, the Deprecation Final Support and Deprecation Announcement events). You will get a trace event whenever a deprecated feature is used.

Cheers,

Itzik”


Thanks for reading our articles, and feel free to contact me if you have any more questions.


Megan Keller

Associate Editor, SQL Server Magazine

mkeller@sqlmag.com

Megan6/3/2009 2:45:40 PM


Could you explain a little bit more?

Marcos3/31/2009 10:25:15 AM


You must log on before posting a comment.

Are you a new visitor? Register Here