Re: MSSQL$SBSMonitoring Database size (SBS2003)



Sorry to barge in, but I don't see any "SBS_Database_Cleanup that is
scheduled to run at 3:00 AM everyday" on my SBS2003 Premium SP1 system. Is
it a scheduled task or something else?

--
Allan Williams



""Brandy Nee [MSFT]"" <v-branee@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:IXvLTy8SGHA.4660@xxxxxxxxxxxxxxxxxxxxxxxx
Hello Stewart,

Thank you for posting to the SBS Newsgroup.

I am sorry for the delayed response due to the weekend. Please understand
that the newsgroups are staffed weekdays by Microsoft Support
professionals
to answer your systems and applications questions. Your understanding is
greatly appreciated!

I understand your issue is the SBSmonitoring.mdf is too large and you want
to reduce the size of the database. If I have misunderstood your concern,
please let me know.

Please take your time to read through my suggestions and then perform the
steps:

============

1> If you are using SBS Premium and have SQL server installed:

You can use the SQL Client Utilities to try and shrink the database. In
SBS, there is a job SBS_Database_Cleanup that is scheduled to run at 3:00
AM everyday, to delete over 90 day old information from the monitoring
database.

You can manually run the SBS_Database_Cleanup job, and use DBCC
SHRINKDATABASE, DBCC SHRINKFILE or use Enterprise Manager to reduce the
size of the database.

2> If you are running SBS Standard:

You need to use osql to connect to the WMSDE instance, and use transact
SQL
commands manually to request the database be shrunk ("dbcc shrinkdatabase(
SBSMonitoring, <% free space target>)").

3> We also can simple rerun the Monitoring wizard to purge the
SBSmonitoring.mdf database.

NOTE: After doing the following steps, the original performance and usage
data will be removed. The server will start to collect new counter value
from the beginning.

1. Open Server Management console, navigate to 'Monitoring and Reporting'
snap-in. In the right panel, click 'Set Up Monitoring Reports and Alerts'.

2. In the wizard, click 'Next'->Select 'Reinstall monitoring
features'->Select the options if you want to receive the report e-mails.
Check 'View the usage report in Server Management' option. If you want to
receive the usage report e-mail, also check the option below->Add the
users
which you allow them to view the usage report to the authorized
list->Select the option if you want to receive the performance
alerts->Click 'Finish' button to complete the configurations.

3. After doing the above steps, the performance and usage data will be
reset. Please wait for 24 hours and then you will see the reports through
the Monitoring and Reporting console.

4> If you need more space on your C drive, I would also suggest moving
available data from your C drive to other partition on your Server. The
following white paper demonstrates this scenario in detail.

Please refer to Step 5: Move the Monitoring Database in the following
white
paper.
Moving Data Folders for Windows Small Business Server 2003
http://www.microsoft.com/technet/prodtechnol/sbs/2003/maintain/movedata.mspx


Hope it helps! Please take your time to perform the steps. If you have any
updates, please feel free to let me know. I am looking forward to hearing
from you!

Best regards,

Brandy Nee

Microsoft CSS Online Newsgroup Support

Get Secure! - www.microsoft.com/security
======================================================
This newsgroup only focuses on SBS technical issues. If you have issues
regarding other Microsoft products, you'd better post in the corresponding
newsgroups so that they can be resolved in an efficient and timely manner.
You can locate the newsgroup here:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx

When opening a new thread via the web interface, we recommend you check
the
"Notify me of replies" box to receive e-mail notifications when there are
any updates in your thread. When responding to posts via your newsreader,
please "Reply to Group" so that others may learn and benefit from your
issue.

Microsoft engineers can only focus on one issue per thread. Although we
provide other information for your reference, we recommend you post
different incidents in different threads to keep the thread clean. In
doing
so, it will ensure your issues are resolved in a timely manner.

For urgent issues, you may want to contact Microsoft CSS directly. Please
check http://support.microsoft.com for regional support phone numbers.

Any input or comments in this thread are highly appreciated.
======================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.



--------------------
Thread-Topic: MSSQL$SBSMonitoring Database size (SBS2003)
thread-index: AcZJ4sCyas9BkHlrSAyQA9h3/gkeLw==
X-WBNR-Posting-Host: 71.40.164.194
From: =?Utf-8?B?U3Rld2FydA==?= <Stewart@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: MSSQL$SBSMonitoring Database size (SBS2003)
Date: Fri, 17 Mar 2006 08:49:27 -0800
Lines: 8
Message-ID: <1DD26571-4F02-44FE-8767-12D3C48CCA2F@xxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.windows.server.sbs
Path: TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.windows.server.sbs:253607
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.windows.server.sbs

Is it possible to decrease the SBSMontioring SQL database size? My 2 year
old 2003 SBS server has been monitoring and reporting so long that the
MSDE
SQL database has grown to 800MB. I do not need the old reporting
information
and would like to clear up the disk space.

If it is possible to remove old data from the database, please post!
Thanks,
Stewart




.