Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Just out of personal curiosity, how much disk space on the server does Stack Overflow take up? I'm guessing it's a lot, but I can't know for sure.

share|improve this question
Couldn't possibly be more than around 640KB. – user27414 Nov 12 '10 at 17:05
No no no, that's the RAM needed to run it. – Marko Carter Nov 12 '10 at 17:34
I don't see this listed, but you might find more information in the sources it cites. In particular, you might note that SO is several servers. :) – Gnome Nov 12 '10 at 18:18
Well, each vote takes up a little more space in the database, so let's just keep upvoting this post until it runs out of disk space – Michael Mrozek Nov 12 '10 at 19:52
The size of the datadump may serve as an approximation. – Alexandre Jasmin Nov 13 '10 at 12:34
up vote 5 down vote accepted

It was 12gigs compressed a few months ago, probably up to about 15gigs compressed (50 gigs uncompressed)

It is not a particularly huge database, most of the storage we have is taken up by history and indexes. Fitting most of our data in RAM is one of the reasons our performance is so awesome (that and Jeff's amazing wheel of blame).

When you look at perfmon: SQL server page life expectancy is massive, we barely go to disk.

share|improve this answer
Kudos to you Sam Saffron, creator of Discourse :) I see size is looked upon heavily and that's a good thing! – user965091 Aug 22 '14 at 14:18

This is an ever increasing number, so no answer would be correct for long. However, you can use the Data Explorer to estimate the number. The following was accurate in the second half of August 2014.

The Data Explorer does not include the 15% of posts that are deleted (which stays in the real database) or all of the post history, so the actual database size is much higher. Thanks to to Weapon of Choice for this information.

  • This query can be used to find the size of the database tables alone (without indexes), which currently is 140 GB.

  • sp_spaceused on SEDE can be to find the database size including indexes, which currently is 186,567 MB / 1024 =182 GB.

share|improve this answer
SEDE does not contain deleted posts and much of voting and review histories. Around 15% of posts are deleted, but they remain in the database. – user259867 Aug 22 '14 at 15:08
@900sit-upsaday Thank you, that is a good point. I updated my answer to include it. – Banana Aug 22 '14 at 15:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .