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 02, 2009 1:24 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, April 15, 2014 1:11 PM
Points: 242, Visits: 676
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 02, 2009 1:30 PM


UDP Broadcaster

UDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP Broadcaster

Group: General Forum Members
Last Login: Wednesday, February 05, 2014 3:10 AM
Points: 1,475, Visits: 1,623
thanks william...

Regards,
Sqlfrenzy

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


UDP Broadcaster

UDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP Broadcaster

Group: General Forum Members
Last Login: Wednesday, February 05, 2014 3:10 AM
Points: 1,475, Visits: 1,623
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 09, 2010 6:25 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, April 17, 2014 7:46 PM
Points: 37, Visits: 436
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: Thursday, April 17, 2014 12:57 PM
Points: 461, Visits: 1,265
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