hi all,
This is 2005.
I want to log the size of the .mdf data file into a table and update it daily. I dont want the entire db size because it would include log space which can vary day to day. I'm loading millions of records and I want to see how it impacts the actual data file size.
When I run
use AVNAPPDB
Exec sp_spaceused
it gives me 2 sets of data. The second one has column 'Data'. This seems to refect the actual amount/size of data in the database so I think this value is what I want to track every day.
How can I output that into a table. Is there a view perhaps that I can select from?
Thanks, John
This is 2005.
I want to log the size of the .mdf data file into a table and update it daily. I dont want the entire db size because it would include log space which can vary day to day. I'm loading millions of records and I want to see how it impacts the actual data file size.
When I run
use AVNAPPDB
Exec sp_spaceused
it gives me 2 sets of data. The second one has column 'Data'. This seems to refect the actual amount/size of data in the database so I think this value is what I want to track every day.
How can I output that into a table. Is there a view perhaps that I can select from?
Thanks, John