Difference between revisions of "Pictures of Artefacts in the British Museum"
Warning: Parameter 1 to MapsHooks::onParserClearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to ExtArrays::onParserClearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to Cite::clearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
From Aktanak
Line 5: | Line 5: | ||
| ?ArtefactImpression | | ?ArtefactImpression | ||
| ?ArtefactDepotNumber | | ?ArtefactDepotNumber | ||
− | | format= | + | | format=debug |
− | | limit= | + | | limit=500 |
}} | }} | ||
[[Category:The British Museum]] | [[Category:The British Museum]] |
Revision as of 17:46, 13 May 2011
Contents
Debug Output by SQLStore
Ask query
[[ItemCode::+]] [[ArtefactLocation::The British Museum]]
SQL Query
SELECT DISTINCT
t6.smw_id AS id,t6.smw_title AS t,t6.smw_namespace AS ns,t6.smw_iw AS iw,t6.smw_subobject AS so,t6.smw_sortkey AS sortkey
FROM
`mw_smw_object_ids` AS t6
INNER JOIN
`mw_smw_di_blob` AS t1 ON t6.smw_id=t1.s_id
INNER JOIN
`mw_smw_di_wikipage` AS t3 ON t1.s_id=t3.s_id
WHERE
(t1.p_id='68' AND (t3.p_id='94' AND t3.o_id='2232'))
ORDER BY
t6.smw_sortkey ASC
LIMIT
505
OFFSET
0
t6.smw_id AS id,t6.smw_title AS t,t6.smw_namespace AS ns,t6.smw_iw AS iw,t6.smw_subobject AS so,t6.smw_sortkey AS sortkey
FROM
`mw_smw_object_ids` AS t6
INNER JOIN
`mw_smw_di_blob` AS t1 ON t6.smw_id=t1.s_id
INNER JOIN
`mw_smw_di_wikipage` AS t3 ON t1.s_id=t3.s_id
WHERE
(t1.p_id='68' AND (t3.p_id='94' AND t3.o_id='2232'))
ORDER BY
t6.smw_sortkey ASC
LIMIT
505
OFFSET
0
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t3 | index_merge | s_id,p_id,o_id | o_id,p_id | 5,9 | 8 | Using intersect(o_id,p_id); Using where; Using temporary; Using filesort | |
1 | SIMPLE | t1 | ref | s_id,p_id | s_id | 8 | wikidb.t3.s_id,const | 1 | Using index |
1 | SIMPLE | t6 | eq_ref | PRIMARY,smw_id | PRIMARY | 4 | wikidb.t3.s_id | 1 |
Auxilliary Tables Used
No auxilliary tables used.Query Metrics
Query-Size:3Query-Depth:1