Usuario:Mangelrp/Sandbox
De WikiMemoria
Contenido
Debug Output by SQLStore
Ask query
[[::Fosa]] [[Comunidad autónoma::Cantabria]]
SQL Query
SELECT DISTINCT
t7.smw_id AS id,t7.smw_title AS t,t7.smw_namespace AS ns,t7.smw_iw AS iw,t7.smw_subobject AS so,t7.smw_sortkey AS sortkey
FROM
`smw_object_ids` AS t7
INNER JOIN
`smw_di_wikipage` AS t1 ON t7.smw_id=t1.s_id
INNER JOIN
`smw_di_wikipage` AS t4 ON t1.s_id=t4.s_id
WHERE
(t1.p_id='541' AND t1.o_id='542' AND (t4.p_id='513' AND t4.o_id='7081')) AND t7.smw_iw!=':smw' AND t7.smw_iw!=':smw-delete' AND t7.smw_iw!=':smw-redi'
ORDER BY
t7.smw_sortkey ASC
LIMIT
55
OFFSET
0
t7.smw_id AS id,t7.smw_title AS t,t7.smw_namespace AS ns,t7.smw_iw AS iw,t7.smw_subobject AS so,t7.smw_sortkey AS sortkey
FROM
`smw_object_ids` AS t7
INNER JOIN
`smw_di_wikipage` AS t1 ON t7.smw_id=t1.s_id
INNER JOIN
`smw_di_wikipage` AS t4 ON t1.s_id=t4.s_id
WHERE
(t1.p_id='541' AND t1.o_id='542' AND (t4.p_id='513' AND t4.o_id='7081')) AND t7.smw_iw!=':smw' AND t7.smw_iw!=':smw-delete' AND t7.smw_iw!=':smw-redi'
ORDER BY
t7.smw_sortkey ASC
LIMIT
55
OFFSET
0
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t4 | index_merge | s_id,p_id,o_id | o_id,p_id | 5,9 | 1 | Using intersect(o_id,p_id); Using where; Using temporary; Using filesort | |
1 | SIMPLE | t1 | ref | s_id,p_id,o_id | s_id | 8 | wf_memoriahistorica_wikis_cc.t4.s_id,const | 1 | Using where |
1 | SIMPLE | t7 | eq_ref | PRIMARY,smw_id,smw_iw | PRIMARY | 4 | wf_memoriahistorica_wikis_cc.t4.s_id | 1 | Using where |
Auxilliary Tables Used
No auxilliary tables used.Query Metrics
Query-Size:4Query-Depth:1