Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > WSUS 3.0 Database Maintenance Script

Reply
Thread Tools Display Modes

WSUS 3.0 Database Maintenance Script

 
 
Richard Levans
Guest
Posts: n/a

 
      09-15-2010
I ran this script because some how my DB has grown to 20GB. The script actually made it grow by another 200MB. How do I reduce the size of my DB?

> On Tuesday, May 29, 2007 1:15 PM DirkDiggle wrote:


> I recently upgraded to WSUS 3.0 and need to run the database maintenance
> script as suggested in the documentation.
>
> Can anyone give me step by step instructions on how to run the script?
>
> I downloaded the script and the sqlcmd utility and attempted to run the
> script but it fails.



>> On Wednesday, May 30, 2007 12:32 AM Ashis wrote:


>> What syntax your are using and what error you got?
>>
>> http://technet2.microsoft.com/window....mspx?mfr=true
>>
>> Ashish
>>
>> http://yashcare.blogspot.com
>>
>>
>>
>>
>> "DirkDiggler" wrote:



>>> On Wednesday, May 30, 2007 7:50 AM DirkDiggle wrote:


>>> I am using this command:
>>>
>>> sqlcmd -S np:\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query ???i
>>> c:\WsusDBMaintenance.sql
>>>
>>> I get an unexpected argument error.
>>>
>>>
>>>
>>> "Ashish" wrote:



>>>> On Wednesday, May 30, 2007 11:58 AM Ashis wrote:


>>>> Try This:
>>>>
>>>> Sqlcmd -i WsusDBMaintenance.sql -S
>>>> "np:\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query"
>>>>
>>>> Make sure wsusdbmaintenace.sql file resides in the same location where
>>>> sqlcmd is placed.
>>>>
>>>> Hope this will work, otherwise let me know. Please confirm if it works.
>>>>
>>>> Regards,
>>>>
>>>> Ashish
>>>>
>>>> http://yashcare.blogspot.com
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> "DirkDiggler" wrote:



>>>>> On Wednesday, May 30, 2007 3:36 PM DirkDiggle wrote:


>>>>> This appears to have worked. Thanks.
>>>>>
>>>>> "Ashish" wrote:



>>>>>> On Wednesday, June 03, 2009 9:10 AM Flo wrote:


>>>>>> You are required to be a member to post replies. After logging in or becoming a member, you will be redirected back to this page.



>>>>>> Submitted via EggHeadCafe - Software Developer Portal of Choice
>>>>>> Mocking WCF Services Using Moq
>>>>>> http://www.eggheadcafe.com/tutorials...using-moq.aspx

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SBS Monitoring 4GB (2008) Now what? Bobby Janow Windows Small Business Server 16 02-24-2010 11:40 PM
WSUS 3.0 SP2 - Not yet Reported Olufis Ademidun Update Services 1 02-02-2010 03:53 AM
WSUS 3.0 SP2 - Not yet Update Olufis Ademidun Update Services 1 02-01-2010 01:39 PM
WSUS 3 upgrade failing Bill Update Services 7 01-29-2010 04:59 PM
Re: WSUS 3, empty sql datafile due to tbXml table Lawrence Garvin [MVP] Update Services 0 11-18-2009 03:50 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59