Semantic search
Jump to navigation
Jump to search
Query-Depth:1
Debug output SQLStore
ASK Query
[[Category:Project]] [[Project Status::Initializing]] OR[[Project Status::In progress]]OR[[Project Status::Completed]]
SQL Query
SELECT DISTINCT
t0.smw_id AS id,
t0.smw_title AS t,
t0.smw_namespace AS ns,
t0.smw_iw AS iw,
t0.smw_subobject AS so,
t0.smw_sortkey AS sortkey, t12.o_sortkey,t14.o_hash
FROM
`mw_smw_object_ids` AS t0
INNER JOIN
`mw_t1` AS t1 ON t0.smw_id=t1.id
INNER JOIN
`mw_smw_di_time` AS t12 ON t0.smw_id=t12.s_id
INNER JOIN
`mw_smw_di_blob` AS t14 ON t0.smw_id=t14.s_id
WHERE
(t12.p_id=2425)
AND (t14.p_id=8502)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t12.o_sortkey DESC , t14.o_hash ASC
LIMIT
55
OFFSET
50
t0.smw_id AS id,
t0.smw_title AS t,
t0.smw_namespace AS ns,
t0.smw_iw AS iw,
t0.smw_subobject AS so,
t0.smw_sortkey AS sortkey, t12.o_sortkey,t14.o_hash
FROM
`mw_smw_object_ids` AS t0
INNER JOIN
`mw_t1` AS t1 ON t0.smw_id=t1.id
INNER JOIN
`mw_smw_di_time` AS t12 ON t0.smw_id=t12.s_id
INNER JOIN
`mw_smw_di_blob` AS t14 ON t0.smw_id=t14.s_id
WHERE
(t12.p_id=2425)
AND (t14.p_id=8502)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t12.o_sortkey DESC , t14.o_hash ASC
LIMIT
55
OFFSET
50
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t14 | ref | s_id, p_id, s_id_2 | p_id | 4 | const | 465 | Using temporary; Using filesort | |
1 | SIMPLE | t12 | ref | s_id, p_id, p_id_2, s_id_2 | s_id_2 | 8 | revspacenl.t14.s_id, const | 1 | Using index | |
1 | SIMPLE | t1 | eq_ref | PRIMARY | PRIMARY | 4 | revspacenl.t14.s_id | 1 | ||
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | revspacenl.t14.s_id | 1 | Using where |
Auxilliary Tables
- Temporary table t1
INSERT IGNORE INTO `mw_t1` SELECT DISTINCT t3.s_id FROM `mw_smw_fpt_inst` AS t3 INNER JOIN `mw_smw_di_blob` AS t5 ON t3.s_id=t5.s_id WHERE t3.o_id=8504 AND ((t5.o_hash='Initializing') AND t5.p_id=8387)
INSERT IGNORE INTO `mw_t1` SELECT DISTINCT t7.s_id FROM `mw_smw_di_blob` AS t7 WHERE (t7.o_hash='In progress') AND t7.p_id=8387
INSERT IGNORE INTO `mw_t1` SELECT DISTINCT t9.s_id FROM `mw_smw_di_blob` AS t9 WHERE (t9.o_hash='Completed') AND t9.p_id=8387
Query Metrics
Query-Size:7Query-Depth:1
Errors and Warnings
None