Semantic search
Debug output SQLStore
ASK Query
[[Category:News]] OR [[Category:Publications]] [[Published has news::true]]
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, t10.o_sortkey
FROM
`smw_object_ids` AS t0
INNER JOIN
`t1` AS t1 ON t0.smw_id=t1.id
INNER JOIN
`smw_di_time` AS t10 ON t0.smw_id=t10.s_id
WHERE
(t10.p_id=5194)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t10.o_sortkey DESC
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, t10.o_sortkey
FROM
`smw_object_ids` AS t0
INNER JOIN
`t1` AS t1 ON t0.smw_id=t1.id
INNER JOIN
`smw_di_time` AS t10 ON t0.smw_id=t10.s_id
WHERE
(t10.p_id=5194)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t10.o_sortkey DESC
LIMIT
55
OFFSET
50
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t10 | ref | s_id, p_id, p_id_2, s_id_2 | p_id | 4 | const | 896 | Using where; Using temporary | |
1 | SIMPLE | t1 | eq_ref | PRIMARY | PRIMARY | 4 | www_public.t10.s_id | 1 | ||
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | www_public.t10.s_id | 1 | Using where |
Auxilliary Tables
- Temporary table t1
INSERT IGNORE INTO `t1` SELECT DISTINCT t2.s_id FROM `smw_fpt_inst` AS t2 WHERE t2.o_id=5406
INSERT IGNORE INTO `t1` SELECT DISTINCT t5.s_id FROM `smw_fpt_inst` AS t5 INNER JOIN `smw_di_bool` AS t7 ON t5.s_id=t7.s_id WHERE t5.o_id=5352 AND ((t7.o_value=1) AND t7.p_id=5224)
Query Metrics
Query-Size:4Query-Depth:1
Errors and Warnings
None- {{{2}}} — {{{4}}}
- {{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}
- {{{2}}} — {{{4}}}
{{{3}}}