MusicBrainz Database: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
mNo edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<small>[[Products]] > MusicBrainz 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 [[Advanced 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 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.

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


==Data overview==
==Data overview==


=== Core data ===
=== Core data ===

; [[Area]]s
: Name, aliases, type, ISO codes, begin and end dates, disambiguation comment, MBID


; [[Artist]]s
; [[Artist]]s
: Name, sort name, aliases, type, begin and end dates, disambiguation comment, MBID
: Name, sort name, areas, IPI, ISNI, aliases, type, begin and end dates, disambiguation comment, MBID


; [[Release Group]]s
; [[Event]]s
: Title, artist credit, type, disambiguation comment, MBID
: Name, aliases, type, begin and end dates, time, setlist, disambiguation comment, MBID (performers / location indicated through relationships)


; [[Release]]s
; [[Genre]]s
: Title, artist credit, type, status, language, date, country, label, catalog number, barcode, medium(s), disc ID(s), ASIN, disambiguation comment, MBID
: Name, aliases, disambiguation comment, MBID

; [[Instrument]]s
: Name, description, aliases, type, disambiguation comment, MBID

; [[Label]]s
: Name, area, IPI, ISNI, aliases, type, code, begin and end dates, disambiguation comment, MBID


; [[Medium]]s
; [[Medium]]s
: Format, list of tracks (title, artist credit, duration)
: Format, list of tracks (title, artist credit, duration)

; [[Place]]s
: Name, aliases, area, type, code, begin and end dates, disambiguation comment, MBID


; [[Recording]]s
; [[Recording]]s
: Title, artist credit, duration, ISRC, relationships, disambiguation comment, MBID
: Title, artist credit, duration, ISRC, PUIDs, disambiguation comment, MBID


; [[Work]]s
; [[Release Group]]s
: Title, relationships, disambiguation comment, MBID
: Title, artist credit, type, disambiguation comment, MBID


; [[Label]]s
; [[Release]]s
: Name, sort name, aliases, country, type, code, begin and end dates, disambiguation comment, MBID
: Title, artist credit, type, status, language, date, country, label, catalog number, barcode, medium(s), disc ID(s), ASIN, disambiguation comment, MBID

; [[Series]]
: Name, aliases, type, disambiguation comment, MBID (parts indicated through relationships)

; [[Work]]s
: Title, ISWC, disambiguation comment, MBID (writers indicated through relationships)


; [[Relationship]]s & [[URL]]s
; [[Relationship]]s & [[URL]]s
Line 37: Line 57:


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

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


==Download==
==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]].


: [[Image:download.gif]] [[MusicBrainz Database/Download|Download and/or install the database]].
The database is built on PostgreSQL and thus the data files provided are only suitable for importing to another PostgreSQL database. See the [[/Schema|database schema]] documentation for a description of the schema.


==License==
==License==


; Core data
; Core data
: The core data, as noted above, is placed into the [http://creativecommons.org/licenses/publicdomain/ Public Domain]. This means that anyone can download and use the core data in any way they see fit. No restrictions, no worries!
: 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
; Supplementary data
: The supplementary data, as noted above, is released with a Creative Commons [http://creativecommons.org/licenses/by-nc-sa/2.0/ Attribution-NonCommercial-ShareAlike] license. This allows for non-commercial use of the data as long as MusicBrainz is given credit and that derivative works (works based on MusicBrainz CC licensed data) are also made available under the same license.
: 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. If you are interested in licensing this data for commercial use, please [[Contact Us|contact us]].


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==


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.
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:WikiDocs Page]] [[Category:Products]] [[Category:Database]]
[[Category:WikiDocs Page]] [[Category:Products]] [[Category:Database]]

Latest revision as of 12:46, 26 May 2022

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

Areas
Name, aliases, type, ISO codes, begin and end dates, disambiguation comment, MBID
Artists
Name, sort name, areas, IPI, ISNI, aliases, type, begin and end dates, disambiguation comment, MBID
Events
Name, aliases, type, begin and end dates, time, setlist, disambiguation comment, MBID (performers / location indicated through relationships)
Genres
Name, aliases, disambiguation comment, MBID
Instruments
Name, description, aliases, type, disambiguation comment, MBID
Labels
Name, area, IPI, ISNI, aliases, type, code, begin and end dates, disambiguation comment, MBID
Mediums
Format, list of tracks (title, artist credit, duration)
Places
Name, aliases, area, type, code, begin and end dates, disambiguation comment, MBID
Recordings
Title, artist credit, duration, ISRC, PUIDs, 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
Series
Name, aliases, type, disambiguation comment, MBID (parts indicated through relationships)
Works
Title, ISWC, disambiguation comment, MBID (writers indicated through relationships)
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 (including genre associations) 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.