Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

Estimating the table size... Expand / Collapse
Author
Message
Posted Thursday, July 2, 2009 1:24 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, September 3, 2014 8:52 AM
Points: 242, Visits: 680
according to your script one of my tables has 440 MBs but SSMS says it has around 46 MBs
u sure u did the math right?


--
Thiago Dantas
@DantHimself
Post #746589
Posted Thursday, July 2, 2009 1:30 PM


UDP Broadcaster

UDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP Broadcaster

Group: General Forum Members
Last Login: Thursday, October 23, 2014 12:38 PM
Points: 1,475, Visits: 1,640
thanks william...

Regards,
Sqlfrenzy

Post #746594
Posted Thursday, July 2, 2009 1:42 PM


UDP Broadcaster

UDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP Broadcaster

Group: General Forum Members
Last Login: Thursday, October 23, 2014 12:38 PM
Points: 1,475, Visits: 1,640
dant12 (7/2/2009)
according to your script one of my tables has 440 MBs but SSMS says it has around 46 MBs
u sure u did the math right?


I tested the script against the 7 tables of adventureworks database...5 tables gave me result with a margin +1/-1..


Regards,
Sqlfrenzy

Post #746599
Posted Wednesday, June 9, 2010 6:25 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, October 30, 2014 2:34 PM
Points: 40, Visits: 465
Wouldn't it be incorrect to compare this script to an existing table, since the script is meant to estimate a table's size

Sqlfrenzy (7/2/2009)
dant12 (7/2/2009)
according to your script one of my tables has 440 MBs but SSMS says it has around 46 MBs
u sure u did the math right?


I tested the script against the 7 tables of adventureworks database...5 tables gave me result with a margin +1/-1..
Post #935085
Posted Friday, February 25, 2011 1:35 PM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Friday, October 17, 2014 5:02 PM
Points: 485, Visits: 1,368
I like this, but Richard Ding's creation "sp_sos" is a little more thorough, and is a PROC instead of a group of Functions.

http://media.techtarget.com/searchSQLServer/downloads/URL_for_SQL_Script_download_Tip_on_Sp_SOS.doc
Post #1069836
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse