I have seen posts that show three ways to reset the DMV views:
- Reset the SQL Service
- Detatch the database
- Close the database
All of these methods seem to require taking the system off-line for a few moments. Is there a way to reset the statistics on demand without interrupting use of the database? When we have odd performance issues come up in production it is useful to limit the data in the dmv views to data collected during the duration of the performance issue to help describe the state of the system during the performance issue.