Semantic search
From FOIwiki
Jump to navigationJump to search
Debug output SQLStore
ASK Query
[[Category:ICO Decision Notice]] [[FOI 40::Complaint Not upheld]]
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
`wiki_smw_object_ids` AS t0
INNER JOIN
(`wiki_smw_fpt_inst` AS t2
INNER JOIN
(`wiki_smw_di_blob` AS t4
INNER JOIN
`wiki_t5` AS t5 ON t4.p_id=t5.id) ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id=17895
AND (
(t4.o_hash='Complaint Not upheld')
))
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
30
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
`wiki_smw_object_ids` AS t0
INNER JOIN
(`wiki_smw_fpt_inst` AS t2
INNER JOIN
(`wiki_smw_di_blob` AS t4
INNER JOIN
`wiki_t5` AS t5 ON t4.p_id=t5.id) ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id=17895
AND (
(t4.o_hash='Complaint Not upheld')
))
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
30
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t5 | ALL | PRIMARY | 4 | Using temporary; Using filesort | ||||
1 | SIMPLE | t4 | ref | s_id, p_id, o_hash, s_id_2 | p_id | 262 | alexsken_foiwiki.t5.id, const | 1 | Using index condition | |
1 | SIMPLE | t2 | ref | s_id, o_id, s_id_2, o_id_2 | s_id_2 | 9 | alexsken_foiwiki.t4.s_id, const | 1 | Using index | |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | alexsken_foiwiki.t4.s_id | 1 | Using where |
Auxilliary Tables
- Temporary table t5
Recursively computed hierarchy for element(s) (17650).
SELECT s_id FROM `wiki_smw_fpt_subp` WHERE o_id=17650 LIMIT 1
Query Metrics
Query-Size:3Query-Depth:1
Errors and Warnings
None- FS50073305 - Hull City Council - 20/09/2006
- FS50074144 - Jobcentre Plus - 18/12/2007
- FS50074146 - Nottinghamshire County Council - 12/06/2007
- FS50074577 - Metropolitan Police Service - 09/06/2006
- FS50074784 - South Gloucestershire Council - 03/01/2007
- FS50074788 - Northern Ireland Office - 27/02/2007
- FS50074995 - Calderdale Council - 16/05/2007
- FS50075171 - Transport for London - 05/05/2006
- FS50075174 - Office for Standards in Education - 19/11/2007
- FS50075365 - St Albans City and District Council - 05/03/2007
- FS50075602 - The Architect Registration Board - 12/02/2007
- FS50076657 - Lancashire County Council - 12/07/2006
- FS50076806 - Medicines and Healthcare Products Regulatory Agency - 22/01/2007
- FS50076855 - Legal Services Commission - 23/10/2006
- FS50077877 - South Tyneside Council - 01/10/2007
- FS50078522 - BBC - 14/03/2007
- FS50078583 - Commission for Local Administration in England - 23/05/2007
- FS50078588 - Avon and Somerset Constabulary - 22/02/2006
- FS50080115 - Cabinet Office - 26/03/2007
- FS50080312 - Doncaster MBC - 07/08/2007
- FS50081409 - Avon and Somerset Constabulary - 07/03/2006
- FS50081570 - Broadland District Council - 27/11/2006
- FS50081574 - Home Office - 22/01/2007
- FS50081575 - Foreign and Commonwealth Office - 23/07/2007
- FS50081722 - Her Majesty's Revenue and Customs - 19/12/2007
- FS50081798 - Gwent Police Authority - 14/05/2007
- FS50082251 - Plymouth City Council - 23/08/2006
- FS50082254 - Plymouth City Council - 23/08/2006
- FS50082420 - Valuation Office Agency - 30/07/2007
- FS50082424 - Newry and Mourne District Council - 10/04/2006
- FS50082472 - Home Office - 19/04/2006
- FS50082767 - BBC - 04/09/2006
- FS50083545 - Home Office - 12/06/2006
- FS50083603 - Department for Culture, Media and Sport - 11/07/2006
- FS50084357 - BBC - 25/03/2008
- FS50084360 - Plymouth City Council - 23/08/2006
- FS50085777 - East Hampshire District Council - 04/07/2007
- FS50085780 - NHS Litigation Authority - 27/09/2006
- FS50086131 - Newcastle Upon Tyne NHS - 09/08/2006
- FS50086317 - HM Treasury - 05/10/2006
- FS50086498 - Her Majesty's Chief Inspector of Schools in Wales - 14/05/2007
- FS50086598 - Staffordshire Police - 06/04/2006
- FS50086626 - Gloucestershire County Council - 13/03/2007
- FS50086696 - University of Northampton - 23/12/2008
- FS50086866 - Ministry of Justice - 25/06/2007
- FS50086918 - University of Leicester - 23/12/2008
- FS50087443 - Maldon District Council - 13/07/2006
- FS50087796 - Norfolk County Council - 23/04/2007
- FS50088137 - General Medical Council - 26/02/2008
- FS50088378 - National Archives - 02/06/2008