Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Brooke Vibber (WMF)
.
Until I finish refactoring the query in Special:Transcode_statistics which currently fails most of the time on Commons
Toggle Highlighting
SQL
select count(transcode_key), transcode_key, (transcode_time_addjob IS NULL AND transcode_time_startwork IS NULL AND transcode_time_success IS NULL AND transcode_time_error IS NULL) as missing, (transcode_time_addjob IS NOT NULL AND transcode_time_startwork IS NULL AND transcode_time_success IS NULL AND transcode_time_error IS NULL) as queued, (transcode_time_addjob IS NOT NULL AND transcode_time_startwork IS NOT NULL AND transcode_time_success IS NULL AND transcode_time_error IS NULL) as active, (transcode_time_addjob IS NOT NULL AND transcode_time_startwork IS NOT NULL AND transcode_time_success IS NULL AND transcode_time_error IS NOT NULL) as failed, (transcode_time_addjob IS NOT NULL AND transcode_time_startwork IS NOT NULL AND transcode_time_success IS NOT NULL AND transcode_time_error IS NULL) as success from transcode where transcode_key like '%.mp4' OR transcode_key like '%.mov' group by transcode_key, missing, queued, active, failed, success having success order by success desc, failed desc, active desc, queued desc, missing desc, transcode_key
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...