discogs / README.md
tompipe's picture
Discogs dump 20261101
b43a5fb verified
|
Raw History Blame Contribute Delete
12.7 kB
---
license: cc0-1.0
pretty_name: "Discogs data dump 20261101"
discogs_dump: "20261101"
tags:
- discogs
- music
configs:
- config_name: labels
data_files:
- split: train
path: "data/labels/*.parquet"
default: true
- config_name: label_sublabels
data_files:
- split: train
path: "data/label_sublabels/*.parquet"
- config_name: labels_full
data_files:
- split: train
path: "data/labels_full/*.parquet"
- config_name: artists
data_files:
- split: train
path: "data/artists/*.parquet"
- config_name: artist_aliases
data_files:
- split: train
path: "data/artist_aliases/*.parquet"
- config_name: artist_groups
data_files:
- split: train
path: "data/artist_groups/*.parquet"
- config_name: artist_members
data_files:
- split: train
path: "data/artist_members/*.parquet"
- config_name: artists_full
data_files:
- split: train
path: "data/artists_full/*.parquet"
- config_name: masters
data_files:
- split: train
path: "data/masters/*.parquet"
- config_name: master_artists
data_files:
- split: train
path: "data/master_artists/*.parquet"
- config_name: master_videos
data_files:
- split: train
path: "data/master_videos/*.parquet"
- config_name: masters_full
data_files:
- split: train
path: "data/masters_full/*.parquet"
- config_name: releases
data_files:
- split: train
path: "data/releases/*.parquet"
- config_name: release_artists
data_files:
- split: train
path: "data/release_artists/*.parquet"
- config_name: release_extraartists
data_files:
- split: train
path: "data/release_extraartists/*.parquet"
- config_name: release_labels
data_files:
- split: train
path: "data/release_labels/*.parquet"
- config_name: release_series
data_files:
- split: train
path: "data/release_series/*.parquet"
- config_name: release_formats
data_files:
- split: train
path: "data/release_formats/*.parquet"
- config_name: release_identifiers
data_files:
- split: train
path: "data/release_identifiers/*.parquet"
- config_name: release_videos
data_files:
- split: train
path: "data/release_videos/*.parquet"
- config_name: release_companies
data_files:
- split: train
path: "data/release_companies/*.parquet"
- config_name: release_tracks
data_files:
- split: train
path: "data/release_tracks/*.parquet"
- config_name: release_track_artists
data_files:
- split: train
path: "data/release_track_artists/*.parquet"
- config_name: release_track_extraartists
data_files:
- split: train
path: "data/release_track_extraartists/*.parquet"
- config_name: releases_full
data_files:
- split: train
path: "data/releases_full/*.parquet"
---
# Discogs data dump 20261101
The monthly [Discogs data dump](https://data.discogs.com/) (CC0) as Parquet, in two shapes:
- **Flat tables** (`releases`, `release_tracks`, ...): DiscogsKit's normalised schema, for analytics.
- **Full records** (`*_full`): one row per release / master / artist / label with its child lists nested, sorted by id, in small row groups so one record can be fetched with an HTTP range read.
Every table is sharded as `data/{table}/{table}-{nnnnn}.parquet`; ids ascend within and across shards. Each month is one commit on `main`, tagged `20261101` for this one; older months stay reachable by tag.
## Looking up one record (`*_full` tables)
1. Read the footer of each shard you need (row-group `id` min/max statistics are the index; no other statistics are written).
2. Pick the shard and row group whose `id` range covers the id.
3. Range-read that row group and decode the one row.
## Tables
| Table | Rows | Shards | Bytes | Layout |
|---|---:|---:|---:|---|
| `labels` | 2,436,770 | 1 | 89,062,984 | shard_bytes=500,000,000 |
| `label_sublabels` | 320,166 | 1 | 5,694,455 | shard_bytes=500,000,000 |
| `labels_full` | 2,436,770 | 3 | 148,975,775 | shard_bytes=50,000,000, row_group_rows=120 |
| `artists` | 10,284,281 | 1 | 403,227,163 | shard_bytes=500,000,000 |
| `artist_aliases` | 4,770,593 | 1 | 30,874,438 | shard_bytes=500,000,000 |
| `artist_groups` | 2,408,592 | 1 | 38,445,051 | shard_bytes=500,000,000 |
| `artist_members` | 2,408,144 | 1 | 40,305,841 | shard_bytes=500,000,000 |
| `artists_full` | 10,284,281 | 14 | 790,027,855 | shard_bytes=50,000,000, row_group_rows=120 |
| `masters` | 2,608,936 | 1 | 87,483,114 | shard_bytes=500,000,000 |
| `master_artists` | 3,207,079 | 1 | 59,099,826 | shard_bytes=500,000,000 |
| `master_videos` | 6,451,821 | 1 | 512,477,993 | shard_bytes=500,000,000 |
| `masters_full` | 2,608,936 | 15 | 778,659,947 | shard_bytes=50,000,000, row_group_rows=120 |
| `releases` | 19,575,942 | 3 | 1,504,986,867 | shard_bytes=500,000,000 |
| `release_artists` | 23,824,228 | 1 | 412,664,749 | shard_bytes=500,000,000 |
| `release_extraartists` | 71,892,538 | 3 | 1,350,350,397 | shard_bytes=500,000,000 |
| `release_labels` | 22,745,152 | 1 | 428,208,565 | shard_bytes=500,000,000 |
| `release_series` | 1,631,443 | 1 | 30,372,227 | shard_bytes=500,000,000 |
| `release_formats` | 20,052,454 | 1 | 163,203,992 | shard_bytes=500,000,000 |
| `release_identifiers` | 34,777,591 | 1 | 425,196,145 | shard_bytes=500,000,000 |
| `release_videos` | 11,596,588 | 3 | 1,016,007,767 | shard_bytes=500,000,000 |
| `release_companies` | 35,503,802 | 1 | 392,826,870 | shard_bytes=500,000,000 |
| `release_tracks` | 181,954,064 | 6 | 2,698,095,250 | shard_bytes=500,000,000 |
| `release_track_artists` | 37,393,128 | 1 | 396,588,650 | shard_bytes=500,000,000 |
| `release_track_extraartists` | 91,712,128 | 3 | 1,124,045,737 | shard_bytes=500,000,000 |
| `releases_full` | 19,575,942 | 262 | 13,967,716,652 | shard_bytes=50,000,000, row_group_rows=120 |
## Sources
| Entity | File | Records | SHA-256 | Checksum file |
|---|---|---:|---|---|
| labels | `discogs_20261101_labels.xml.gz` | 2,436,770 | `0b9886e30752b29781891bbaf0663e0876d8196784326cd23d561d69edea79c8` | match |
| artists | `discogs_20261101_artists.xml.gz` | 10,284,281 | `2158e6778c535df08df32feddd9fefedc379e6dede7527dfd10baf7664d9f27d` | match |
| masters | `discogs_20261101_masters.xml.gz` | 2,608,936 | `75eb03aeb1d03a07797ffdcb57a4b81c87cf10955353c800fa7b6bc86aac1d67` | match |
| releases | `discogs_20261101_releases.xml.gz` | 19,575,942 | `1d9781c775cf6ae01c9b18e1539a19cbec25dd440c99ba797d68dee8d3f6d01f` | match |
## Unhandled source paths
None: every element, attribute and text in the dump was read.
## Provenance
- DiscogsKit fork commit: `7a4fb3d4fab8fe94074c2d1582056c86e7cd15c3`
- Publisher: discogs-hf 0.1.0 (`c61b668fbd428d05f48819da1ff3de7c49681dfe`)
## Schemas
### `labels`
```
id: int32 not null
contactinfo: string
data_quality: string
name: string
parent_label_id: int32
parent_label_name: string
profile: string
urls: list<item: string>
```
### `label_sublabels`
```
label_id: int32 not null
sublabel_id: int32
name: string
```
### `labels_full`
```
id: int32 not null
contactinfo: string
data_quality: string
name: string
parent_label_id: int32
parent_label_name: string
profile: string
urls: list<item: string>
sublabels: list<element: struct<sublabel_id: int32, name: string> not null> not null
```
### `artists`
```
id: int32 not null
data_quality: string
name: string
namevariations: list<item: string>
profile: string
realname: string
urls: list<item: string>
```
### `artist_aliases`
```
artist_id: int32 not null
alias_id: int32
name: string
```
### `artist_groups`
```
artist_id: int32 not null
group_id: int32
name: string
```
### `artist_members`
```
artist_id: int32 not null
member_id: int32
name: string
```
### `artists_full`
```
id: int32 not null
data_quality: string
name: string
namevariations: list<item: string>
profile: string
realname: string
urls: list<item: string>
aliases: list<element: struct<alias_id: int32, name: string> not null> not null
groups: list<element: struct<group_id: int32, name: string> not null> not null
members: list<element: struct<member_id: int32, name: string> not null> not null
```
### `masters`
```
id: int32 not null
data_quality: string
genres: list<item: string>
main_release: int32
notes: string
styles: list<item: string>
title: string
year: int32
```
### `master_artists`
```
master_id: int32 not null
artist_id: int32
anv: string
join: string
name: string
```
### `master_videos`
```
master_id: int32 not null
description: string
duration: int32
embed: bool
src: string
title: string
```
### `masters_full`
```
id: int32 not null
data_quality: string
genres: list<item: string>
main_release: int32
notes: string
styles: list<item: string>
title: string
year: int32
artists: list<element: struct<artist_id: int32, anv: string, join: string, name: string> not null> not null
videos: list<element: struct<description: string, duration: int32, embed: bool, src: string, title: string> not null> not null
```
### `releases`
```
id: int32 not null
country: string
data_quality: string
genres: list<item: string>
is_main_release: bool
master_id: int32
notes: string
released: string
status: string
styles: list<item: string>
title: string
```
### `release_artists`
```
release_id: int32 not null
artist_id: int32
anv: string
join: string
name: string
```
### `release_extraartists`
```
release_id: int32 not null
artist_id: int32
anv: string
name: string
role: string
tracks: string
```
### `release_labels`
```
release_id: int32 not null
label_id: int32
catno: string
name: string
```
### `release_series`
```
release_id: int32 not null
series_id: int32
catno: string
name: string
```
### `release_formats`
```
release_id: int32 not null
descriptions: list<item: string>
name: string
qty: string
text: string
```
### `release_identifiers`
```
release_id: int32 not null
description: string
type: string
value: string
```
### `release_videos`
```
release_id: int32 not null
description: string
duration: int32
embed: bool
src: string
title: string
```
### `release_companies`
```
release_id: int32 not null
company_id: int32
catno: string
entity_type: string
entity_type_name: string
name: string
```
### `release_tracks`
```
release_id: int32 not null
track_idx: int32 not null
parent_idx: int32
duration: string
position: string
title: string
```
### `release_track_artists`
```
release_id: int32 not null
track_idx: int32 not null
artist_id: int32
anv: string
join: string
name: string
```
### `release_track_extraartists`
```
release_id: int32 not null
track_idx: int32 not null
artist_id: int32
anv: string
name: string
role: string
```
### `releases_full`
```
id: int32 not null
country: string
data_quality: string
genres: list<item: string>
is_main_release: bool
master_id: int32
notes: string
released: string
status: string
styles: list<item: string>
title: string
artists: list<element: struct<artist_id: int32, anv: string, join: string, name: string> not null> not null
extraartists: list<element: struct<artist_id: int32, anv: string, name: string, role: string, tracks: string> not null> not null
labels: list<element: struct<label_id: int32, catno: string, name: string> not null> not null
series: list<element: struct<series_id: int32, catno: string, name: string> not null> not null
companies: list<element: struct<company_id: int32, catno: string, entity_type: string, entity_type_name: string, name: string> not null> not null
formats: list<element: struct<descriptions: list<item: string>, name: string, qty: string, text: string> not null> not null
identifiers: list<element: struct<description: string, type: string, value: string> not null> not null
videos: list<element: struct<description: string, duration: int32, embed: bool, src: string, title: string> not null> not null
tracks: list<element: struct<track_idx: int32 not null, parent_idx: int32, duration: string, position: string, title: string, artists: list<element: struct<artist_id: int32, anv: string, join: string, name: string> not null> not null, extraartists: list<element: struct<artist_id: int32, anv: string, name: string, role: string> not null> not null> not null> not null
```