From 714c0b22333a9581687745fcb1f51ba21fae83ac Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Tue, 27 Feb 2024 16:46:11 +0100 Subject: [PATCH] fixup! Performance: Add section "Replace JOINs with CTEs" --- docs/admin/performance/selects.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/admin/performance/selects.rst b/docs/admin/performance/selects.rst index 94228069..7d26ae2d 100644 --- a/docs/admin/performance/selects.rst +++ b/docs/admin/performance/selects.rst @@ -115,7 +115,8 @@ Rewrite JOINs as CTEs The article about `using common table expressions to speed up queries`_ shares a pattern you can use to replace JOINs with CTEs in your SQL queries, in order -to achieve consistent and faster execution times. +to achieve consistent and faster execution times. Please note that what CTEs to +use depends on the profile of your data. **Example**