Semantic search
Jump to navigation
Jump to search
Query-Depth:1
Debug output SQLStore
ASK Query
[[Category:Ballgames]]
[[Home Team::Atlantic Club of Brooklyn]]OR[[Away Team::Atlantic Club of Brooklyn]]
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
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_fpt_inst` AS t2
INNER JOIN
`t4` AS t4 ON t2.s_id=t4.id) ON t0.smw_id=t2.s_id
INNER JOIN
`smw_di_time` AS t12 ON t0.smw_id=t12.s_id
WHERE
(t2.o_id=681)
AND (t12.p_id=558)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t12.o_sortkey ASC
LIMIT
25
OFFSET
100
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
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_fpt_inst` AS t2
INNER JOIN
`t4` AS t4 ON t2.s_id=t4.id) ON t0.smw_id=t2.s_id
INNER JOIN
`smw_di_time` AS t12 ON t0.smw_id=t12.s_id
WHERE
(t2.o_id=681)
AND (t12.p_id=558)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t12.o_sortkey ASC
LIMIT
25
OFFSET
100
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t4 | ALL | PRIMARY | 193 | 100.00 | Using temporary; Using filesort | |||
1 | SIMPLE | t2 | ref | s_id, o_id, s_id_2, o_id_2 | s_id | 4 | protoballdb.t4.id | 1 | 9.84 | Using where |
1 | SIMPLE | t12 | ref | s_id, p_id, p_id_2, s_id_2 | s_id | 8 | protoballdb.t4.id, const | 1 | 100.00 | |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | protoballdb.t4.id | 1 | 50.00 | Using where |
Auxilliary Tables
- Temporary table t4
INSERT IGNORE INTO `t4` SELECT DISTINCT t5.s_id FROM `smw_di_wikipage` AS t5 WHERE t5.p_id=545 AND t5.o_id=24985
INSERT IGNORE INTO `t4` SELECT DISTINCT t8.s_id FROM `smw_di_wikipage` AS t8 WHERE t8.p_id=10770 AND t8.o_id=24985
Query Metrics
Query-Size:5Query-Depth:1
Errors and Warnings
None