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40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
---
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
```