Solved

sql 2008 > 200mb?

Posted on 2011-02-12
4
399 Views
Last Modified: 2012-05-11
hi, i don't know if i am looking on the wrong place to see the size of my database but here we go,

i have 2 database on my machine that i tested, one i create an table with picture field and upload all my pictures to my database, so the size now is 6gb on harddrive,

and i have another database that is 205mb on my harddrive.

now, all hosting plans that i found on the internet it says that mssql 2008 only 200mb size. Where they get this size, an small database has 200mb size, this one that is 205mb has maybe 250000 rows on it, only text.

am i looking on the wrong spot to se the size of the mssql database size. i want to host my website online, not on my machine.
0
Comment
Question by:rafaelrgl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 13

Accepted Solution

by:
dwkor earned 167 total points
ID: 34880795
unless your files (data/log) have a lot of free space, you need to take a look at the tables structure. Fixed-width data types uses the same space regardless of value even when null. So, if, for example, you have char(100) column, it would use 100 bytes of the storage space even when null. Alter it to varchar and rebuild the clustered index after you alter it (http://aboutsqlserver.com/2010/09/01/hidden-facts-about-table-alteration/)
0
 
LVL 9

Assisted Solution

by:xav056
xav056 earned 167 total points
ID: 34881028
0
 
LVL 21

Assisted Solution

by:mastoo
mastoo earned 166 total points
ID: 34882557
Maybe that 200 MB is the size of the Sql Server install itself, which is completely separate from any database you want hosted.  Or maybe that is their minimum size they host.  Database sizes can be anything from 1 MB to huge.
0
 
LVL 1

Author Closing Comment

by:rafaelrgl
ID: 36241613
thanks
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Can we attach PDF to table 2 46
mssql 7 32
When are cursors useful? 8 61
Enable TLS 1.2 for SQL 2012 Web Edition 1 24
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question