Semantic search
Jump to navigation
Jump to search
Query-Depth:1
No results.
Debug output SQLStore
ASK Query
[[Category:Equipment]] [[Owner::+]]
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
"t3" AS t3 ON t2.o_id=t3.id
INNER JOIN
"smw_di_wikipage" AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(
(t4.p_id=9780)
)
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_fpt_inst" AS t2
INNER JOIN
"t3" AS t3 ON t2.o_id=t3.id
INNER JOIN
"smw_di_wikipage" AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(
(t4.p_id=9780)
)
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
Limit (cost=241.29..242.39 rows=55 width=86)
└── Unique (cost=240.29..251.23 rows=547 width=86)
└── Sort (cost=240.29..241.66 rows=547 width=86)
Sort Key: t0.smw_sort, t0.smw_id, t0.smw_title, t0.smw_namespace, t0.smw_iw, t0.smw_subobject, t0.smw_sortkey
└── Hash Join (cost=145.75..215.41 rows=547 width=86)
Hash Cond: (t3.id = t2.o_id)
└── Seq Scan on t3 (cost=0.00..35.50 rows=2550 width=4)
└── Hash (cost=145.21..145.21 rows=43 width=90)
└── Nested Loop (cost=47.79..145.21 rows=43 width=90)
└── Hash Join (cost=47.51..67.13 rows=49 width=12)
Hash Cond: (t4.s_id = t2.s_id)
└── Bitmap Heap Scan on smw_di_wikipage t4 (cost=4.52..23.34 rows=31 width=4)
Recheck Cond: (p_id = 9780)
└── Bitmap Index Scan on smw_di_wikipage_idx_pid_sid (cost=0.00..4.51 rows=31 width=0)
Index Cond: (p_id = 9780)
└── Hash (cost=23.55..23.55 rows=1555 width=8)
└── Seq Scan on smw_fpt_inst t2 (cost=0.00..23.55 rows=1555 width=8)
└── Index Scan using smw_object_ids_pkey on smw_object_ids t0 (cost=0.28..1.58 rows=1 width=86)
Index Cond: (smw_id = t2.s_id)
Filter: ((smw_iw <> ':smw'::text) AND (smw_iw <> ':smw-delete'::text) AND (smw_iw <> ':smw-redi'::text))
└── Unique (cost=240.29..251.23 rows=547 width=86)
└── Sort (cost=240.29..241.66 rows=547 width=86)
Sort Key: t0.smw_sort, t0.smw_id, t0.smw_title, t0.smw_namespace, t0.smw_iw, t0.smw_subobject, t0.smw_sortkey
└── Hash Join (cost=145.75..215.41 rows=547 width=86)
Hash Cond: (t3.id = t2.o_id)
└── Seq Scan on t3 (cost=0.00..35.50 rows=2550 width=4)
└── Hash (cost=145.21..145.21 rows=43 width=90)
└── Nested Loop (cost=47.79..145.21 rows=43 width=90)
└── Hash Join (cost=47.51..67.13 rows=49 width=12)
Hash Cond: (t4.s_id = t2.s_id)
└── Bitmap Heap Scan on smw_di_wikipage t4 (cost=4.52..23.34 rows=31 width=4)
Recheck Cond: (p_id = 9780)
└── Bitmap Index Scan on smw_di_wikipage_idx_pid_sid (cost=0.00..4.51 rows=31 width=0)
Index Cond: (p_id = 9780)
└── Hash (cost=23.55..23.55 rows=1555 width=8)
└── Seq Scan on smw_fpt_inst t2 (cost=0.00..23.55 rows=1555 width=8)
└── Index Scan using smw_object_ids_pkey on smw_object_ids t0 (cost=0.28..1.58 rows=1 width=86)
Index Cond: (smw_id = t2.s_id)
Filter: ((smw_iw <> ':smw'::text) AND (smw_iw <> ':smw-delete'::text) AND (smw_iw <> ':smw-redi'::text))
Auxilliary Tables
- Temporary table t3
Recursively computed hierarchy for element(s) (9784).
SELECT s_id FROM "smw_fpt_subc" WHERE o_id=9784 LIMIT 1
Query Metrics
Query-Size:2Query-Depth:1
Errors and Warnings
None