From e2fb2bcc0669b58177e5fa06c959ba08f5663aa5 Mon Sep 17 00:00:00 2001 From: Paula Date: Mon, 8 Jan 2024 15:16:46 +1100 Subject: [PATCH] improve move-filters-into-enumerate optimizer rule --- .../3.12/release-notes/version-3.12/whats-new-in-3-12.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md b/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md index 116c7f8886..09ee13f553 100644 --- a/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md +++ b/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md @@ -192,6 +192,13 @@ See [String functions in AQL](../../aql/functions/string.md#repeat). A numeric function `RANDOM()` has been added as an alias for the existing `RAND()`. +### Improved `move-filters-into-enumerate` optimizer rule + +The `move-filters-into-enumerate` optimizer rule can now also move filters into +`EnumerateListNodes` for early pruning. This can significantly improve the +performance of queries that do a lot of filtering on longer lists of +non-collection data. + ## Indexing ### Stored values can contain the `_id` attribute