Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Undispatched change distribution
by
Lucas Werkmeister (WMDE)
This query is marked as a draft
This query has been published
by
Lucas Werkmeister (WMDE)
.
This shows the number of Wikidata edits that have to be dispatched to English Wikipedia per ten-minute interval. The idea is to get some vague understanding of how the dispatch lag will develop as changes keep being dispatched at what is presumably a near-constant rate. (The best way to look at the results is probably to download/open them in XLSX format and having LibreOffice chart them.)
Toggle Highlighting
SQL
USE `wikidatawiki_p`; SELECT SUBSTRING(`change_time` FROM 1 FOR 11) AS `ten_minute_interval`, COUNT(*) AS `count` FROM `wb_changes` JOIN `wb_changes_subscription` ON `cs_entity_id` = `change_object_id` WHERE `cs_subscriber_id` = "enwiki" AND `change_id` >= (SELECT `chd_seen` FROM `wb_changes_dispatch` WHERE `chd_site` = "enwiki") GROUP BY `ten_minute_interval` ORDER BY `ten_minute_interval`
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...