Semantic search
Debug output SQLStore
ASK Query
[[Category:Settlements]]
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 t1
INNER JOIN
"t2" AS t2 ON t1.o_id=t2.id) ON t0.smw_id=t1.s_id
WHERE
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_fpt_inst" AS t1
INNER JOIN
"t2" AS t2 ON t1.o_id=t2.id) ON t0.smw_id=t1.s_id
WHERE
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
Limit (cost=694.63..694.77 rows=55 width=112)
└── Sort (cost=694.51..697.79 rows=1314 width=112)
Sort Key: t0.smw_sort
└── HashAggregate (cost=630.69..643.83 rows=1314 width=112)
Group Key: t0.smw_sort, t0.smw_id, t0.smw_title, t0.smw_namespace, t0.smw_iw, t0.smw_subobject, t0.smw_sortkey
└── Merge Join (cost=353.47..483.20 rows=8428 width=112)
Merge Cond: (t1.o_id = t2.id)
└── Sort (cost=173.69..175.34 rows=661 width=116)
Sort Key: t1.o_id
└── Hash Join (cost=127.25..142.72 rows=661 width=116)
Hash Cond: (t1.s_id = t0.smw_id)
└── Seq Scan on smw_fpt_inst t1 (cost=0.00..13.29 rows=829 width=8)
└── Hash (cost=110.82..110.82 rows=1314 width=112)
└── Seq Scan on smw_object_ids t0 (cost=0.00..110.82 rows=1314 width=112)
Filter: ((smw_iw <> ':smw'::text) AND (smw_iw <> ':smw-delete'::text) AND (smw_iw <> ':smw-redi'::text))
└── Sort (cost=179.78..186.16 rows=2550 width=4)
Sort Key: t2.id
└── Seq Scan on t2 (cost=0.00..35.50 rows=2550 width=4)
└── Sort (cost=694.51..697.79 rows=1314 width=112)
Sort Key: t0.smw_sort
└── HashAggregate (cost=630.69..643.83 rows=1314 width=112)
Group Key: t0.smw_sort, t0.smw_id, t0.smw_title, t0.smw_namespace, t0.smw_iw, t0.smw_subobject, t0.smw_sortkey
└── Merge Join (cost=353.47..483.20 rows=8428 width=112)
Merge Cond: (t1.o_id = t2.id)
└── Sort (cost=173.69..175.34 rows=661 width=116)
Sort Key: t1.o_id
└── Hash Join (cost=127.25..142.72 rows=661 width=116)
Hash Cond: (t1.s_id = t0.smw_id)
└── Seq Scan on smw_fpt_inst t1 (cost=0.00..13.29 rows=829 width=8)
└── Hash (cost=110.82..110.82 rows=1314 width=112)
└── Seq Scan on smw_object_ids t0 (cost=0.00..110.82 rows=1314 width=112)
Filter: ((smw_iw <> ':smw'::text) AND (smw_iw <> ':smw-delete'::text) AND (smw_iw <> ':smw-redi'::text))
└── Sort (cost=179.78..186.16 rows=2550 width=4)
Sort Key: t2.id
└── Seq Scan on t2 (cost=0.00..35.50 rows=2550 width=4)
Auxilliary Tables
- Temporary table t2
Recursively computed hierarchy for element(s) (633).
SELECT s_id FROM "smw_fpt_subc" WHERE o_id=633 LIMIT 1
Query Metrics
Query-Size:1Query-Depth:0
Errors and Warnings
NoneRealm | Population | Dominant culture | Dominant race | |
---|---|---|---|---|
Hanamwon | 1,500 | Koryo | Human | |
Hatorus | 300 | |||
Hellhafen | 60 | |||
Hertyn | 160 | |||
Hiemegium | 22,000 | Elladan | Human | |
Hinag | 190 | |||
Hompo | 200 | |||
Hudatro | 21,500 | Luari | Human | |
Ikgugu | 10,700 | Koryo | Human | |
Imardu | 60 | |||
Imazaza | 500 | |||
Jinan | 240 | |||
Kabi | 17,870 | Kiswaili | Human | |
Kafaldur | 3,000 | Hill Dwarves | Human | |
Kafloch | 18,100 | Hill Dwarves | Dwarf | |
Karenfang | 130 | |||
Karfang | 220 | |||
Kibodo | 850 | |||
Kipten | 10,100 | Dwarves | Human | |
Komo | 320 | |||
Kroburg | 70 | |||
Kronia | 180 | |||
Kustet | 260 | |||
Lahralutra | 12,500 | Forest Elves | Human | |
Lali Abla | 11,800 | Elladan | Human | |
Layo | 240 | |||
Leinia | 90 | |||
Lium | 140 | |||
Lodwe | 15,000 | Kiswaili | Human | |
Longo Ponto | 9,800 | Tallian | Human | |
Lotward | 90 | |||
Mabimau | 80 | |||
Machogwa | 8,900 | Kiswaili | Human | |
Magnema | 1,100 | |||
Makiport | 20,900 | Kiswaili | Human | |
Mansan | 11,750 | Koryo | Human | |
Mashareah | 7,000 | Mountain Elves | Elf | |
Mekezisi | 10,600 | Kiswaili | Human | |
Meloul | 160 | |||
Memigot | 400 | |||
Miniana | 3,200 | Tallian | Human | |
Mobana | 180 | |||
Morcera | 35,000 | Tallian | Human | |
Mtwarok | 7,950 | Kiswaili | Human | |
Mugyororo | 3,800 | Kiswaili | Human | |
Muhaizan (city) | 1,720 | Mountain Elves | Elf | |
Muron | 300 | |||
Mydoniane | 4,800 | Elladan | Human | |
Nabukseong | 1,700 | Koryo | Human | |
Nakon | 320 |