Semantic search
SQLStore debug output
ASK Query
[[City::Mesa]] [[Category:Points of interest]] OR [[City::Mesa]] [[Category:Areas]]
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
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, 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
50
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t1 | ALL | PRIMARY | 53 | Using temporary; Using filesort | |||
1 | SIMPLE | t0 | eq_ref | PRIMARY,smw_id,smw_iw,smw_iw_2 | PRIMARY | 4 | transitunlimited.t1.id | 1 | Using where |
Auxilliary Tables
- Temporary table t1
INSERT IGNORE INTO `wiki_t1` SELECT DISTINCT t3.s_id FROM `wiki_smw_di_wikipage` AS t3 INNER JOIN (`wiki_smw_fpt_inst` AS t6 INNER JOIN `wiki_t7` AS t7 ON t6.o_id=t7.id) ON t3.s_id=t6.s_id WHERE t3.p_id='318791' AND t3.o_id='44148'
INSERT IGNORE INTO `wiki_t1` SELECT DISTINCT t9.s_id FROM `wiki_smw_di_wikipage` AS t9 INNER JOIN `wiki_smw_fpt_inst` AS t12 ON t9.s_id=t12.s_id WHERE t9.p_id='318791' AND t9.o_id='44148' AND (t12.o_id='1570') - Temporary table t7
Recursively computed hierarchy for element(s) ('7527').
SELECT s_id FROM `wiki_smw_fpt_subc` WHERE o_id='7527' LIMIT 1
Query Metrics
Query-Size:6Query-Depth:1
Errors and Warnings
None