Skip to content

Commit 3cc2626

Browse files
Update docs/performance/optimization.rst
Co-authored-by: Niklas Schmidtmer <[email protected]>
1 parent 1bc6a25 commit 3cc2626

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/performance/optimization.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,11 @@ do:
103103
device_data.reading_value
104104
FROM device_data
105105
WHERE
106+
/*
107+
We are sure one month of data is sufficient to find
108+
10 results and it may help with partition pruning
109+
*/
106110
reading_time BETWEEN '2024-12-01' AND '2025-01-01'
107-
/* we are sure one month of data is sufficient to find 10 results and it may help with partition pruning */
108111
LIMIT 10
109112
)
110113
SELECT

0 commit comments

Comments
 (0)