Semantic search
Debug output SQLStore
ASK Query
[[Last editor is::!User:127.0.0.1]] [[:+]]
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, t6.o_sortkey
FROM
`pedia_smw_object_ids` AS t0
INNER JOIN
(`pedia_smw_fpt_ledt` AS t2
INNER JOIN
`pedia_smw_object_ids` AS t3 ON t2.o_id=t3.smw_id
INNER JOIN
`pedia_smw_object_ids` AS t4 ON t2.s_id=t4.smw_id) ON t0.smw_id=t2.s_id
INNER JOIN
`pedia_smw_fpt_mdat` AS t6 ON t0.smw_id=t6.s_id
WHERE
(
(t3.smw_sortkey!='127.0.0.1')
AND (t4.smw_namespace=0)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t6.o_sortkey DESC
LIMIT
105
OFFSET
10
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, t6.o_sortkey
FROM
`pedia_smw_object_ids` AS t0
INNER JOIN
(`pedia_smw_fpt_ledt` AS t2
INNER JOIN
`pedia_smw_object_ids` AS t3 ON t2.o_id=t3.smw_id
INNER JOIN
`pedia_smw_object_ids` AS t4 ON t2.s_id=t4.smw_id) ON t0.smw_id=t2.s_id
INNER JOIN
`pedia_smw_fpt_mdat` AS t6 ON t0.smw_id=t6.s_id
WHERE
(
(t3.smw_sortkey!='127.0.0.1')
AND (t4.smw_namespace=0)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t6.o_sortkey DESC
LIMIT
105
OFFSET
10
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t4 | ref | PRIMARY, smw_id, smw_namespace | smw_namespace | 4 | const | 3436 | 100.00 | Using index; Using temporary; Using filesort |
1 | SIMPLE | t2 | ref | s_id, o_id, s_id_2, o_id_2 | s_id | 4 | folgerpedia_mw.t4.smw_id | 1 | 100.00 | Using where |
1 | SIMPLE | t3 | eq_ref | PRIMARY, smw_id, smw_sortkey | PRIMARY | 4 | folgerpedia_mw.t2.o_id | 1 | 50.87 | Using where |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | folgerpedia_mw.t4.smw_id | 1 | 100.00 | Using where |
1 | SIMPLE | t6 | ref | s_id | s_id | 4 | folgerpedia_mw.t4.smw_id | 1 | 100.00 |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:3Query-Depth:1
Errors and Warnings
None