> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# db-sqlite-large-scan

> A filtered SQLite query plans an unindexed scan of a large table.

## What it flags

`perf db --engine sqlite` reports a simple filtered SELECT when SQLite's query plan identifies an unindexed scan of an unaliased ordinary table with more than 1,000 rows. The command checks at most 1,001 rows per table, and the query plan does not measure how many rows the SELECT would read.

## How to review

Consider whether the filter could use an index. Some scans are deliberate and faster than an index lookup. Compare the query plans before and after any index change. Unknown plan details, aliases that do not resolve to tables, and virtual tables are outside this rule's scope.

Pass `--ignore db-sqlite-large-scan` to omit the rule.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.