Semantic search
Debug output SQLStore
ASK Query
[[Category:Morrissey concert]] [[Setlistsong::Best Friend On The Payroll]]
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, t0.smw_sort
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_fpt_inst` AS t2
INNER JOIN
`smw_di_wikipage` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id=1150
AND (t4.p_id=1149 AND t4.o_id=7668)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
25
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, t0.smw_sort
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_fpt_inst` AS t2
INNER JOIN
`smw_di_wikipage` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id=1150
AND (t4.p_id=1149 AND t4.o_id=7668)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
25
OFFSET
10
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t4 | index_merge | s_id, o_id, p_id, s_id_2, s_id_3, o_id_2, o_id_3 | o_id,o_id_3 | 5,9 | 36 | Using intersect(o_id,o_id_3); Using where; Using temporary; Using filesort | ||
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | solowiki.t4.s_id | 1 | Using where | |
1 | SIMPLE | t2 | ref | s_id, o_id, s_id_2, o_id_2 | s_id_2 | 9 | solowiki.t4.s_id, const | 1 | Using index; Distinct |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:3Query-Depth:1
Errors and Warnings
None- Dundee, Scotland 2009-05-05 (Morrissey concert)
- Durham, North Carolina 2009-03-11 (Morrissey concert)
- Glasgow, Scotland 2009-05-07 (Morrissey concert)
- Glasgow, Scotland 2009-05-08 (Morrissey concert)
- Gothenburg, Sweden 2009-06-22 (Morrissey concert)
- Hartlepool, England 2009-05-20 (Morrissey concert)
- Helsinki, Finland 2009-06-27 (Morrissey concert)
- Houston, Texas 2009-04-11 (Morrissey concert)
- Hull, England 2009-05-19 (Morrissey concert)
- Liverpool, England 2009-05-10 (Morrissey concert)
- London, England 2009-02-11 (Morrissey concert)
- London, England 2009-07-22 (Morrissey concert)
- Manchester, England 2009-05-22 (Morrissey concert)
- Manchester, England 2009-05-23 (Morrissey concert)
- Mashantucket, Connecticut 2009-03-28 (Morrissey concert)
- Milwaukee, Wisconsin 2009-04-03 (Morrissey concert)
- Montclair, New Jersey 2009-03-16 (Morrissey concert)
- Myrtle Beach, South Carolina 2009-03-06 (Morrissey concert)
- New York, New York 2009-03-21 (Morrissey concert)
- New York, New York 2009-03-25 (Morrissey concert)