I was exploring the MusicBrainz data with direct queries of my mirror database, and I noticed something curious: there appear to be over 2,000 Release Groups which have no Releases.
Here are five:
| Release Group MBID | Title (linked) |
|---|---|
| 4da05891-5073-4723-b78f-f3b007a72172 | Coffee EP |
| 7717e5b4-47cc-480d-b4c9-e627df34f0f1 | I Like You EP |
| 10b97063-3040-472d-8171-842a5829f26f | Shock |
| 484a4f44-2595-4d86-af01-4e429894fb65 | Midnight -星を数える夜- |
| 40dd2496-d483-4b35-a304-3ee29e91653e | Max Payne (Re-Engineered Soundtrack) |
From a quick look at the edit histories, it seems that there are a couple of ways they got added. “Coffee EP” and “I Like You EP” were added years ago, seemingly just as a Release Group with no Release. (I always add a Release and let MB add the corresponding Release Group, so avoid this outcome.) The Max Payne RG was added together with a Release, but the Release was later edited to connect with a second RG, leaving this first RG stranded.
I don’t particularly want to take on the project to clean this up, but perhaps someone else will. FYI.
Here is the SQL query which counts the affected Release Groups, and its result:
select count(*) from release_group as RG left join release as R
on R.release_group = RG.id where R.release_group IS NULL;
count
-------
2090
Here is the query which lists the affected Release Groups, and its result:
select RG.gid, RG.name from release_group as RG left join release as R
on R.release_group = RG.id where R.release_group IS NULL LIMIT 5;
gid | name
--------------------------------------+--------------------------------------
4da05891-5073-4723-b78f-f3b007a72172 | Coffee EP
7717e5b4-47cc-480d-b4c9-e627df34f0f1 | I Like You EP
10b97063-3040-472d-8171-842a5829f26f | Shock
484a4f44-2595-4d86-af01-4e429894fb65 | Midnight -星を数える夜-
40dd2496-d483-4b35-a304-3ee29e91653e | Max Payne (Re-Engineered Soundtrack)
I found zero cases of the complementary situation: Release entries without a corresponding Release Group.