You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
Here are techniques used to optimize source database making sure it has a the lowest size and thus will take less time to initialize:
vc-empty-db had a 6mb "sys.plan_persist_runtime_stats", probably from the previous db run. In order to remove the data from that table, run the following command:
ALTER DATABASE [vc-empty-db] SET QUERY_STORE CLEAR;
Database has a size it occupies on the disk as well as a claimed size. The claimed size is never reduced even when the data is removed. In order to re-claim unused space, the following command needs to be run:
DBCC SHRINKDATABASE (N'vc-empty-db')
The text was updated successfully, but these errors were encountered:
Here are techniques used to optimize source database making sure it has a the lowest size and thus will take less time to initialize:
ALTER DATABASE [vc-empty-db] SET QUERY_STORE CLEAR;
DBCC SHRINKDATABASE (N'vc-empty-db')
The text was updated successfully, but these errors were encountered: