Solved

sql 2008 > 200mb?

Posted on 2011-02-12
4
350 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
4 Comments
 
LVL 13

Accepted Solution

by:
dwkor earned 167 total points
Comment Utility
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
Comment Utility
0
 
LVL 21

Assisted Solution

by:mastoo
mastoo earned 166 total points
Comment Utility
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
Comment Utility
thanks
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now