Debug output SQLStore
ASK Query
[[Concept:Events]] [[Academic Field.Academic Field OECD FOS 2007::Computer And Information Sciences]]
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, idst5.smw_sort
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_fpt_inst` AS t3
INNER JOIN
(`smw_di_wikipage` AS t5
INNER JOIN
`smw_object_ids` AS idst5 ON idst5.smw_id=t5.o_id
INNER JOIN
`smw_di_blob` AS t7 ON t5.o_id=t7.s_id) ON t3.s_id=t5.s_id) ON t0.smw_id=t3.s_id
WHERE
(t3.o_id=568
AND (t5.p_id=538
AND (
(t7.o_hash='Computer And Information Sciences') AND t7.p_id=541)
))
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
idst5.smw_sort ASC
LIMIT
55
OFFSET
0
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, idst5.smw_sort
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_fpt_inst` AS t3
INNER JOIN
(`smw_di_wikipage` AS t5
INNER JOIN
`smw_object_ids` AS idst5 ON idst5.smw_id=t5.o_id
INNER JOIN
`smw_di_blob` AS t7 ON t5.o_id=t7.s_id) ON t3.s_id=t5.s_id) ON t0.smw_id=t3.s_id
WHERE
(t3.o_id=568
AND (t5.p_id=538
AND (
(t7.o_hash='Computer And Information Sciences') AND t7.p_id=541)
))
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
idst5.smw_sort ASC
LIMIT
55
OFFSET
0
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t7 | ref | s_id, o_hash, s_id_2, p_id | o_hash | 258 | const | 473 | 3.70 | Using index condition; Using where; Using temporary; Using filesort |
1 | SIMPLE | t5 | ref | s_id, o_id, p_id, s_id_2, s_id_3, o_id_2, o_id_3 | o_id_2 | 5 | wiki.t7.s_id | 6 | 25.59 | Using where |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | wiki.t5.s_id | 1 | 50.00 | Using where |
1 | SIMPLE | idst5 | eq_ref | PRIMARY, smw_id | PRIMARY | 4 | wiki.t7.s_id | 1 | 100.00 | |
1 | SIMPLE | t3 | ref | s_id, o_id, s_id_2, o_id_2 | s_id_2 | 9 | wiki.t5.s_id, const | 1 | 100.00 | Using index; Distinct |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:4Query-Depth:2
Errors and Warnings
None