Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ paths:
competing indexes in AQL queries when there are multiple candidate indexes to
choose from.

The `estimates` attribute is optional and defaults to `true` if not set.
It has no effect on indexes other than `persistent`, `mdi`, and `mdi-prefixed`.
The option has no effect on indexes other than `persistent`, `mdi`, `mdi-prefixed`, and `ttl` indexes.
It cannot be disabled for non-unique `mdi` indexes because they have a fixed
selectivity estimate of `1`.
type: boolean
Expand Down
2 changes: 1 addition & 1 deletion site/content/3.12/develop/http-api/indexes/persistent.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ paths:
competing indexes in AQL queries when there are multiple candidate indexes to
choose from.

The option has no effect on indexes other than `persistent`, `mdi`, and `mdi-prefixed`.
The option has no effect on indexes other than `persistent`, `mdi`, `mdi-prefixed`, and `ttl` indexes.
type: boolean
default: true
cacheEnabled:
Expand Down
14 changes: 14 additions & 0 deletions site/content/3.12/develop/http-api/indexes/ttl.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,20 @@ paths:
maxItems: 1
items:
type: string
estimates:
description: |
This attribute controls whether index selectivity estimates are maintained for the
index. Not maintaining index selectivity estimates can have a slightly positive
impact on write performance.

The downside of turning off index selectivity estimates is that
the query optimizer is not able to determine the usefulness of different
competing indexes in AQL queries when there are multiple candidate indexes to
choose from.

The option has no effect on indexes other than `persistent`, `mdi`, `mdi-prefixed`, and `ttl` indexes.
type: boolean
default: true
expireAfter:
description: |
The time interval (in seconds) from the point in time stored in the `fields`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ to an index, an index can become more selective and thus reduce the number of do
queries need to process.

ArangoDB's `primary` and `edge` indexes automatically provide selectivity estimates.
The `persistent`, `mdi`, and `mdi-prefixed` indexes do too, by default.
The `persistent`, `mdi`, `mdi-prefixed`, and `ttl` indexes do too, by default.
Index selectivity estimates are provided in the web interface, the `indexes()` return
value and in the `explain()` output for a given query.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ paths:
competing indexes in AQL queries when there are multiple candidate indexes to
choose from.

The `estimates` attribute is optional and defaults to `true` if not set.
It has no effect on indexes other than `persistent`, `mdi`, and `mdi-prefixed`.
The option has no effect on indexes other than `persistent`, `mdi`, `mdi-prefixed`, and `ttl` indexes.
It cannot be disabled for non-unique `mdi` indexes because they have a fixed
selectivity estimate of `1`.
type: boolean
Expand Down
2 changes: 1 addition & 1 deletion site/content/3.13/develop/http-api/indexes/persistent.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ paths:
competing indexes in AQL queries when there are multiple candidate indexes to
choose from.

The option has no effect on indexes other than `persistent`, `mdi`, and `mdi-prefixed`.
The option has no effect on indexes other than `persistent`, `mdi`, `mdi-prefixed`, and `ttl` indexes.
type: boolean
default: true
cacheEnabled:
Expand Down
14 changes: 14 additions & 0 deletions site/content/3.13/develop/http-api/indexes/ttl.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,20 @@ paths:
maxItems: 1
items:
type: string
estimates:
description: |
This attribute controls whether index selectivity estimates are maintained for the
index. Not maintaining index selectivity estimates can have a slightly positive
impact on write performance.

The downside of turning off index selectivity estimates is that
the query optimizer is not able to determine the usefulness of different
competing indexes in AQL queries when there are multiple candidate indexes to
choose from.

The option has no effect on indexes other than `persistent`, `mdi`, `mdi-prefixed`, and `ttl` indexes.
type: boolean
default: true
expireAfter:
description: |
The time interval (in seconds) from the point in time stored in the `fields`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ to an index, an index can become more selective and thus reduce the number of do
queries need to process.

ArangoDB's `primary` and `edge` indexes automatically provide selectivity estimates.
The `persistent`, `mdi`, and `mdi-prefixed` indexes do too, by default.
The `persistent`, `mdi`, `mdi-prefixed`, and `ttl` indexes do too, by default.
Index selectivity estimates are provided in the web interface, the `indexes()` return
value and in the `explain()` output for a given query.

Expand Down