Skip to content

Commit 8b29dc0

Browse files
authored
docs: generalize tip to rewrite window functions (#33757)
1 parent 45a21b8 commit 8b29dc0

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

doc/user/layouts/shortcodes/idiomatic-sql/materialize-window-functions.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@
1010
partition is **100**. Then, amount of work to perform is proportional to
1111
computing the window function results for **10\*100=1000** rows.
1212

13-
As a rule of thumb, if the total size of all touched window partitions is at
14-
most 1000000 rows per second, then the system should be able to keep up with the
15-
input data as it arrives. However, if your use case has higher performance
16-
requirements, consider rewriting your query to not use window functions. If your
17-
query cannot be rewritten without the window functions and the performance of
18-
window functions is insufficient for your use case, please [contact our
19-
team](/support/).
13+
To avoid performance issues that may arise as the number of records grows,
14+
consider rewriting your query to use idiomatic Materialize SQL instead of window
15+
functions. If your query cannot be rewritten without the window functions and
16+
the performance of window functions is insufficient for your use case, please
17+
[contact our team](/support/).

0 commit comments

Comments
 (0)