Semantic search
From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
Debug output SQLStore
ASK Query
[[Category:Inscription]] [[condition::complete]]
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
`smw_di_blob` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id=643
AND (
(t4.o_hash='complete') AND t4.p_id=644)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
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, t0.smw_sort
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_fpt_inst` AS t2
INNER JOIN
`smw_di_blob` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id=643
AND (
(t4.o_hash='complete') AND t4.p_id=644)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
55
OFFSET
50
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t2 | ref | s_id, o_id, s_id_2, o_id_2 | o_id_2 | 5 | const | 389 | Using index; Using temporary; Using filesort | |
1 | SIMPLE | t4 | ref | s_id, p_id, o_hash, s_id_2 | s_id | 8 | tirwebspas52.t2.s_id, const | 1 | Using where | |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | tirwebspas52.t2.s_id | 1 | Using where |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:3Query-Depth:1
Errors and Warnings
Nonecondition | |
---|---|
MA-23 | complete |
MA-5 | complete |
MA-6 | complete |
MA-8 | complete |
MA-9 | complete |
NO-11 | complete restored |
NO-12 | complete damaged |
NO-13 | complete |
NO-15 | complete |
NO-16 | complete |
NO-17 | complete damaged |
NO-18 | complete damaged unknown |
NO-2 | complete restored |
NO-3 | complete |
NO-7 | complete |
NO-8 | complete |
NO-9 | complete |
PA-1 | complete damaged |
PU-1 | complete damaged |
PU-11 | complete |
PU-4 | complete |
RN-1 | complete |
RN-2 | complete damaged |
SL-1 | complete |
SL-2.1 | complete |
SL-2.2 | complete |
SL-2.4 | complete |
SR-11 | complete |
SR-3.1 | complete damaged |
SR-5 | damaged complete |
SR-6 | complete damaged |
ST-9 | complete |
SZ-1.1 | complete |
SZ-1.2 | complete |
SZ-10.1 | complete |
SZ-10.2 | complete |
SZ-11 | complete |
SZ-12 | complete |
SZ-13 | complete |
SZ-14 | complete |
SZ-15.1 | complete |
SZ-15.2 | complete |
SZ-16 | complete |
SZ-17 | complete restored |
SZ-18 | complete restored |
SZ-2.1 | complete |
SZ-2.2 | complete |
SZ-20 | complete |
SZ-21 | complete restored |
SZ-27.1 | complete |