﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Andre Vigneau / Article Discussions / Article Discussions by Author  / Estimating Your Space Needs / 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>Mon, 17 Jun 2013 23:46:43 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Estimating Your Space Needs</title><link>http://www.sqlservercentral.com/Forums/Topic156019-190-1.aspx</link><description>The links have been changed to the Resources section at the bottom of the article.</description><pubDate>Thu, 31 Jul 2008 12:27:59 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item><item><title>RE: Estimating Your Space Needs</title><link>http://www.sqlservercentral.com/Forums/Topic156019-190-1.aspx</link><description>Good articles but script or query is not available.Thanks</description><pubDate>Tue, 29 Apr 2008 14:00:51 GMT</pubDate><dc:creator>nrodriguez</dc:creator></item><item><title>RE: Estimating Your Space Needs</title><link>http://www.sqlservercentral.com/Forums/Topic156019-190-1.aspx</link><description>The link to Excel is broken, anyone knows what is the new link?</description><pubDate>Wed, 02 Apr 2008 03:34:37 GMT</pubDate><dc:creator>william.robertt</dc:creator></item><item><title>RE: Estimating Your Space Needs</title><link>http://www.sqlservercentral.com/Forums/Topic156019-190-1.aspx</link><description>How can I obtain a copy of the query &amp; spreadsheet referenced in this article?Thanks!</description><pubDate>Thu, 18 Oct 2007 14:23:17 GMT</pubDate><dc:creator>lhurst</dc:creator></item><item><title>RE: Estimating Your Space Needs</title><link>http://www.sqlservercentral.com/Forums/Topic156019-190-1.aspx</link><description>&lt;P&gt;&lt;FONT face=Arial&gt;Very impressive. This is not what we do in a lost after-noon, do we ?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial&gt;I consider myself as pretty&lt;/FONT&gt; &lt;SPAN style="FONT-SIZE: 10pt; LAYOUT-GRID-MODE: line; COLOR: black; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;proficient in T-SQL, but for me these procedures are too complicated. In spite of all the databases I have built the last few years (all based on quite a few non-obvious T-SQL stored procedures), I must confess that I do not understand how these procedures have been built up. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; LAYOUT-GRID-MODE: line; COLOR: black; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;So, I must trust Mr. Andre Vigneau for his professionality (no reason to doubt about it).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; LAYOUT-GRID-MODE: line; COLOR: black; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;By the way: in order to have the procedure run, I had to replace three times&lt;FONT color=#111111&gt; &lt;FONT size=2&gt;"('ntext', 'text')" with "('ntext', 'text', 'image')" in the final Stored Procedure.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; LAYOUT-GRID-MODE: line; COLOR: black; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT size=2&gt;&lt;FONT color=#111111&gt;Leendert.&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;</description><pubDate>Wed, 25 Jan 2006 11:50:00 GMT</pubDate><dc:creator>Leendert van Staalduinen</dc:creator></item><item><title>RE: Estimating Your Space Needs</title><link>http://www.sqlservercentral.com/Forums/Topic156019-190-1.aspx</link><description>Excellent timing! I am currently planning a move to a SAN environment and have been using the "best guess" model to plan the volumes. It's nice to finally be able to document my needs and I'm sure that this will also help my case when I submit my justification to the purchasing department.BTW: Suprisingly, my "best guess" was only 10GB over the calculated estimate: mine - 750GB, calculated 739.251GB.</description><pubDate>Wed, 25 Jan 2006 08:01:00 GMT</pubDate><dc:creator>tbredeme</dc:creator></item><item><title>RE: Estimating Your Space Needs</title><link>http://www.sqlservercentral.com/Forums/Topic156019-190-1.aspx</link><description>&lt;P&gt;The query I posted does not treat image datatype. So if you have images stored in your database that is the message you will get.&lt;/P&gt;&lt;P&gt;You can modify the query to treat image datatype as text or ntext datatypes by replacing in the query this &lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ntext&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;text&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;by this&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ntext&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;text&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;image&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;And then it should run fine. Didn't see much image into databases lately my mistake.&lt;img src='images/emotions/smile.gif' height='20' width='20' border='0' title='Smile' align='absmiddle'&gt; But the article is to give you all a starting point to begin gathering numbers to help you justify your storage needs. Some details could be missing ... like image datatype.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;Sorry about that I see how to have the script corrected.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;Regards&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Tue, 25 Jan 2005 09:53:00 GMT</pubDate><dc:creator>Andre Vigneau</dc:creator></item><item><title>RE: Estimating Your Space Needs</title><link>http://www.sqlservercentral.com/Forums/Topic156019-190-1.aspx</link><description>&lt;P&gt;Haev a quick investigation - one of the tables has a datatype of image and is trying to sum the image size which is then greater than an int. &lt;/P&gt;&lt;P&gt;This is for the section relating to the fixed data size.&lt;/P&gt;&lt;P&gt;select CASE WHEN COLUMN_DATATYPE = 'int' then 4 WHEN COLUMN_DATATYPE = 'bigint' then 8WHEN COLUMN_DATATYPE = 'smallint' then 2WHEN COLUMN_DATATYPE = 'tinyint' then 1   WHEN COLUMN_DATATYPE = 'datetime' then 8WHEN COLUMN_DATATYPE in ('ntext','text') then 16WHEN COLUMN_DATATYPE like 'var%' then 0else COLUMN_LENGTH end AS Fixed_Data_Size,*from DST_SCHEMATABLE where TABLE_NAME not like 'dst_%'AND COLUMN_DATATYPE not LIKE 'n[c-b-v]%'&lt;/P&gt;&lt;P&gt;Andre: For my purposes I can remove add something in the script to exclude image datatypes. So need to take this into account when runing the sample.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Tue, 25 Jan 2005 09:39:00 GMT</pubDate><dc:creator>mikey</dc:creator></item><item><title>RE: Estimating Your Space Needs</title><link>http://www.sqlservercentral.com/Forums/Topic156019-190-1.aspx</link><description>&lt;P&gt;When trying to run the DB script on a Database - I get an error &lt;/P&gt;&lt;P&gt;"Server: Msg 8115, Level 16, State 2, Line 19Arithmetic overflow error converting expression to data type int."&lt;/P&gt;&lt;P&gt;Any ideas why ? &lt;/P&gt;&lt;P&gt;The line that Query Analyser jumps to is the start of the huge select statement.&lt;/P&gt;&lt;P&gt;select DT1.TABLE_NAME&lt;/P&gt;&lt;P&gt;&lt;img src='images/emotions/sad.gif' height='20' width='20' border='0' title='Sad' align='absmiddle'&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Tue, 25 Jan 2005 09:14:00 GMT</pubDate><dc:creator>mikey</dc:creator></item><item><title>RE: Estimating Your Space Needs</title><link>http://www.sqlservercentral.com/Forums/Topic156019-190-1.aspx</link><description>&lt;P&gt;I once saw some software that automated the functions of the excel spreadsheet in this article, but can't find it again.  Anyone familiar with it.&lt;/P&gt;&lt;P&gt;I also need the same type of information for estimating server processor and memory requirements.  Anyone have a good reference?&lt;/P&gt;</description><pubDate>Tue, 25 Jan 2005 09:11:00 GMT</pubDate><dc:creator>williamhoos@yahoo.com</dc:creator></item><item><title>RE: Estimating Your Space Needs</title><link>http://www.sqlservercentral.com/Forums/Topic156019-190-1.aspx</link><description>&lt;P&gt;Nice article.&lt;/P&gt;&lt;P&gt;In all the articles that mention planning storage space I have never yet seen one that mentions archiving and removing obsolete data to conserve space.&lt;/P&gt;&lt;P&gt;From my own experience I have seen a large number of databases where users insist that old data is needed and absolutely vital to the business but in reality it is almost never accessed.&lt;/P&gt;&lt;P&gt;I have seen servers and infrastructure upgraded at vast cost to retain obsolete data.&lt;/P&gt;</description><pubDate>Tue, 25 Jan 2005 02:07:00 GMT</pubDate><dc:creator>David.Poole</dc:creator></item><item><title>Estimating Your Space Needs</title><link>http://www.sqlservercentral.com/Forums/Topic156019-190-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/AVigneau/estimatingyourspaceneeds.asp"&gt;http://www.sqlservercentral.com/columnists/AVigneau/estimatingyourspaceneeds.asp&lt;/A&gt;</description><pubDate>Mon, 17 Jan 2005 21:41:00 GMT</pubDate><dc:creator>Andre Vigneau</dc:creator></item></channel></rss>