Semantic search
Jump to navigation
Jump to search
Query-Depth:1
Debug output SQLStore
ASK Query
[[Sidebaritem::+]]
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_di_blob" AS t1 ON t0.smw_id=t1.s_id
WHERE
(t1.p_id=811)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
6
OFFSET
1
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_di_blob" AS t1 ON t0.smw_id=t1.s_id
WHERE
(t1.p_id=811)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
6
OFFSET
1
SQL Explain
Limit (cost=183.11..183.23 rows=6 width=85)
└── Unique (cost=183.09..185.15 rows=103 width=85)
└── Sort (cost=183.09..183.35 rows=103 width=85)
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=151.07..179.65 rows=103 width=85)
Hash Cond: (t1.s_id = t0.smw_id)
└── Bitmap Heap Scan on smw_di_blob t1 (cost=5.09..33.39 rows=104 width=4)
Recheck Cond: (p_id = 811)
└── Bitmap Index Scan on smw_di_blob_indexpo (cost=0.00..5.06 rows=104 width=0)
Index Cond: (p_id = 811)
└── Hash (cost=120.79..120.79 rows=2016 width=85)
└── Seq Scan on smw_object_ids t0 (cost=0.00..120.79 rows=2016 width=85)
Filter: ((smw_iw <> ':smw'::text) AND (smw_iw <> ':smw-delete'::text) AND (smw_iw <> ':smw-redi'::text))
└── Unique (cost=183.09..185.15 rows=103 width=85)
└── Sort (cost=183.09..183.35 rows=103 width=85)
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=151.07..179.65 rows=103 width=85)
Hash Cond: (t1.s_id = t0.smw_id)
└── Bitmap Heap Scan on smw_di_blob t1 (cost=5.09..33.39 rows=104 width=4)
Recheck Cond: (p_id = 811)
└── Bitmap Index Scan on smw_di_blob_indexpo (cost=0.00..5.06 rows=104 width=0)
Index Cond: (p_id = 811)
└── Hash (cost=120.79..120.79 rows=2016 width=85)
└── Seq Scan on smw_object_ids t0 (cost=0.00..120.79 rows=2016 width=85)
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:1
Errors and Warnings
NoneSidebaritem: Village:AMSAT|AMSAT