

No other indexes are included (nonclustered or full text).All tables have a clustered index on Id, an identity field.I want you to get started quickly while still keeping the database size small, so: That means you are free to share this database and adapt it for any purpose, even commercially, but you must attribute it to the original authors (not me): If your SSMS crashes or throws permissions errors, you likely tried extracting the archive directly into the database directory, and you’ve got permissions problems on the data/log files.Īs with the original data dump, this is provided under cc-by-sa 4.0 license. It doesn’t use any Enterprise Edition features like partitioning or compression, so you can attach it to Developer, Standard, or Enterprise Edition. It’s in Microsoft SQL Server 2016 format (2008 for the older torrents), so you can attach it to any 2016 or newer instance. You’re going to screw up the database over time, and you’re going to want to start again – keep the original copy so you don’t have to download it again. Don’t extract the files directly into your SQL Server’s database directories – instead, extract them somewhere else first, and then move or copy them into the SQL Server’s database directories. (I use that for max compression to keep the downloads a little smaller.) The extract will have the database MDF, NDFs (additional data files), LDF, and a Readme.txt file. Because it’s so large, I only distribute it with BitTorrent, not direct download links.Īfter you download it, extract the. For my training classes: specialized copy as of 2018/06: 47GB torrent ( magnet.) Expands to a ~180GB SQL Server 2016 database with queries and indexes specific to my training classes.Because it’s so large, I only distribute it with BitTorrent, not direct download links.


If all you need is a quick, easy, friendly database for demos, and to follow along with code samples here on the blog, this is all you probably need. Expands to a ~10GB database called StackOverflow2010 with data from the years 2008 to 2010. Small: 10GB database as of 2010: 1GB direct download, or torrent or magnet.Plus, it’s open source and no charge for you – just choose your size:

It’s easy to learn, has just a few easy-to-understand tables, and has real-world data distributions for numbers, dates, and strings. I use a Microsoft SQL Server version of the public Stack Overflow data export for my blog posts and training classes because it’s way more interesting than a lot of sample data sets out there.
