﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Bert Carles  / Monitoring on a Budget / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 12:57:50 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>Did you ever get the SSRS piece working?  I would be interested in seeing how you got that piece to work.Thanks,Christi</description><pubDate>Thu, 10 Feb 2011 15:05:54 GMT</pubDate><dc:creator>Christi Nicholson</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>Nice article.  I just implemented the server stats portion of this today.  It's working fine.  I've been looking for a good historical performance monitor for my databases.  Thanks!Rober</description><pubDate>Tue, 29 Jan 2008 14:54:22 GMT</pubDate><dc:creator>Bob Griffin</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>Hi,One more thing to watch out. In the monitoringserver.sql, add in the use tempdb in the beginning of the script.use tempdb -- add in this go             -- add in thisif exists (select * from tempdb.dbo.sysobjects where id = object_id(N'[dbo].[DayDBStat]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)drop table tempdb.[dbo].[DayDBStat]GObecause the OBJECTPROPERTY function is in the context of current database. If the default database (of login) is not tempdb and for some reason the previous copy of DayDBStat table was not drop you will get the job fail complaining object (DayDBStat) already exists. Alternatively, if you don't want to set the context of tempdb then replace the entire block above with IF object_id('tempdb.[dbo].[DayDBStat]') IS NOT NULLbegin drop table tempdb.[dbo].[DayDBStat]endEnjoy!</description><pubDate>Tue, 27 Nov 2007 18:58:41 GMT</pubDate><dc:creator>Garrick-249518</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>Wow, that's cool :)</description><pubDate>Tue, 27 Nov 2007 07:56:24 GMT</pubDate><dc:creator>giorgio-459258</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>I started working on it this morning.  I should have something available no later than mid-week.</description><pubDate>Tue, 27 Nov 2007 07:51:23 GMT</pubDate><dc:creator>Bert Carles</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>HiWhere's that so promised Excel spreasheet that you talked about? ;)The numbers in the tables don't mean anything without a proper explanation and Excel sheet as you've promised ;)</description><pubDate>Tue, 27 Nov 2007 07:35:48 GMT</pubDate><dc:creator>giorgio-459258</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>That makes sense.  I've run into that myself before.</description><pubDate>Tue, 27 Nov 2007 06:37:50 GMT</pubDate><dc:creator>Bert Carles</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>[quote][b]Bert Carles (11/20/2007)[/b][hr]Perhaps that restriction pertains to a #TEMP table?  All I know is the DTS works as coded.[/quote]I finally figure it out.Somehow, the DTS Transform task won’t auto detect and populate the column names or types in the transformation tab unless it can find the physical table in the source.Here's the tricks, go to QA and connect to the source DB instance and run this: CREATE TABLE tempdb.[dbo].[DayDBStat] ( [SrvName] [varchar] (50) NOT NULL , [DBName] [varchar] (128) NOT NULL , [LogFileName] [varchar] (128) NOT NULL , [SampDate] [datetime] NOT NULL , [ReadQty] [bigint] NOT NULL , [WriteQty] [bigint] NOT NULL , [ByteReadQty] [bigint] NOT NULL , [ByteWriteQty] [bigint] NOT NULL , [IOStallMSQty] [bigint] NOT NULL ) ON [PRIMARY]GOthis will create a perm table in tempdb.Now go back to the DTS Transform task and type select * from tempdb.dbo.DayDBStatand click the transformation tab and da da... it works.</description><pubDate>Tue, 27 Nov 2007 03:05:10 GMT</pubDate><dc:creator>Garrick-249518</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>[quote][b]Bert Carles (11/20/2007)[/b][hr]Perhaps that restriction pertains to a #TEMP table?  All I know is the DTS works as coded.[/quote]I still getting error invalid object name 'tempdb.dbo.DayDBStat' at the same Transform Data Task when I click on the transformation tab. I couldn't understand why?My SQL2000 version is 8.00.2187.</description><pubDate>Thu, 22 Nov 2007 02:57:06 GMT</pubDate><dc:creator>Garrick-249518</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>Thanks for the article Bert.I don't often use DTS so I went ahead and did the same thing in SSIS.  I followed the article just as it is written without much hassle.  The only real snag I had was to create a connection to the tempdb in the connection manager (this is interesting as I had never thought of it before and has helped solve another problem I was having).   I have only tested it on my development server, but so far it seems to work great.</description><pubDate>Thu, 22 Nov 2007 01:34:34 GMT</pubDate><dc:creator>Nolan Schoonraad</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>Perhaps that restriction pertains to a #TEMP table?  All I know is the DTS works as coded.</description><pubDate>Tue, 20 Nov 2007 05:27:37 GMT</pubDate><dc:creator>Bert Carles</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>I mean at source tab in the Transform Data Task for DB Stats monitoring with the TSQL:select * from tempdb.dbo.DayDBStat</description><pubDate>Mon, 19 Nov 2007 21:03:52 GMT</pubDate><dc:creator>Garrick-249518</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>I thought you can't query temp table as source in Transform Data task as stated here[url=http://technet.microsoft.com/en-us/library/aa215269(SQL.80).aspx][/url][i]When using temporary tables in the Transform Data task, the Data Driven Query task, or the Execute SQL task in DTS Designer, be aware that you cannot use a Transact-SQL statement or stored procedure that calls a temp table as your source.[/i]</description><pubDate>Mon, 19 Nov 2007 20:50:40 GMT</pubDate><dc:creator>Garrick-249518</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>I debated putting the Excel spreadsheet in the article.  Ultimately, I decided not to since, once the raw data is in a table, you can present in pretty much any format you choose.  I'm not very good with Excel either, but give me a few days, and after the holiday, I can post a "How I did it with Excel" follow up.  I've also been working with a SQL 2005 equivalent.  The internals are pretty much the same, but the presentation has much more potential with SSRS and SSAS...Perhaps another followup article?This was my first stab at technical writing.  I've already learned a great deal from your responses, thank you!  I'll definitely try to be more detailed in the future.</description><pubDate>Mon, 19 Nov 2007 10:40:47 GMT</pubDate><dc:creator>Bert Carles</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>That looks very nice BUT where is that Excel spreadsheet then? ;)It would be really nice if you posted here also so we can have a look at final product... :-)And to be honest I am not very good and Excel and all that graphs stuff so it would be rather nice to see how you're doing the whole "thing"Cheers</description><pubDate>Mon, 19 Nov 2007 10:23:22 GMT</pubDate><dc:creator>giorgio-459258</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>You're right.  I really need to spend some time converting this over to SQL 2005 and expanding it beyond SQL Server.</description><pubDate>Mon, 19 Nov 2007 10:21:55 GMT</pubDate><dc:creator>Bert Carles</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>That calls for a part 2, Bert!:D</description><pubDate>Mon, 19 Nov 2007 09:26:07 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>To be quite honest, I hadn't thought of monitoring counters outside of SQL Server.  You've sparked my interest.We did add code to track disk space when we were trying to justify additional SAN space.  The overall process is the same; simply capture today's disk utilization and subtract yesterday's from it to get a daily increase/decrease.</description><pubDate>Mon, 19 Nov 2007 05:52:05 GMT</pubDate><dc:creator>Bert Carles</dc:creator></item><item><title>RE: Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>This is a nice write-up. I know a few folks who could use this. On a related note, how are you moitoring the performance counters outside of SQL Server, such as CPU usage, pages/sec, etc.? Or are you strictly concentrating on SQL Server?</description><pubDate>Mon, 19 Nov 2007 03:47:10 GMT</pubDate><dc:creator>K. Brian Kelley</dc:creator></item><item><title>Monitoring on a Budget</title><link>http://www.sqlservercentral.com/Forums/Topic423370-1112-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/Monitoring/61373/"&gt;Monitoring on a Budget&lt;/A&gt;[/B]</description><pubDate>Sun, 18 Nov 2007 00:02:30 GMT</pubDate><dc:creator>Bert Carles</dc:creator></item></channel></rss>