Semantic search
Jump to navigation
Jump to search
Debug output SQLStore
ASK Query
[[Found in::+]] [[Housing class::Middle]] [[Housing type::Urban]]
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_di_wikipage` AS t2
INNER JOIN
`t3` AS t3 ON t2.p_id=t3.id
INNER JOIN
`smw_di_blob` AS t5 ON t2.s_id=t5.s_id
INNER JOIN
`smw_di_blob` AS t7 ON t2.s_id=t7.s_id) ON t0.smw_id=t2.s_id
WHERE
(
((t5.o_hash='Middle') AND t5.p_id=2021579)
AND (
(t7.o_hash='Urban') AND t7.p_id=2021581)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
55
OFFSET
50
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_di_wikipage` AS t2
INNER JOIN
`t3` AS t3 ON t2.p_id=t3.id
INNER JOIN
`smw_di_blob` AS t5 ON t2.s_id=t5.s_id
INNER JOIN
`smw_di_blob` AS t7 ON t2.s_id=t7.s_id) ON t0.smw_id=t2.s_id
WHERE
(
((t5.o_hash='Middle') AND t5.p_id=2021579)
AND (
(t7.o_hash='Urban') AND t7.p_id=2021581)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
55
OFFSET
50
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t5 | ref | s_id, p_id, o_hash, s_id_2 | o_hash | 258 | const | 90 | Using index condition; Using where; Using temporary; Using filesort | |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | drwiki.t5.s_id | 1 | Using where | |
1 | SIMPLE | t2 | ref | s_id, p_id, s_id_2, s_id_3 | s_id | 4 | drwiki.t5.s_id | 1 | Using index; Distinct | |
1 | SIMPLE | t3 | eq_ref | PRIMARY | PRIMARY | 4 | drwiki.t2.p_id | 1 | Distinct | |
1 | SIMPLE | t7 | ref | s_id, p_id, o_hash, s_id_2 | s_id | 8 | drwiki.t5.s_id, const | 1 | Using where; Distinct |
Auxilliary Tables
- Temporary table t3
Recursively computed hierarchy for element(s) (2021295).
SELECT s_id FROM `smw_fpt_subp` WHERE o_id=2021295 LIMIT 1
Query Metrics
Query-Size:5Query-Depth:1
Errors and Warnings
NoneClass | Type | Form | Restriction | Justice | Free | Total | Updated | |
---|---|---|---|---|---|---|---|---|
Riverhaven Warrior Mage Guild | Middle | Urban | Door | Warrior Mage | city | 3 | 6 | 17 August 2022 |
Riverpine Circle | Lower Middle | Rural Urban | Free | city | 0 | 38 | 15 August 2022 | |
Rossgallan Keep | Middle | Urban | Free | Humans | city | 8 | 10 | 14 August 2022 |
Selridge Road | Middle | Urban | Free | city | 3 | 5 | 24 July 2023 | |
South Bridge Flats | Lower Middle Upper | Urban | Door | city | 0 | 5 | 15 August 2022 | |
South Elemental Tower | Middle | Rural Urban | Door | Warrior Mage | none | 0 | 10 | 6 July 2022 |
Street of the Four Moons | Middle | Urban | Free | city | 0 | 12 | 22 August 2023 | |
Swithen's Court | Lower Middle | Urban | Free | city | 0 | 14 | 11 July 2022 | |
Taelbert's Inn | Middle | Urban | Door | city | 0 | 8 | 14 August 2022 | |
The Enclave at Fang Cove | Lower Middle Upper | Rural Urban | Free | none | 0 | 23 | 12 August 2022 | |
Therenborough Inn | Middle | Urban | Door | city | 1 | 2 | 14 August 2022 | |
Tierskel Way | Middle | Urban | Free | city | 7 | 10 | 24 July 2023 | |
Upper Cobra Road | Middle | Urban | Free | city | 5 | 5 | 24 July 2023 | |
Vela'tohr Valley Cleric's Cloisters | Middle | Urban | Door | Cleric | none | 0 | 5 | 11 August 2022 |
West Elemental Tower | Middle | Urban | Door | Warrior Mage | none | 2 | 10 | 17 July 2022 |
Whitehall Commons | Middle | Urban | Door Free | Empath | city | 0 | 8 | 15 August 2022 |
Willow Walk | Middle | Rural Urban | Free Tree | Empath | city | 2 | 62 | 18 October 2023 |