Usuario:Mangelrp/Sandbox

De WikiMemoria
Saltar a: navegación, buscar

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

SQL Explain

IDselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEt4index_merges_id,p_id,o_ido_id,p_id5,91Using intersect(o_id,p_id); Using where; Using temporary; Using filesort
1SIMPLEt1refs_id,p_id,o_ids_id8wf_memoriahistorica_wikis_cc.t4.s_id,const1Using where
1SIMPLEt7eq_refPRIMARY,smw_id,smw_iwPRIMARY4wf_memoriahistorica_wikis_cc.t4.s_id1Using where

Auxilliary Tables Used

No auxilliary tables used.

Query Metrics

Query-Size:4
Query-Depth:1

Errors and Warnings

None