@@ -20,23 +20,23 @@ Physical query plan for query Q1:
2020│ Aggregates: │
2121│ count_star() │
2222│ │
23- │ ~50000000 Rows │
23+ │ ~49350000 Rows │
2424└─────────────┬─────────────┘
2525┌─────────────┴─────────────┐
2626│ PROJECTION │
2727│ ──────────────────── │
2828│ event │
2929│ │
30- │ ~100000000 Rows │
30+ │ ~98700000 Rows │
3131└─────────────┬─────────────┘
3232┌─────────────┴─────────────┐
3333│ SEQ_SCAN │
3434│ ──────────────────── │
35- │ bluesky │
36- │ │
35+ │ Table: bluesky │
36+ │ Type: Sequential Scan │
3737│ Projections: j │
3838│ │
39- │ ~100000000 Rows │
39+ │ ~98700000 Rows │
4040└───────────────────────────┘
4141------------------------------------------------------------------------------------------------------------------------
4242Physical query plan for query Q2:
@@ -61,15 +61,15 @@ Physical query plan for query Q2:
6161│ count_star() │
6262│ count(DISTINCT #1) │
6363│ │
64- │ ~10000000 Rows │
64+ │ ~9870000 Rows │
6565└─────────────┬─────────────┘
6666┌─────────────┴─────────────┐
6767│ PROJECTION │
6868│ ──────────────────── │
6969│ event │
7070│ (j ->> '$.did') │
7171│ │
72- │ ~20000000 Rows │
72+ │ ~19740000 Rows │
7373└─────────────┬─────────────┘
7474┌─────────────┴─────────────┐
7575│ FILTER │
@@ -79,16 +79,16 @@ Physical query plan for query Q2:
7979│ .commit.operation') = │
8080│ 'create')) │
8181│ │
82- │ ~20000000 Rows │
82+ │ ~19740000 Rows │
8383└─────────────┬─────────────┘
8484┌─────────────┴─────────────┐
8585│ SEQ_SCAN │
8686│ ──────────────────── │
87- │ bluesky │
88- │ │
87+ │ Table: bluesky │
88+ │ Type: Sequential Scan │
8989│ Projections: j │
9090│ │
91- │ ~100000000 Rows │
91+ │ ~98700000 Rows │
9292└───────────────────────────┘
9393------------------------------------------------------------------------------------------------------------------------
9494Physical query plan for query Q3:
@@ -103,11 +103,11 @@ Physical query plan for query Q3:
103103│ ORDER_BY │
104104│ ──────────────────── │
105105│ "hour"(to_timestamp((CAST(│
106- │ (bluesky.j ->> '$.time_us' │
107- │ ) AS BIGINT) / 1000000))) │
108- │ ASC │
109- │ ( bluesky.j ->> '$.commit │
110- │ . collection') ASC │
106+ │ (db.main. bluesky.j ->> '$ │
107+ │ .time_us' ) AS BIGINT) / │
108+ │ 1000000))) ASC │
109+ │ (db.main. bluesky.j ->> '$ │
110+ │ .commit. collection') ASC │
111111└─────────────┬─────────────┘
112112┌─────────────┴─────────────┐
113113│ HASH_GROUP_BY │
@@ -119,15 +119,15 @@ Physical query plan for query Q3:
119119│ Aggregates: │
120120│ count_star() │
121121│ │
122- │ ~10000000 Rows │
122+ │ ~9870000 Rows │
123123└─────────────┬─────────────┘
124124┌─────────────┴─────────────┐
125125│ PROJECTION │
126126│ ──────────────────── │
127127│ event │
128128│ hour_of_day │
129129│ │
130- │ ~20000000 Rows │
130+ │ ~19740000 Rows │
131131└─────────────┬─────────────┘
132132┌─────────────┴─────────────┐
133133│ FILTER │
@@ -141,16 +141,16 @@ Physical query plan for query Q3:
141141│ .bsky.feed.like'], (j ->> │
142142│ '$.commit.collection'))) │
143143│ │
144- │ ~20000000 Rows │
144+ │ ~19740000 Rows │
145145└─────────────┬─────────────┘
146146┌─────────────┴─────────────┐
147147│ SEQ_SCAN │
148148│ ──────────────────── │
149- │ bluesky │
150- │ │
149+ │ Table: bluesky │
150+ │ Type: Sequential Scan │
151151│ Projections: j │
152152│ │
153- │ ~100000000 Rows │
153+ │ ~98700000 Rows │
154154└───────────────────────────┘
155155------------------------------------------------------------------------------------------------------------------------
156156Physical query plan for query Q4:
@@ -167,34 +167,34 @@ Physical query plan for query Q4:
167167│ Top: 3 │
168168│ │
169169│ Order By: │
170- │ to_timestamp((CAST(min( │
171- │ ( bluesky.j ->> '$.time_us' │
172- │ )) AS BIGINT) / 1000000)) │
173- │ ASC │
170+ │ to_timestamp((CAST(min((db │
171+ │ .main. bluesky.j ->> '$ │
172+ │ .time_us' )) AS BIGINT) / │
173+ │ 1000000)) ASC │
174174└─────────────┬─────────────┘
175175┌─────────────┴─────────────┐
176176│ PROJECTION │
177177│ ──────────────────── │
178178│ 0 │
179179│ first_post_date │
180180│ │
181- │ ~10000000 Rows │
181+ │ ~9870000 Rows │
182182└─────────────┬─────────────┘
183183┌─────────────┴─────────────┐
184184│ HASH_GROUP_BY │
185185│ ──────────────────── │
186186│ Groups: #0 │
187187│ Aggregates: min(#1) │
188188│ │
189- │ ~10000000 Rows │
189+ │ ~9870000 Rows │
190190└─────────────┬─────────────┘
191191┌─────────────┴─────────────┐
192192│ PROJECTION │
193193│ ──────────────────── │
194194│ user_id │
195195│ (j ->> '$.time_us') │
196196│ │
197- │ ~20000000 Rows │
197+ │ ~19740000 Rows │
198198└─────────────┬─────────────┘
199199┌─────────────┴─────────────┐
200200│ FILTER │
@@ -206,16 +206,16 @@ Physical query plan for query Q4:
206206│ .commit.collection') = │
207207│ 'app.bsky.feed.post')) │
208208│ │
209- │ ~20000000 Rows │
209+ │ ~19740000 Rows │
210210└─────────────┬─────────────┘
211211┌─────────────┴─────────────┐
212212│ SEQ_SCAN │
213213│ ──────────────────── │
214- │ bluesky │
215- │ │
214+ │ Table: bluesky │
215+ │ Type: Sequential Scan │
216216│ Projections: j │
217217│ │
218- │ ~100000000 Rows │
218+ │ ~98700000 Rows │
219219└───────────────────────────┘
220220------------------------------------------------------------------------------------------------------------------------
221221Physical query plan for query Q5:
@@ -234,20 +234,20 @@ Physical query plan for query Q5:
234234│ Order By: │
235235│ date_diff('milliseconds', │
236236│ to_timestamp((CAST(min( │
237- │ (bluesky.j ->> '$.time_us' │
238- │ )) AS BIGINT) / 1000000)), │
239- │ to_timestamp((CAST(max ( │
240- │ (bluesky.j ->> '$.time_us' │
241- │ )) AS BIGINT) / 1000000))) │
242- │ DESC │
237+ │ (db.main. bluesky.j ->> '$ │
238+ │ .time_us' )) AS BIGINT) / │
239+ │ 1000000)), to_timestamp( │
240+ │ (CAST(max((db.main.bluesky │
241+ │ .j ->> '$.time_us' )) AS │
242+ │ BIGINT) / 1000000))) DESC│
243243└─────────────┬─────────────┘
244244┌─────────────┴─────────────┐
245245│ PROJECTION │
246246│ ──────────────────── │
247247│ 0 │
248248│ activity_span │
249249│ │
250- │ ~10000000 Rows │
250+ │ ~9870000 Rows │
251251└─────────────┬─────────────┘
252252┌─────────────┴─────────────┐
253253│ HASH_GROUP_BY │
@@ -258,7 +258,7 @@ Physical query plan for query Q5:
258258│ min(#1) │
259259│ max(#2) │
260260│ │
261- │ ~10000000 Rows │
261+ │ ~9870000 Rows │
262262└─────────────┬─────────────┘
263263┌─────────────┴─────────────┐
264264│ PROJECTION │
@@ -267,15 +267,15 @@ Physical query plan for query Q5:
267267│ #1 │
268268│ #1 │
269269│ │
270- │ ~20000000 Rows │
270+ │ ~19740000 Rows │
271271└─────────────┬─────────────┘
272272┌─────────────┴─────────────┐
273273│ PROJECTION │
274274│ ──────────────────── │
275275│ j │
276276│ (j ->> '$.time_us') │
277277│ │
278- │ ~20000000 Rows │
278+ │ ~19740000 Rows │
279279└─────────────┬─────────────┘
280280┌─────────────┴─────────────┐
281281│ FILTER │
@@ -287,14 +287,14 @@ Physical query plan for query Q5:
287287│ .commit.collection') = │
288288│ 'app.bsky.feed.post')) │
289289│ │
290- │ ~20000000 Rows │
290+ │ ~19740000 Rows │
291291└─────────────┬─────────────┘
292292┌─────────────┴─────────────┐
293293│ SEQ_SCAN │
294294│ ──────────────────── │
295- │ bluesky │
296- │ │
295+ │ Table: bluesky │
296+ │ Type: Sequential Scan │
297297│ Projections: j │
298298│ │
299- │ ~100000000 Rows │
300- └───────────────────────────┘
299+ │ ~98700000 Rows │
300+ └───────────────────────────┘
0 commit comments