Skip to content

Download Wikimedia dumps from the ftp.acc.umu.se mirror and munge Wikidata faster - #369

Open
RobinTF wants to merge 3 commits into
qlever-dev:mainfrom
RobinTF:mirror-downstream
Open

RobinTF wants to merge 3 commits into
qlever-dev:mainfrom
RobinTF:mirror-downstream

Conversation

@RobinTF

@RobinTF RobinTF commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

The Qleverfiles for Wikidata, Wikidata (munged) and Wikimedia Commons now download their dumps from the unofficial mirror at https://ftp.acc.umu.se/mirror/wikimedia.org/other/wikibase/ instead of dumps.wikimedia.org. On our machines the mirror delivers about 200 MB/s, compared to about 5 MB/s from the original server. Fetching the full Wikidata dump drops from roughly 7 hours to about 15 minutes, and the get-data time estimates and compressed sizes in the headers are updated to match. The munged Wikidata Qleverfile now also uses the latest dumps instead of pinned snapshots, which are removed from the servers after a few weeks and had already broken it. Its dump dates are now taken from the timestamps of the downloaded files, the same way as in the regular Wikidata Qleverfile. Finally, the munged Wikidata Qleverfile now decompresses the dump with lbzcat and pipes it into munge.sh, instead of letting the munger decompress it with Java's single-threaded bz2 decoder. The output is byte-identical, and munging is about 1.4 times faster on a lightly loaded machine, and more on a busy one.

@RobinTF RobinTF changed the title Download Wikimedia dumps from the ftp.acc.umu.se mirror Download Wikimedia dumps from the ftp.acc.umu.se mirror and munge Wikidata faster Dec 4, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant