Inherited a database with min size for one data file (primary) at 10 gigs and the min size for a secondary file to 6 gigs.
- Why would someone have created a secondary data file (NDF)?
- How do I shrink these below the initial sizes set for the fiels.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is a way to get create two files on the operating system. Some advantages:
Use DBCC SHRINKFILE instead of
DBCC SHRINKDATABASE. It can be set to any desired size, even smaller than initial, as long as it is greater than the size of data currently stored. To reach smaller sizes, set the targetTo find out the file ids, you can use (while in the db)