MBTiles store, computing the query bounds when not provided is too slow on large files

Description

Doing queries on a large mbtiles package filled with vector tiles (50GB) showed that trying to compute the row/col ranges using select min/max is way too slow, fall back on using a range calculated only the zoom level instead.

Environment

None

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure