Semantische Suche
Aus Aifbportal
SQLStore debug output
ASK Query
[[Kategorie:Raum]] [[Gebäude::05.20]]
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='176105'
AND (
(t4.o_hash='05.20') AND t4.p_id='176139')
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
505
OFFSET
0
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='176105'
AND (
(t4.o_hash='05.20') AND t4.p_id='176139')
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
505
OFFSET
0
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t4 | index_merge | s_id,p_id,s_id_2,o_hash | o_hash,p_id | 258,262 | 1 | Using intersect(o_hash,p_id); Using where; Using temporary; Using filesort | |
1 | SIMPLE | t0 | eq_ref | PRIMARY,smw_id,smw_iw,smw_iw_2 | PRIMARY | 4 | kit_smw1.t4.s_id | 1 | Using where |
1 | SIMPLE | t2 | ref | s_id,o_id,s_id_2,o_id_2 | s_id_2 | 9 | kit_smw1.t4.s_id,const | 1 | Using index; Distinct |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:3Query-Depth:1
Errors and Warnings
None- 1A-03
- 1A-04
- 1A-09
- 1A-10
- 1A-13
- 1A-14
- 1A-15
- 1A-15 (Geb. 05.20)
- 1A-18
- 1A-19
- 1A-21.1
- 1A-21.2
- 2A-01
- 2A-02
- 2A-05.2
- 2A-25
- 2B-01
- 2B-01/02
- 2B-02
- 2B-03
- 2B-04
- 2B-05.1
- 2B-05.2
- 2B-06
- 2B-06.1
- 2B-06.2
- 2B-07
- 2B-08
- 2B-09
- 2C-01
- 2C-02
- 2C-11
- 2C-12
- 2C-13
- 2C-14.1
- 2C-14.2
- 2C-15
- 2C-16
- 2C-17
- 2C-18
- 3A-04
- 3A-05.1
- 3A-15
- 3A-17
- 3A-26.2
- 3A-28
- 5A-01
- 5A-02
- 5A-04
- 5A-04.1
- 5A-04.2
- 5A-05
- 5A-05.1
- 5A-10
- 5A-11
- 5A-15
- 5A-16
- 5A-17
- 5A-20
- 5A-20/en
- 5A-21
- 5A-22
- 5A-23
- 5C-02.2
- 5C-03.2
- 5C-04
- 5C-05.3