tursodatabase/libsql

Optimize `SELECT COUNT(*)` by keeping a counter

Open

#328 opened on Apr 27, 2023

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C (490 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (16,744 stars)
PR merge metrics
 (Avg merge 23h 19m) (1 merged PR in 30d)

Description

Some databases apparently optimize SELECT COUNT(*) by keeping a per-table counter. Let's look into if that's doable.

Contributor guide