Help:Query profiler

From semantic-mediawiki.org
Jump to: navigation, search
Query profile, as shown on special page "Browse"

Profiling query data (or more precise profiling query meta data) was initially introduced as part of Semantic MediaWiki 1.8.0Released on 2 December 2012 and compatible with MW 1.17.0 - 1.22.x
(except 1.22.1).
in an effort to allow to track individual queries. The query data container is specified as a subobject stored with special property "Has query"Links a page to the subobject created by a query recording its profile that represents meta information about #ask, #show and #concept1 queries.

The following information are collected as part of the profiler subobject:

The subobject stored with special property "Has query"Links a page to the subobject created by a query recording its profile is generated from an individual query and identifiable by an internal ID such as "_QUERY352c85af2335a1ef9cff0345bd12f0fd". If the content of a query changes so does its internal ID. If however two queries share the same parameters meaning that the queries are equal then only one query profile is maintained for that particular query. Thus both queries will inherit the same query ID.

In case "Query duration" and "Query parameters" and "Query scode (status code)" are enabled (both disabled by default), durations and parameters are stored for each individual query including those with only one profile.

See also

References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:1719
  2. ^  Semantic MediaWiki: GitHub pull request gh:smw:30
  3. ^  Semantic MediaWiki: GitHub pull request gh:smw:2270
  4. ^  Semantic MediaWiki: GitHub pull request gh:smw:2673