Debug output SQLStore
ASK Query
[[Modification date::+]]
[[:+]] OR [[IMS:+]] OR [[Protokoll:+]]
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, t2.o_sortkey
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_fpt_mdat` AS t2
INNER JOIN
`t3` AS t3 ON t2.s_id=t3.id) ON t0.smw_id=t2.s_id
WHERE
t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t2.o_sortkey DESC
LIMIT
11
OFFSET
6
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, t2.o_sortkey
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_fpt_mdat` AS t2
INNER JOIN
`t3` AS t3 ON t2.s_id=t3.id) ON t0.smw_id=t2.s_id
WHERE
t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t2.o_sortkey DESC
LIMIT
11
OFFSET
6
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t2 | ALL | s_id | 695 | Using temporary; Using filesort | ||||
1 | SIMPLE | t3 | eq_ref | PRIMARY | PRIMARY | 4 | demo_de.t2.s_id | 1 | ||
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | demo_de.t2.s_id | 1 | Using where |
Auxilliary Tables
- Temporary table t3
INSERT IGNORE INTO `t3` SELECT DISTINCT t4.smw_id FROM `smw_object_ids` AS t4 WHERE t4.smw_namespace=0
INSERT IGNORE INTO `t3` SELECT DISTINCT t5.smw_id FROM `smw_object_ids` AS t5 WHERE t5.smw_namespace=3002
INSERT IGNORE INTO `t3` SELECT DISTINCT t6.smw_id FROM `smw_object_ids` AS t6 WHERE t6.smw_namespace=3010
Query Metrics
Query-Size:4Query-Depth:1
Errors and Warnings
None