|Found errors or typos? Just edit the page or leave a message on the talk page.|
The English language documentation is canonical and most up to date.
Special property "Query duration"
Holds the value of the duration a query took to execute
|Provided by:||extension "Semantic MediaWiki "Semantic MediaWiki (SMW) is a free, open-source extension to MediaWiki that lets you store and query data within the wiki's pages. Semantic MediaWiki is also a full-fledged framework, in conjunction with many spinoff extensions, that can turn a wiki into a powerful and flexible knowledge management system. All data created within SMW can easily be published via the Semantic Web, allowing other systems to use this data seamlessly.|
|Removed:||still in use|
|Alias:||has no alias|
|In this wiki:||Property:Query duration|
The Query depth property is a special property in Semantic MediaWiki with a built-in meaning: it holds the value of the duration a query took to execute. See the help page on how to query for queries for more details on how to use this special property. It is not possible to manually add a value to this special property. It was introduced with Semantic MediaWiki 1.9.0Released on 3 January 2014 and compatible with MW 1.19.0 - 1.22.x..1
By default the measurement of the execution time of a query is disabled. See the help page on configuration parameter
$smwgQueryProfilerSets whether specific monitorable profile data are recorded for how to enable this.
See the property page Query duration to see which pages use this special property on this wiki.
Available special properties relating to query profilingThe following other special properties are available for query profiling:
|Query size||Holds the value of the number of conditions in a query||Special property "Query size"||1.8.0|
|Query string||Holds the conditions of the query as a string||Special property "Query string"||1.8.0|
|Has query||Links a page to the subobject created by a query recording its profile||Special property "Has query"||1.8.0|
|Query depth||Holds the value of the property depth of a query||Special property "Query depth"||1.8.0|
|Query format||Holds the name of the result format used in a query||Special property "Query format"||1.8.0|
|Query parameters||Holds the parameters a query used to select its output||Special property "Query parameters"||2.5.0|
|Query source||Holds the identifier of an alternative (e.g. remote) query source||Special property "Query source"||2.5.0|
|Query state||Holds the status code a query uses to define its internal state||Special property "Query state"||3.0.0|
- Help page on special property "Has query"Links a page to the subobject created by a query recording its profile
- Help page on query profiling
- Help page on Querying for queries
- Semantic MediaWiki: GitHub pull request gh:smw:30