Detecting Full Table Scans With SQLite

38 points by alexpls


thomas0

TIL about fullscan_steps.

"Feels like we could integrate this in to Rails and warn or raise in test / development." It would be amazing if you can say something like assert_has_no_table_scans { get "/" } or even a flag that you turn on in a test/set of tests.

nick4

Very cool! I wonder if you can do the same in Postgres.