![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to ask one general question like let's suppose I have a database and the data file and transaction log for the database are located on a 9.1 GB hard disk. Both files are configured for automatic file growth. The data file occupies 7 GB of disk space. I want calculate when I will need to add additional disk space. Should I go with Configure System Monitor to log disk space utilization OR Configure a SQL Server Agent job to execute the sp_spaceused stored procedure each day and then to store the results of the procedure to a table in the database Thanks NOOR |
#3
| |||
| |||
|
|
How big is your log file? You don't say, but if it is 500MB that only leaves you 1.5GB. That is not a lot of room...I would probably order another disk now. Then again, if you only add 20MB per day you have some time. -- Keith "Noor" <noor (AT) ngsol (DOT) com> wrote in message news:uZdnayUeEHA.3732 (AT) TK2MSFTNGP11 (DOT) phx.gbl... I want to ask one general question like let's suppose I have a database and the data file and transaction log for the database are located on a 9.1 GB hard disk. Both files are configured for automatic file growth. The data file occupies 7 GB of disk space. I want calculate when I will need to add additional disk space. Should I go with Configure System Monitor to log disk space utilization OR Configure a SQL Server Agent job to execute the sp_spaceused stored procedure each day and then to store the results of the procedure to a table in the database Thanks NOOR |
#4
| |||
| |||
|
|
Basically I want to go with one option from the following two option 1) Configure System Monitor to log disk space utilization 2) Configure a SQL Server Agent job to execute the sp_spaceused stored procedure each day and then to store the results of the procedure to a table in the database Thanks NOOR "Keith Kratochvil" <sqlguy.back2u (AT) comcast (DOT) net> wrote in message news:#oxeq4UeEHA.3132 (AT) TK2MSFTNGP11 (DOT) phx.gbl... How big is your log file? You don't say, but if it is 500MB that only leaves you 1.5GB. That is not a lot of room...I would probably order another disk now. Then again, if you only add 20MB per day you have some time. -- Keith "Noor" <noor (AT) ngsol (DOT) com> wrote in message news:uZdnayUeEHA.3732 (AT) TK2MSFTNGP11 (DOT) phx.gbl... I want to ask one general question like let's suppose I have a database and the data file and transaction log for the database are located on a 9.1 GB hard disk. Both files are configured for automatic file growth. The data file occupies 7 GB of disk space. I want calculate when I will need to add additional disk space. Should I go with Configure System Monitor to log disk space utilization OR Configure a SQL Server Agent job to execute the sp_spaceused stored procedure each day and then to store the results of the procedure to a table in the database Thanks NOOR |
#5
| |||
| |||
|
|
-----Original Message----- How big is your log file? You don't say, but if it is 500MB that only leaves you 1.5GB. That is not a lot of room...I would probably order another disk now. Then again, if you only add 20MB per day you have some time. -- Keith "Noor" <noor (AT) ngsol (DOT) com> wrote in message news:uZdnayUeEHA.3732 (AT) TK2MSFTNGP11 (DOT) phx.gbl... I want to ask one general question like let's suppose I have a database and the data file and transaction log for the database are located on a 9.1 GB hard disk. Both files are configured for automatic file growth. The data file occupies 7 GB of disk space. I want calculate when I will need to add additional disk space. Should I go with Configure System Monitor to log disk space utilization OR Configure a SQL Server Agent job to execute the sp_spaceused stored procedure each day and then to store the results of the procedure to a table in the database Thanks NOOR . |
#6
| |||
| |||
|
|
Basically I want to go with one option from the following two option 1) Configure System Monitor to log disk space utilization 2) Configure a SQL Server Agent job to execute the sp_spaceused stored procedure each day and then to store the results of the procedure to a table in the database Thanks NOOR "Keith Kratochvil" <sqlguy.back2u (AT) comcast (DOT) net> wrote in message news:#oxeq4UeEHA.3132 (AT) TK2MSFTNGP11 (DOT) phx.gbl... How big is your log file? You don't say, but if it is 500MB that only leaves you 1.5GB. That is not a lot of room...I would probably order another disk now. Then again, if you only add 20MB per day you have some time. -- Keith "Noor" <noor (AT) ngsol (DOT) com> wrote in message news:uZdnayUeEHA.3732 (AT) TK2MSFTNGP11 (DOT) phx.gbl... I want to ask one general question like let's suppose I have a database and the data file and transaction log for the database are located on a 9.1 GB hard disk. Both files are configured for automatic file growth. The data file occupies 7 GB of disk space. I want calculate when I will need to add additional disk space. Should I go with Configure System Monitor to log disk space utilization OR Configure a SQL Server Agent job to execute the sp_spaceused stored procedure each day and then to store the results of the procedure to a table in the database Thanks NOOR |
#7
| |||
| |||
|
|
Hi Noor, I will go with 1st option... Second option will give only the database size.... You can use the system monitor to log the hard disk utilization. Create an alert in performance monitor with a threshhold limit , so as soon as the space crosses the threshold an alert will be raised. Thanks Hari MCDBA "Noor" <noor (AT) ngsol (DOT) com> wrote in message news:#GRTKJWeEHA.1036 (AT) TK2MSFTNGP10 (DOT) phx.gbl... Basically I want to go with one option from the following two option 1) Configure System Monitor to log disk space utilization 2) Configure a SQL Server Agent job to execute the sp_spaceused stored procedure each day and then to store the results of the procedure to a table in the database Thanks NOOR "Keith Kratochvil" <sqlguy.back2u (AT) comcast (DOT) net> wrote in message news:#oxeq4UeEHA.3132 (AT) TK2MSFTNGP11 (DOT) phx.gbl... How big is your log file? You don't say, but if it is 500MB that only leaves you 1.5GB. That is not a lot of room...I would probably order another disk now. Then again, if you only add 20MB per day you have some time. -- Keith "Noor" <noor (AT) ngsol (DOT) com> wrote in message news:uZdnayUeEHA.3732 (AT) TK2MSFTNGP11 (DOT) phx.gbl... I want to ask one general question like let's suppose I have a database and the data file and transaction log for the database are located on a 9.1 GB hard disk. Both files are configured for automatic file growth. The data file occupies 7 GB of disk space. I want calculate when I will need to add additional disk space. Should I go with Configure System Monitor to log disk space utilization OR Configure a SQL Server Agent job to execute the sp_spaceused stored procedure each day and then to store the results of the procedure to a table in the database Thanks NOOR |
![]() |
| Thread Tools | |
| Display Modes | |
| |