Semantic search
Debug output SQLStore
ASK Query
[[Category:News||LrdeBulletin]] OR [[Category:Publications]] [[Published has news::true]] OR [[Category:OlenaNews]] [[Is global 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, t15.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 t15 ON t0.smw_id=t15.s_id
WHERE
(t15.p_id=5194)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t15.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, t15.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 t15 ON t0.smw_id=t15.s_id
WHERE
(t15.p_id=5194)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t15.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 | t15 | 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.t15.s_id | 1 | ||
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | www_public.t15.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 OR t2.o_id=1431)
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)
INSERT IGNORE INTO `t1` SELECT DISTINCT t10.s_id FROM `smw_fpt_inst` AS t10 INNER JOIN `smw_di_bool` AS t12 ON t10.s_id=t12.s_id WHERE t10.o_id=1330 AND ((t12.o_value=1) AND t12.p_id=1328)
Query Metrics
Query-Size:7Query-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}}}