Semantic search
Jump to navigation
Jump to search
Debug output SQLStore
ASK Query
[[Item type is::Mixing bowl]]
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,t5.o_value
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_di_wikipage` AS t1
INNER JOIN
`t2` AS t2 ON t1.p_id=t2.id) ON t0.smw_id=t1.s_id
INNER JOIN
`smw_di_bool` AS t5 ON t0.smw_id=t5.s_id
WHERE
(t1.o_id=420554)
AND (t5.p_id=2021495)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t5.o_value ASC , t0.smw_sort ASC
LIMIT
15
OFFSET
0
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,t5.o_value
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_di_wikipage` AS t1
INNER JOIN
`t2` AS t2 ON t1.p_id=t2.id) ON t0.smw_id=t1.s_id
INNER JOIN
`smw_di_bool` AS t5 ON t0.smw_id=t5.s_id
WHERE
(t1.o_id=420554)
AND (t5.p_id=2021495)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t5.o_value ASC , t0.smw_sort ASC
LIMIT
15
OFFSET
0
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t2 | ALL | PRIMARY | 2 | Using temporary; Using filesort | ||||
1 | SIMPLE | t1 | ref | s_id, o_id, p_id, s_id_2, s_id_3, o_id_2, o_id_3 | o_id_3 | 9 | const, drwiki.t2.id | 1 | ||
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | drwiki.t1.s_id | 1 | Using where | |
1 | SIMPLE | t5 | ref | s_id, p_id | s_id | 8 | drwiki.t1.s_id, const | 1 |
Auxilliary Tables
- Temporary table t2
Recursively computed hierarchy for element(s) (2021226).
SELECT s_id FROM `smw_fpt_subp` WHERE o_id=2021226 LIMIT 1
Query Metrics
Query-Size:2Query-Depth:1
Errors and Warnings
NoneItem | Rare | Incomplete | Speed | # | Durability | # | Quality | # |
---|---|---|---|---|---|---|---|---|
Item:Blue ceramic bowl | false | very ineffective | 4 | appreciably susceptible | 7 | well-crafted | 7 | |
Item:Carved oaken bowl with openwork of galloping horses | false | very ineffective | 4 | appreciably susceptible | 7 | well-crafted | 7 | |
Item:Ceramic mixing bowl with glazing | false | not very effective | 5 | rather reinforced | 11 | masterfully-crafted | 12 | |
Item:Dark crystal bowl edged with silver filigree | false | very ineffective | 4 | appreciably susceptible | 7 | well-crafted | 7 | |
Item:Deep hammered brass bowl with crimped enamel edges | false | |||||||
Item:Food bowl | false | very ineffective | 4 | appreciably susceptible | 7 | well-crafted | 7 | |
Item:Large black firecloud clay bowl incised with a rainshadow design | false | very ineffective | 4 | appreciably susceptible | 7 | well-crafted | 7 | |
Item:Large black firecloud clay bowl painted with dragonflies | false | very ineffective | 4 | appreciably susceptible | 7 | well-crafted | 7 | |
Item:Large blue firecloud clay bowl etched with a whirlwind design | false | very ineffective | 4 | appreciably susceptible | 7 | well-crafted | 7 | |
Item:Large bowl | false | true | very ineffective | 4 | appreciably susceptible | 7 | well-crafted | 7 |