Being able to disallow table scans on a per-connection basis would be useful for testing. An applications test suite could disallow table scans so that any test that attempted a full table scan would fail.
Finer grained per-query --notablescan would be more useful, but the above would sufficiently cover the most common use case of testing code.
- is duplicated by
-
SERVER-10845 Specifying notablescan in connection string / in single query
- Closed
- is related to
-
SERVER-15561 I want to apply notablescan to per DB or per COLLECTION on production.
- Backlog
-
SERVER-34127 Add user role action that will allow only indexed queries
- Closed