Semantic search
Jump to navigation
Jump to search
Query-Depth:0
No results.
Debug output SQLStore
ASK Query
[[Category:Guides]]
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 ON t0.smw_id=t1.s_id
WHERE
(t1.o_id=9866)
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 t1 ON t0.smw_id=t1.s_id
WHERE
(t1.o_id=9866)
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=35.86..35.88 rows=1 width=86)
└── Unique (cost=35.80..35.86 rows=3 width=86)
└── Sort (cost=35.80..35.81 rows=3 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
└── Nested Loop (cost=4.58..35.78 rows=3 width=86)
└── Bitmap Heap Scan on smw_fpt_inst t1 (cost=4.30..10.83 rows=3 width=4)
Recheck Cond: (o_id = 9866)
└── Bitmap Index Scan on smw_fpt_inst_idx_oid_sid (cost=0.00..4.30 rows=3 width=0)
Index Cond: (o_id = 9866)
└── 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 = t1.s_id)
Filter: ((smw_iw <> ':smw'::text) AND (smw_iw <> ':smw-delete'::text) AND (smw_iw <> ':smw-redi'::text))
└── Unique (cost=35.80..35.86 rows=3 width=86)
└── Sort (cost=35.80..35.81 rows=3 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
└── Nested Loop (cost=4.58..35.78 rows=3 width=86)
└── Bitmap Heap Scan on smw_fpt_inst t1 (cost=4.30..10.83 rows=3 width=4)
Recheck Cond: (o_id = 9866)
└── Bitmap Index Scan on smw_fpt_inst_idx_oid_sid (cost=0.00..4.30 rows=3 width=0)
Index Cond: (o_id = 9866)
└── 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 = t1.s_id)
Filter: ((smw_iw <> ':smw'::text) AND (smw_iw <> ':smw-delete'::text) AND (smw_iw <> ':smw-redi'::text))
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:1Query-Depth:0
Errors and Warnings
None