Semantic search
From Rinchen Terdzö
Debug output SQLStore
ASK Query
[[Category:Tibetan Texts]] [[Category:'jam mgon kong sprul]] OR [[Category:Illustrations]] [[Category:'jam mgon kong sprul]]
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, t13.o_sortkey,t15.o_sortkey
FROM
`rtzsmw_object_ids` AS t0
INNER JOIN
`rtzt1` AS t1 ON t0.smw_id=t1.id
INNER JOIN
`rtzsmw_di_number` AS t13 ON t0.smw_id=t13.s_id
INNER JOIN
`rtzsmw_di_number` AS t15 ON t0.smw_id=t15.s_id
WHERE
(t13.p_id=314256)
AND (t15.p_id=314370)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t13.o_sortkey ASC , t15.o_sortkey ASC
LIMIT
25
OFFSET
500
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, t13.o_sortkey,t15.o_sortkey
FROM
`rtzsmw_object_ids` AS t0
INNER JOIN
`rtzt1` AS t1 ON t0.smw_id=t1.id
INNER JOIN
`rtzsmw_di_number` AS t13 ON t0.smw_id=t13.s_id
INNER JOIN
`rtzsmw_di_number` AS t15 ON t0.smw_id=t15.s_id
WHERE
(t13.p_id=314256)
AND (t15.p_id=314370)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t13.o_sortkey ASC , t15.o_sortkey ASC
LIMIT
25
OFFSET
500
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t1 | ALL | PRIMARY | 855 | Using temporary; Using filesort | ||||
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | wiki.t1.id | 1 | Using where | |
1 | SIMPLE | t13 | ref | s_id, p_id, p_id_2, s_id_2 | s_id_2 | 8 | wiki.t1.id, const | 1 | Using index | |
1 | SIMPLE | t15 | ref | s_id, p_id, p_id_2, s_id_2 | s_id_2 | 8 | wiki.t1.id, const | 1 | Using index |
Auxilliary Tables
- Temporary table t1
INSERT IGNORE INTO `rtzt1` SELECT DISTINCT t3.s_id FROM `rtzsmw_fpt_inst` AS t3 INNER JOIN `rtzsmw_fpt_inst` AS t5 ON t3.s_id=t5.s_id WHERE t3.o_id=314388 AND (t5.o_id=6355)
INSERT IGNORE INTO `rtzt1` SELECT DISTINCT t8.s_id FROM `rtzsmw_fpt_inst` AS t8 INNER JOIN `rtzsmw_fpt_inst` AS t10 ON t8.s_id=t10.s_id WHERE t8.o_id=285870 AND (t10.o_id=6355)
Query Metrics
Query-Size:4Query-Depth:0
Errors and Warnings
NoneList of Works in the Rinchen Terdzö
Vol. 31, Text 37:
Vol. 31, Text 43:
Vol. 31, Text 44:
Vol. 32, Text 2:
Vol. 32, Text 3:
Vol. 32, Text 5:
Vol. 32, Text 11:
Vol. 32, Text 13:
Vol. 32, Text 27:
Vol. 32, Text 28:
Vol. 32, Text 38:
Vol. 32, Text 39:
Vol. 32, Text 40:
Vol. 32, Text 41:
Vol. 32, Text 42:
Vol. 32, Text 44: