Semantic search
Jump to navigation
Jump to search
Query-Depth:2
Debug output SQLStore
ASK Query
[[Has availability::Current]] [[Has game context::Transient]] [[Has base skill.Has ID::219]] OR [[Has availability::Current]] [[Has game context::Transient]] [[Has evolved skill::Mechaman#skill0]]
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, t0.smw_sort
FROM
`wiki_smw_object_ids` AS t0
INNER JOIN
`wiki_t1` AS t1 ON t0.smw_id=t1.id
WHERE
t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.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, t0.smw_sort
FROM
`wiki_smw_object_ids` AS t0
INNER JOIN
`wiki_t1` AS t1 ON t0.smw_id=t1.id
WHERE
t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.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 | t1 | ALL | PRIMARY | 18 | Using temporary; Using filesort | ||||
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | wikidb.t1.id | 1 | Using where |
Auxilliary Tables
- Temporary table t1
INSERT IGNORE INTO `wiki_t1` SELECT DISTINCT t3.s_id FROM `wiki_smw_di_blob` AS t3 INNER JOIN `wiki_smw_di_blob` AS t5 ON t3.s_id=t5.s_id INNER JOIN (`wiki_smw_di_wikipage` AS t7 INNER JOIN `wiki_smw_di_number` AS t9 ON t7.o_id=t9.s_id) ON t3.s_id=t7.s_id WHERE (t3.o_hash='Current') AND t3.p_id=1672326 AND ((t5.o_hash='Transient') AND t5.p_id=1672312) AND (t7.p_id=1672336 AND ((t9.o_sortkey='219') AND t9.p_id=82035))
INSERT IGNORE INTO `wiki_t1` SELECT DISTINCT t12.s_id FROM `wiki_smw_di_blob` AS t12 INNER JOIN `wiki_smw_di_blob` AS t14 ON t12.s_id=t14.s_id INNER JOIN `wiki_smw_di_wikipage` AS t16 ON t12.s_id=t16.s_id WHERE (t12.o_hash='Current') AND t12.p_id=1672326 AND ((t14.o_hash='Transient') AND t14.p_id=1672312) AND (t16.p_id=16260 AND t16.o_id=165931)
Query Metrics
Query-Size:13Query-Depth:2
Errors and Warnings
None