Where can I find sample databases with common formatted data that I can use in multiple database engines?

DatabaseSample

Database Problem Overview


Does anybody know of any sample databases I could download, preferably in CSV or some similar easy to import format so that I could get more practice in working with different types of data sets?

I know that the Canadian Department of Environment has historical weather data that you can download. However, it's not in a common format I can import into any other database. Moreover, you can only run queries based on the included program, which is actually quite limited in what kind of data it can provide.

Does anybody know of any interesting data sets that are freely available in a common format that I could use with mySql, Sql Server, and other types of database engines?

Database Solutions


Solution 1 - Database

The datawrangling blog posted a nice list a while back:

http://www.datawrangling.com/some-datasets-available-on-the-web

Includes financial, government data (labor, housing, etc.), and too many more to list here.

Solution 2 - Database

A lot of the data in Stack Overflow is licensed under the create commons. Every 3 months they release a https://blog.stackoverflow.com/category/cc-wiki-dump/">data dump with all the questions, answers, comments, and votes.

Solution 3 - Database

For Microsoft SQL Server, there is the Northwind Sample DB and AdventureWorks.

Solution 4 - Database

For MySQL there are quite a few sample database at http://dev.mysql.com/doc/index-other.html

  1. world (world countries and cities)
  2. sakila(video rental)
  3. employee
  4. menagerie

Solution 5 - Database

I use generatedata.com to generate custom databases schemes with entries.

To use it, you can simply register a new account, or download its sources and install it on your server.

You can export generated code in SQL, XML, JSON, or even server-side scripting language like php etc.

Solution 6 - Database

UnData and Swivel are both good sources for data. Any database should be able to import CSV files.

Solution 7 - Database

What database engine are you importing into? That will help determine what formats you can include in your search.

The Federal Energy Regulatory Commission has some sample data for download in CSV format.

Solution 8 - Database

The Guardian newspaper in the UK has a data-store, http://www.guardian.co.uk/data-store, full of categorized datasets. They're all ultimately stored as Google Documents, so you can export them into csv & Excel.

Solution 9 - Database

There's a whole bunch of free SQL Server sample databases on CodePlex: http://www.codeplex.com/Wikipage?ProjectName=SqlServerSamples#databases

One very simple way to get sample data is use full applications. I needed some sample data to practice what I was learning with MySQL at the time and just downloaded PHPBB and used their provided database. If you need to add users etc, just use the program to do it.

Think generic. You can get weather data from common sources for free, thetvdb.com has a pretty nifty set of data for TV show episodes for free, sites like last.fm have a tonne of data available for music listening habits. If you just want sample data, the easiest way to get it is not thinking in terms of "I want a database". Think "what freely available data is out there".

Solution 10 - Database

Solution 11 - Database

You can probably find the Northwind sample database for SQLServer

It might be overkill but you can install OracleXE, I think it comes with some sample schemas or you can find the old Scott schema online.

Also, in stephen bohlen's Summer of NHibernate screen-cast series he creates a sample database, the code comes with it in xml files and you can import it like he describes in the screencast (maybe episode 2 or 3) and just not delete it later.

Solution 12 - Database

For Firebird you have employee.fdb

on windows OS, it is located there C:\Program Files\Firebird\Firebird_2_1\examples\empbuild

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionKibbeeView Question on Stackoverflow
Solution 1 - DatabaseAdam HollidgeView Answer on Stackoverflow
Solution 2 - DatabaseKibbeeView Answer on Stackoverflow
Solution 3 - DatabaseCoreyView Answer on Stackoverflow
Solution 4 - DatabaseYadaView Answer on Stackoverflow
Solution 5 - DatabaseStphaneView Answer on Stackoverflow
Solution 6 - DatabaseandyukView Answer on Stackoverflow
Solution 7 - DatabaseKilhofferView Answer on Stackoverflow
Solution 8 - DatabasegorillaView Answer on Stackoverflow
Solution 9 - DatabasenathanchereView Answer on Stackoverflow
Solution 10 - Databasegood experienceView Answer on Stackoverflow
Solution 11 - DatabaseGeorge MauerView Answer on Stackoverflow
Solution 12 - DatabaseHugues Van LandeghemView Answer on Stackoverflow