开发者

How many users can a 200mb ASP.NET membership database hold?

开发者 https://www.devze.com 2022-12-08 19:20 出处:网络
I just purchased an unlimited shared hosting windows account on godaddy with 2 databases only to realise that they have a 200mb limi开发者_StackOverflow社区t on SQL Server databases. My website uses t

I just purchased an unlimited shared hosting windows account on godaddy with 2 databases only to realise that they have a 200mb limi开发者_StackOverflow社区t on SQL Server databases. My website uses the automatically generated ASP.NET 2.0 membership database. The nature of my website (free classifieds) requires the storage of a significant number of users.

Since I'm using the standard ASP.NET membership database that (hopefully) many of you have used before... I was wondering just how many users a 200 mb database could hold?


Depends on your other information in the ASP.NET membership table (applications, roles etc.) - but I did a quick experiment to get a rough idea:

Users      Disk space used on disk (MB)
------      ----------------------------
 5'000                5.5 MB
10'000                8.9 MB
25'000               18.1 MB
50'000               33.8 MB

If you do a rough estimate, this means, with 200 MB limit you should be able to support 250'000 users or more - enough for you?

Marc


It depends on what you need to store. Obviously, if you have many fields, then it will be fewer than a table with less fields.


You may check the below link and generate some report using number of users (Active) in last 6 months.

Get size of all tables in database

The above article will help you get actual size of each table and you may take average to at least make some projection.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号