Quantcast
Viewing all articles
Browse latest Browse all 15889

Hot to Data capture on secondary data file

Hi,

I had created 4 secondary data files across different disks on the same Primary file group. These 4.ndf files were created uniformly with initial size of 350GB and autogrowth of 2GB as was  my existing.mdf file

After running Reindexing the secondary NDF files equally had data flow of 30GB each. The reindexing was not done on all the tables of the database and was done only on some selected 70tables. 

Now i want to know real time validation to check if the secondary data file is getting utilized effectively ,that is DATA getting into the database is getting into these newly created secondary data files.

Can someone give me any T-SQL or an interesting method to get the output that objects are using these secondary data files.

No table partitioning has been done and these .ndf files are not under new file groups ,they are just added along with the primary file group.

Env : SQL server2008R2 SP2

Regards

Eben


Viewing all articles
Browse latest Browse all 15889

Trending Articles