.. versionadded:: 6.0
| eql-statement: |
|---|
Update internal statistics about data.
.. eql:synopsis::
administer statistics_update "("
[<type_link_or_property> [, ...]]
")"
Collects statistics about the contents of data in the current branch. Subsequently, the query planner uses these statistics to help determine the most efficient execution plans for queries.
- :eql:synopsis:`<type_link_or_property>`
- If a type name or a path to a link or property are specified, that data will be targeted for statistics update. If omitted, all user-accessible data will be analyzed.
Update the statistics on type SomeType:
administer statistics_update(SomeType);Update statistics of type SomeType and the link OtherType.ptr.
administer statistics_update(SomeType, OtherType.ptr);Update statistics on everything that is user-accessible in the database:
administer statistics_update();