Semantische Suche
Debug output SQLStore
ASK Query
[[Kategorie:Personen]]
[[Nachname::≤B]]OR[[Vorname::≤B]]
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, t10.o_hash,t12.o_hash
FROM
`mw_smw_object_ids` AS t0
INNER JOIN
(`mw_smw_fpt_inst` AS t2
INNER JOIN
`mw_t3` AS t3 ON t2.o_id=t3.id
INNER JOIN
`mw_t4` AS t4 ON t2.s_id=t4.id) ON t0.smw_id=t2.s_id
INNER JOIN
`mw_smw_di_blob` AS t10 ON t0.smw_id=t10.s_id
INNER JOIN
`mw_smw_di_blob` AS t12 ON t0.smw_id=t12.s_id
WHERE
(t10.p_id=12819)
AND (t12.p_id=10312)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t10.o_hash ASC , t12.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, t10.o_hash,t12.o_hash
FROM
`mw_smw_object_ids` AS t0
INNER JOIN
(`mw_smw_fpt_inst` AS t2
INNER JOIN
`mw_t3` AS t3 ON t2.o_id=t3.id
INNER JOIN
`mw_t4` AS t4 ON t2.s_id=t4.id) ON t0.smw_id=t2.s_id
INNER JOIN
`mw_smw_di_blob` AS t10 ON t0.smw_id=t10.s_id
INNER JOIN
`mw_smw_di_blob` AS t12 ON t0.smw_id=t12.s_id
WHERE
(t10.p_id=12819)
AND (t12.p_id=10312)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t10.o_hash ASC , t12.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 | t4 | ALL | PRIMARY | 185 | 100.00 | Using temporary; Using filesort | |||
1 | SIMPLE | t10 | ref | s_id, p_id, s_id_2 | s_id | 8 | k113882_demxikon.t4.id, const | 1 | 100.00 | |
1 | SIMPLE | t12 | ref | s_id, p_id, s_id_2 | s_id | 8 | k113882_demxikon.t4.id, const | 1 | 100.00 | |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | k113882_demxikon.t4.id | 1 | 85.75 | Using where |
1 | SIMPLE | t2 | ref | s_id, o_id, s_id_2, o_id_2 | s_id_2 | 4 | k113882_demxikon.t4.id | 3 | 100.00 | Using where; Using index; Distinct |
1 | SIMPLE | t3 | eq_ref | PRIMARY | PRIMARY | 4 | k113882_demxikon.t2.o_id | 1 | 100.00 | Distinct |
Auxilliary Tables
- Temporary table t3
Recursively computed hierarchy for element(s) (10363).
SELECT s_id FROM `mw_smw_fpt_subc` WHERE o_id=10363 LIMIT 1 - Temporary table t4
INSERT IGNORE INTO `mw_t4` SELECT DISTINCT t5.s_id FROM `mw_smw_di_blob` AS t5 WHERE (t5.o_hash<='B') AND t5.p_id=12819
INSERT IGNORE INTO `mw_t4` SELECT DISTINCT t7.s_id FROM `mw_smw_di_blob` AS t7 WHERE (t7.o_hash<='B') AND t7.p_id=10312
Query Metrics
Query-Size:5Query-Depth:1
Errors and Warnings
None