dcsimg

sp_spacemon.sql

July 26, 1998



Put sp_spacehistory in master database.

Put sp_spacemon in database where your recorded table is. Schedule a task to run sp_spacemon.

A table (spacehistory) will be created and all the table space usage information will be recorded against each user defined databases. master, tempdb, model, pubs, msdb will not be recorded.

sp_spacehistory is a cutdown version of sp_spaceused.

They work on SQL 6.5, have not tested against 7.0.

Author: William Zhou


Download Script:
sp_spacehistory.sql
sp_spacemon.sql


Disclaimer: We hope that the information on these script pages is valuable to you. Your use of the information contained in these pages, however, is at your sole risk. All information on these pages is provided "as -is", without any warranty, whether express or implied, of its accuracy, completeness, or fitness for a particular purpose... Disclaimer Continued


Back to Database Journal Home








The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers