MusicBrainz Database: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
((Imported from MoinMoin))
 
mNo edit summary
(26 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<small>[[Products]] > Database </small>
<small>[[Products]] > MusicBrainz Database</small>


The MusicBrainz Database is built on the PostgreSQL relational database engine and contains all of MusicBrainz' music metadata. This data includes information about [[Artist|artists]], [[Release Group|release groups]], [[Release|releases]], [[Recording|recordings]], [[Work|works]], and [[Label|labels]], as well as the many [[Relationships|relationships]] between them. The database also contains a full history of all the changes that the MusicBrainz community has made to the data.
=The MusicBrainz Database=


For details on commercial use, please visit the [https://metabrainz.org/supporters/account-type MetaBrainz Foundation] site.
==Introduction==


==Data overview==
The MusicBrainz database stores all the data of the MusicBrainz '''music metadata catalogue'''. This data includes all the data about [[Artist|Artists]], [[Release|Releases]], [[Track|Tracks]], [[Label|Labels]] and [[Advanced Relationships|AdvancedRelationships]] between them, but also the MusicBrainz users ([[Editor|editors]]) and the changes they entered into the database ([[Edit Type|edits]]).


==Data Overview==
=== Core data ===


The MusicBrainz [[Artist]] data includes:
; [[Artist]]s
: Name, sort name, IPI, aliases, type, begin and end dates, disambiguation comment, MBID
* A MusicBrainz ID (MBID)
* Name
* Sortname for displaying the artist name is a sorted list
* Common aliases and misspellings
* Type (person/group)
* Begin date, a birth date or formation date, depending on type
* End date, a death date or dissolution date, depending on type
* Comment, a short disambiguation field that distinguishes artists with same or similar names
* Annotation, a free form text field that allows editors to make notes about the artist


The MusicBrainz [[Release]] data includes:
; [[Release Group]]s
: Title, artist credit, type, disambiguation comment, MBID
* A MusicBrainz ID (MBID)
* Title
* Artist
* Type (Album, single, EP, compilation, soundtrack, spokenword, interview, audiobook, live, remix, other)
* Status (Official, promotion, bootleg, pseudo-release)
* Language (see [http://www.loc.gov/standards/iso639-2/php/code_list.php ISO 639])
* Annotation, a free form text field that allows editors to make notes about this release
* Discid (zero or more Discids that allow Audio CD-ROM identification)
* Amazon ASIN, an Amazon.com product code, suitable for linking to cover art.
* Release events that each contain:
** Release date
** Release country
** Label
** Catalog number
** Barcode
** Format (CD, Tape, Vinyl, Wax Cylinder, etc.)


; [[Release]]s
The MusicBrainz [[Track]] data includes:
: Title, artist credit, type, status, language, date, country, label, catalog number, barcode, medium(s), disc ID(s), ASIN, disambiguation comment, MBID
* A MusicBrainz ID (MBID)
* Title
* Artist
* Duration (in milliseconds)
* Annotation, a free form text field that allows editors to make notes about this
* PUID, the [http://musicip.com MusicIP] acoustic fingerprint identifier for this track.


; [[Medium]]s
The MusicBrainz [[Label]] data includes:
: Format, list of tracks (title, artist credit, duration)
* A MusicBrainz ID (MBID)
* Name
* Sortname for displaying the label name is a sorted list
* Common aliases and misspellings
* Type (original production, bootleg production, reissue production, distributor, holding)
* Code, the IFPI [[Label Code|LabelCode]]
* Begin date (formation date)
* End date (dissolution date)
* Comment, a short disambiguation field that distinguishes labels with same or similar names
* Annotation, a free form text field that allows editors to make notes about the label
* Country ([http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm ISO 3166 Codes])


; [[Recording]]s
Each of these [[Artist]], [[Release]], [[Track]] and [[Label]] entities can be linked by [[Advanced Relationships|AdvancedRelationships]] that provide a rich tapestry of data relationships. Advanced relationships provide information about web resources (e.g. Wikipedia pages, download locations, etc) for entities and they can indicate instrument/vocal performances on a piece of music. These relationships allow [[MusicBrainz]] to capture most of the data contained in the liner and liner notes for an Audio CD. For more details on these relationships, please read our [[Advanced Relationships|AdvancedRelationships]] page.
: Title, artist credit, duration, ISRC, PUIDs, relationships, disambiguation comment, MBID


; [[Work]]s
==Download==
: Title, ISWC, relationships, disambiguation comment, MBID


; [[Label]]s
The MusicBrainz database is built on the [http://postgresql.org/ Postgres] relational database engine. Therefore the data files are provided in the Postgres "dump" format, only really suitable for restoring to a Postgres database. See the [[Database Schema|DatabaseSchema]] documentation for a description of the schema, and what each of the tables are used for.
: Name, sort name, aliases, country, type, code, begin and end dates, disambiguation comment, MBID
<ul><li style="list-style-type:none">[[Image:download.gif]] see the [[Database Download|DatabaseDownload]] page for instructions on how to download the dumps.
</ul>


; [[Relationship]]s & [[URL]]s
==Installation==
: Relationships are a way to link the above entities together and allow MusicBrainz to capture most of the data contained in the liner notes of a CD.


; [[CD Stub]]s
There are a few contributed guidelines how to setup the database on different systems. See [[Database Setup|DatabaseSetup]] for the list of available documents. The easiest way to get a running database is to install a [[Virtual MusicBrainz Server|VirtualMusicBrainzServer]].
: Title, artist, barcode, disc ID, disambiguation comment

=== Supplementary data ===

Supplementary data includes:
* user submitted annotations, tags and ratings
* derived statistics
* search indexes
* edit history
* non-personal user data

== Schema ==
For more information, see our [[/Schema|Schema details]].

==Download==

A complete data snapshot of the entire database is generated twice a week. These snapshots are split into several different files organized by license and contents.

: [[Image:download.gif]] [[MusicBrainz Database/Download|Download and/or install the database]].


==License==
==License==


; Core data
The data collected by the MusicBrainz project is made available to the public under open licenses. Some of the data is available under the '''Public Domain''', and some under the '''Creative Commons Attribution-NonCommercial-ShareAlike''' license (See [[MusicBrainz License|MusicBrainzLicense]] for more details).
: The core data, as noted above, is licensed under the [http://creativecommons.org/publicdomain/zero/1.0/ CC0], which is effectively placing the data into the Public Domain. This means that anyone can download and use the core data in any way they see fit. No restrictions, no worries!

; Supplementary data
: The supplementary data, as noted above, is released under the Creative Commons [http://creativecommons.org/licenses/by-nc-sa/3.0/ Attribution-NonCommercial-ShareAlike 3.0] license. This allows for non-commercial use of the data as long as MusicBrainz is given credit and that derivative works (works based on the CC licensed data) are also made available under the same license.

==Commercial Use & Live Data Feed==


All of our data is available for commercial licensing. For details on commercial use, please visit the [https://metabrainz.org/supporters/account-type MetaBrainz Foundation] site.
==Live data-feed (or Replication)==


The live data-feed enables a server running a PostgreSQL database in conjunction with the MusicBrainz [[Server]] to automatically stay in synch with the main server (See [[Live Data Feed|LiveDataFeed]] for more details).
Consumers of our database may be interested in our replicated [[Live Data Feed]]. This feed operates in conjunction with the [[MusicBrainz Server]] software and enables a local database to automatically stay in sync with the main server. To access the Live Data Feed for commercial or personal use, please sign up at the [https://metabrainz.org/supporters/account-type MetaBrainz Foundation] site.


[[Category:To Be Reviewed]] [[Category:WikiDocs Page]] [[Category:Products]] [[Category:Development]]
[[Category:WikiDocs Page]] [[Category:Products]] [[Category:Database]]

Revision as of 18:54, 23 May 2015

Products > MusicBrainz Database

The MusicBrainz Database is built on the PostgreSQL relational database engine and contains all of MusicBrainz' music metadata. This data includes information about artists, release groups, releases, recordings, works, and labels, as well as the many relationships between them. The database also contains a full history of all the changes that the MusicBrainz community has made to the data.

For details on commercial use, please visit the MetaBrainz Foundation site.

Data overview

Core data

Artists
Name, sort name, IPI, aliases, type, begin and end dates, disambiguation comment, MBID
Release Groups
Title, artist credit, type, disambiguation comment, MBID
Releases
Title, artist credit, type, status, language, date, country, label, catalog number, barcode, medium(s), disc ID(s), ASIN, disambiguation comment, MBID
Mediums
Format, list of tracks (title, artist credit, duration)
Recordings
Title, artist credit, duration, ISRC, PUIDs, relationships, disambiguation comment, MBID
Works
Title, ISWC, relationships, disambiguation comment, MBID
Labels
Name, sort name, aliases, country, type, code, begin and end dates, disambiguation comment, MBID
Relationships & URLs
Relationships are a way to link the above entities together and allow MusicBrainz to capture most of the data contained in the liner notes of a CD.
CD Stubs
Title, artist, barcode, disc ID, disambiguation comment

Supplementary data

Supplementary data includes:

  • user submitted annotations, tags and ratings
  • derived statistics
  • search indexes
  • edit history
  • non-personal user data

Schema

For more information, see our Schema details.

Download

A complete data snapshot of the entire database is generated twice a week. These snapshots are split into several different files organized by license and contents.

download.gif Download and/or install the database.

License

Core data
The core data, as noted above, is licensed under the CC0, which is effectively placing the data into the Public Domain. This means that anyone can download and use the core data in any way they see fit. No restrictions, no worries!
Supplementary data
The supplementary data, as noted above, is released under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 license. This allows for non-commercial use of the data as long as MusicBrainz is given credit and that derivative works (works based on the CC licensed data) are also made available under the same license.

Commercial Use & Live Data Feed

All of our data is available for commercial licensing. For details on commercial use, please visit the MetaBrainz Foundation site.

Consumers of our database may be interested in our replicated Live Data Feed. This feed operates in conjunction with the MusicBrainz Server software and enables a local database to automatically stay in sync with the main server. To access the Live Data Feed for commercial or personal use, please sign up at the MetaBrainz Foundation site.