|
2 | 2 | "cases": [ |
3 | 3 | { |
4 | 4 | "id": "count-all", |
5 | | - "query": "select count(*) from stream where @Timestamp >= now() - 30d", |
| 5 | + "query": "select count(*) from stream where @Timestamp >= now() - 30d for no_cache", |
6 | 6 | "notes": "Tests page traversal performance only; avoids data copies, serialization, and evaluation." |
7 | 7 | }, |
8 | 8 | { |
9 | 9 | "id": "multiple-reductions", |
10 | | - "query": "select count(*), sum(A), min(B), max(C) from stream where @Timestamp >= now() - 30d", |
| 10 | + "query": "select count(*), sum(A), min(B), max(C) from stream where @Timestamp >= now() - 30d for no_cache", |
11 | 11 | "notes": "Reducer performance. Percentile is excluded because it prevents parallelization unless time-grouped." |
12 | 12 | }, |
13 | 13 | { |
14 | 14 | "id": "percentile-by-12h", |
15 | | - "query": "select percentile(@Timestamp % 1ms, 90) from stream where @Timestamp >= now() - 30d group by @Level, time(12h)", |
| 15 | + "query": "select percentile(@Timestamp % 1ms, 90) from stream where @Timestamp >= now() - 30d group by @Level, time(12h) for no_cache", |
16 | 16 | "notes": "Common reducer/grouping combination used when monitoring performance." |
17 | 17 | }, |
18 | 18 | { |
19 | 19 | "id": "count-with-request-id", |
20 | | - "query": "select count(*) from stream where RequestId is not null and @Timestamp >= now() - 30d", |
| 20 | + "query": "select count(*) from stream where RequestId is not null and @Timestamp >= now() - 30d for no_cache", |
21 | 21 | "notes": "Tests sparse deserialization and condition evaluation atop basic page traversal." |
22 | 22 | }, |
23 | 23 | { |
24 | 24 | "id": "count-exception-starts-with-sys", |
25 | | - "query": "select count(*) from stream where @Exception like 'Sys%' and @Timestamp >= now() - 30d", |
| 25 | + "query": "select count(*) from stream where @Exception like 'Sys%' and @Timestamp >= now() - 30d for no_cache", |
26 | 26 | "notes": "Text search performance. Chooses 'Sys' because in .NET data there should be some hits." |
27 | 27 | }, |
28 | 28 | { |
29 | 29 | "id": "count-message-starts-with-fai", |
30 | | - "query": "select count(*) from stream where @Message like 'Fai%' and @Timestamp >= now() - 30d", |
| 30 | + "query": "select count(*) from stream where @Message like 'Fai%' and @Timestamp >= now() - 30d for no_cache", |
31 | 31 | "notes": "Text search performance; worse on @Message than other properties because fragment pre-filtering is not used." |
32 | 32 | }, |
33 | 33 | { |
34 | 34 | "id": "group-by-level", |
35 | | - "query": "select count(*) from stream where @Timestamp >= now() - 30d group by @Level", |
| 35 | + "query": "select count(*) from stream where @Timestamp >= now() - 30d group by @Level for no_cache", |
36 | 36 | "notes": "Grouping performance, strings, small number of groups." |
37 | 37 | }, |
38 | 38 | { |
39 | 39 | "id": "group-by-millisecond", |
40 | | - "query": "select count(*) from stream where @Timestamp >= now() - 30d group by @Timestamp % 1ms limit 100", |
| 40 | + "query": "select count(*) from stream where @Timestamp >= now() - 30d group by @Timestamp % 1ms limit 100 for no_cache", |
41 | 41 | "notes": "Grouping performance, numbers, up to 10000 groups." |
42 | 42 | }, |
43 | 43 | { |
44 | 44 | "id": "group-by-12h", |
45 | | - "query": "select count(*) from stream where @Timestamp >= now() - 30d group by time(12h)", |
| 45 | + "query": "select count(*) from stream where @Timestamp >= now() - 30d group by time(12h) for no_cache", |
46 | 46 | "notes": "Time partitioning performance." |
47 | 47 | }, |
48 | 48 | { |
|
62 | 62 | }, |
63 | 63 | { |
64 | 64 | "id": "count-where-heavy-predicate", |
65 | | - "query": "select count(*) from stream where (A = 1 or B = '2' or C or D <> null or length(E) > 5 or F = {f: 6} or G = '7' or H like '8%' or I > 9 or J % 10 = 0) and @Timestamp >= now() - 30d", |
| 65 | + "query": "select count(*) from stream where (A = 1 or B = '2' or C or D <> null or length(E) > 5 or F = {f: 6} or G = '7' or H like '8%' or I > 9 or J % 10 = 0) and @Timestamp >= now() - 30d for no_cache", |
66 | 66 | "notes": "Tests expression evaluation performance." |
67 | 67 | } |
68 | 68 | ] |
|
0 commit comments