<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results for 'app:weblogs' matching tags 'SQL' and 'powergadgets'</title><link>http://msmvps.com/search/SearchResults.aspx?q=app:weblogs&amp;tag=SQL,powergadgets&amp;orTags=0&amp;o=DateDescending</link><description>Search results for 'app:weblogs' matching tags 'SQL' and 'powergadgets'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Sidebar monitoring of SQL databases</title><link>http://msmvps.com/blogs/robfarley/archive/2007/08/17/sidebar-monitoring-of-sql-databases.aspx</link><pubDate>Fri, 17 Aug 2007 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1118663</guid><dc:creator>robfarley</dc:creator><description>&lt;p&gt;A while back I discussed using the Windows Vista Sidebar to display useful information about applications. This led to other conversations, including one with fellow SQL MVP (and Leeds United fan - sorry to hear about&amp;nbsp;the 15 points, mate)&amp;nbsp;&lt;a href="http://blogs.conchango.com/jamiethomson/" target="_blank"&gt;Jamie Thomson&lt;/a&gt; about monitoring important SQL database statistics using sidebar gadgets. I didn&amp;#39;t give it much thought, because I still had my &lt;a href="http://www.powergadgets.com" target="_blank"&gt;PowerGadgets&lt;/a&gt; solution in place, monitoring all kinds of things based on my own queries. (Personally, I like using &amp;#39;union all&amp;#39; queries. This lets me get a nice collection of numbers for showing in a graph. But I also find that I can easily have a number produced for displaying in a gauge.)&lt;/p&gt; &lt;p&gt;But Jamie has taken this further, and produced a Sidebar gadget to monitor various database statistics. It doesn&amp;#39;t use PowerGadgets, so it&amp;#39;s completely free. You can grab it from his blog at &lt;a title="http://blogs.conchango.com/jamiethomson/archive/2007/08/17/SQL-Server-Monitor-Gadget-v1.0.001.aspx" href="http://blogs.conchango.com/jamiethomson/archive/2007/08/17/SQL-Server-Monitor-Gadget-v1.0.001.aspx"&gt;http://blogs.conchango.com/jamiethomson/archive/2007/08/17/SQL-Server-Monitor-Gadget-v1.0.001.aspx&lt;/a&gt;, or the original version from &lt;a title="http://blogs.conchango.com/jamiethomson/archive/2007/08/09/Announcing-SQL-Server-Monitor-Gadget-for-Windows-Vista-Sidebar.aspx" href="http://blogs.conchango.com/jamiethomson/archive/2007/08/09/Announcing-SQL-Server-Monitor-Gadget-for-Windows-Vista-Sidebar.aspx"&gt;http://blogs.conchango.com/jamiethomson/archive/2007/08/09/Announcing-SQL-Server-Monitor-Gadget-for-Windows-Vista-Sidebar.aspx&lt;/a&gt;. Great work, Jamie!&lt;/p&gt;</description></item><item><title>sys.database_files and sys.master_files (rather than sys.sysfiles)</title><link>http://msmvps.com/blogs/robfarley/archive/2007/03/07/sys-database-files-and-sys-master-files-rather-than-sys-sysfiles.aspx</link><pubDate>Wed, 07 Mar 2007 06:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:649351</guid><dc:creator>robfarley</dc:creator><description>&lt;p&gt;Whenever there are changes, people can be slow to embrace them. One I've come across recently is that looking in sysfiles is no longer the best way of getting information about your database files. sys.database_files will tell you a lot more about them, and give you much nicer ways of filtering them. So for example, if you want a list of the log files for your database, try:&lt;/p&gt;&lt;p&gt;select * from sys.database_files where type = 1&lt;/p&gt;&lt;p&gt;And sys.master_files will list them for the whole system. So it becomes really easy to look at the state of things from within T-SQL. &lt;br&gt;&lt;/p&gt;&lt;p&gt;For more information on these, check out &lt;a href="http://msdn2.microsoft.com/en-us/library/ms174397.aspx" target="_blank"&gt;http://msdn2.microsoft.com/en-us/library/ms174397.aspx&lt;/a&gt; and &lt;a href="http://msdn2.microsoft.com/en-us/library/ms186782.aspx" target="_blank"&gt;http://msdn2.microsoft.com/en-us/library/ms186782.aspx&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Now go and make yourself a Vista Sidebar gadget (or use PowerGadgets to do it really easily) to show you the size of your log files (or whatever). Have it update every hour, sitting alongside those gadgets which tell you how nice the Adelaide weather is and show you pictures of the blue skies in Australia.&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>