Semantic search
Debug output SQLStore
ASK Query
[[Category:Skills]] [[Requires Sparks & Embers::!0]]
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
`salem_wikismw_object_ids` AS t0
INNER JOIN
(`salem_wikismw_fpt_inst` AS t2
INNER JOIN
`salem_wikismw_di_number` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id=2881
AND (
(t4.o_sortkey!='0') AND t4.p_id=3215)
)
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
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
FROM
`salem_wikismw_object_ids` AS t0
INNER JOIN
(`salem_wikismw_fpt_inst` AS t2
INNER JOIN
`salem_wikismw_di_number` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id=2881
AND (
(t4.o_sortkey!='0') AND t4.p_id=3215)
)
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
0
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t4 | ref | s_id, p_id, o_sortkey, p_id_2, s_id_2 | p_id_2 | 4 | const | 59 | 50.04 | Using where; Using temporary; Using filesort |
1 | SIMPLE | t2 | ref | s_id, o_id, s_id_2, o_id_2 | s_id_2 | 9 | k56270_salemwiki.t4.s_id, const | 1 | 100.00 | Using index |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | k56270_salemwiki.t4.s_id | 1 | 50.03 | Using where |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:3Query-Depth:1
Errors and Warnings
NoneRequires Sparks & Embers | |
---|---|
Amateur Sculpting | 600 |
Arson | 11,000 |
Artillery | 7,500 |
Backalley Pugilism | 600 |
Baking | 1,400 |
Bellows Operation | 900 |
Bioluminescent Applications | 16,600 |
Blacksmithing | 2,950 |
Brazier Forging | 6,100 |
Catapult Construction | 2,100 |
Catapults | 1,600 |
Cauldronmaking | 1,750 |
Cementation | 14,250 |
Ceramics & Crucibles | 1,475 |
Coaling | 615 |
Collector | 500 |
Colonial Tradesmanship | 200 |
Debasement | 13,500 |
Essential Mineralogy | 200 |
Fast Moves | 1,500 |
Fencing | 1,500 |
Firearms | 2,500 |
Foreign Theology | 7,890 |
Fried Foods | 1,300 |
Glass Blowing | 1,925 |
Handheld Explosives | 1,810 |
Hoarder | 7,500 |
Humble Abodes | 1,500 |
Indian Tracking | 500 |
Intermediate Cooking | 900 |
Iron Amalgamation | 4,150 |
Kiln Construction | 1,100 |
Locksmithing | 1,400 |
Long Range Bombardment | 2,590 |
Lore of The Lumberwoods | 250 |
Masonry | 2,000 |
Metallurgy | 2,350 |
Metalsmithing | 4,400 |
Mining | 1,600 |
Mortar Masonry | 7,500 |
Packrat | 2,500 |
Polearms | 3,800 |
Pottery | 400 |
Seafood Chef | 600 |
Seamanship | 2,400 |
Self-Defense | 250 |
Settling | 600 |
Silversmithing | 12,700 |
Simple Cooking | 200 |
Smoked Meats | 7,700 |