Semantic search
Jump to navigation
Jump to search
Query-Depth:1
No results.
Debug output SQLStore
ASK Query
[[Category:Equipment]] [[Subcat::Defunct]]
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=9782 AND t4.o_id=1804)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
255
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=9782 AND t4.o_id=1804)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
255
OFFSET
50
SQL Explain
Limit (cost=86.81..86.87 rows=3 width=86)
└── Unique (cost=85.81..86.87 rows=53 width=86)
└── Sort (cost=85.81..85.95 rows=53 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=38.72..84.30 rows=53 width=86)
Hash Cond: (t3.id = t2.o_id)
└── Seq Scan on t3 (cost=0.00..35.50 rows=2550 width=4)
└── Hash (cost=38.67..38.67 rows=4 width=90)
└── Nested Loop (cost=4.87..38.67 rows=4 width=90)
Join Filter: (t4.s_id = t2.s_id)
└── Nested Loop (cost=4.59..37.63 rows=3 width=90)
└── Bitmap Heap Scan on smw_di_wikipage t4 (cost=4.31..12.68 rows=3 width=4)
Recheck Cond: ((o_id = 1804) AND (p_id = 9782))
└── Bitmap Index Scan on smw_di_wikipage_idx_oid_pid (cost=0.00..4.31 rows=3 width=0)
Index Cond: ((o_id = 1804) AND (p_id = 9782))
└── Index Scan using smw_object_ids_smw_id_smw_sortkey_idx on smw_object_ids t0 (cost=0.28..8.31 rows=1 width=86)
Index Cond: (smw_id = t4.s_id)
Filter: ((smw_iw <> ':smw'::text) AND (smw_iw <> ':smw-delete'::text) AND (smw_iw <> ':smw-redi'::text))
└── Index Only Scan using smw_fpt_inst_idx_sid_oid on smw_fpt_inst t2 (cost=0.28..0.32 rows=2 width=8)
Index Cond: (s_id = t0.smw_id)
└── Unique (cost=85.81..86.87 rows=53 width=86)
└── Sort (cost=85.81..85.95 rows=53 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=38.72..84.30 rows=53 width=86)
Hash Cond: (t3.id = t2.o_id)
└── Seq Scan on t3 (cost=0.00..35.50 rows=2550 width=4)
└── Hash (cost=38.67..38.67 rows=4 width=90)
└── Nested Loop (cost=4.87..38.67 rows=4 width=90)
Join Filter: (t4.s_id = t2.s_id)
└── Nested Loop (cost=4.59..37.63 rows=3 width=90)
└── Bitmap Heap Scan on smw_di_wikipage t4 (cost=4.31..12.68 rows=3 width=4)
Recheck Cond: ((o_id = 1804) AND (p_id = 9782))
└── Bitmap Index Scan on smw_di_wikipage_idx_oid_pid (cost=0.00..4.31 rows=3 width=0)
Index Cond: ((o_id = 1804) AND (p_id = 9782))
└── Index Scan using smw_object_ids_smw_id_smw_sortkey_idx on smw_object_ids t0 (cost=0.28..8.31 rows=1 width=86)
Index Cond: (smw_id = t4.s_id)
Filter: ((smw_iw <> ':smw'::text) AND (smw_iw <> ':smw-delete'::text) AND (smw_iw <> ':smw-redi'::text))
└── Index Only Scan using smw_fpt_inst_idx_sid_oid on smw_fpt_inst t2 (cost=0.28..0.32 rows=2 width=8)
Index Cond: (s_id = t0.smw_id)
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:3Query-Depth:1
Errors and Warnings
None