# VeloceDB 2.73.49 — grain

Installer source **2.73.49**. host02 and host03 are running **2.73.50**. This note describes 2.73.49. analog ≠ native. **certifiedClaim = false.**

## What shipped

`GROUP BY` accepts a second column. Both columns are in the select list. A third group column stays ERROR.

`SELECT DISTINCT` collapses duplicate projected rows. `SUM(DISTINCT)`, `AVG(DISTINCT)`, `MIN(DISTINCT)`, and `MAX(DISTINCT)` are accepted. `MIN(DISTINCT)` and `MAX(DISTINCT)` match `MIN` and `MAX`. Nulls are skipped.

`ORDER BY` accepts a second column, which is what a two-column group needs to sort both keys.

A prefix scan reads each matching record once: header, key, and value in two reads. It is not a column index.

## Still ERROR

- A third `GROUP BY` column and a third `ORDER BY` column
- A fourth comparison
- `RIGHT JOIN`, `FULL JOIN`, `CROSS JOIN`, `WITH RECURSIVE`, and a subquery

## Measured locally

Windows in-process `executeRelate` on 4000 JSON rows, 2026-10-26T02:22:36Z. The prior run on this machine was 2.73.48 at 2026-10-26T02:10:06Z. This is not the published host03 table from 2026-08-31, method labeled 2.73.13.

| Query | 2.73.49 ms | 2.73.48 ms | Result |
| --- | ---: | ---: | --- |
| COUNT(*) | 26.325 | 43.286 | 4000 |
| COUNT(DISTINCT customer) | 25.461 | 40.362 | 200 |
| SUM(DISTINCT total) | 25.949 | — | 1225 |
| SELECT DISTINCT customer, sku | 27.282 | — | 100 rows, default LIMIT 100 of 400 pairs |
| GROUP BY customer, sku | 25.700 | — | 100 rows, default LIMIT 100 of 400 groups |

Same machine, in-process 50,000 recno rows: insert 36,138 ops/s (p50 21 µs), get 117,222 ops/s (p50 7 µs). Point get was already the fast path. Not TCP. Not the published table.
