Results 1 to 12 of 12

Thread: [RESOLVED] SQL Server Best Practice

  1. #1

    Thread Starter
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Resolved [RESOLVED] SQL Server Best Practice

    Hi all

    I'm looking for any ideas on a best practice for rebooting SQL Server (2005 Enterprise).

    We have some here who think it should be re-booted every month. I say no way. Is there a best practice around this?


    Gary
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: SQL Server Best Practice

    szlamany would best to answer that, it's what he does. Everywhere I've been we've only ever rebooted SQL Server when absolutely necessary - patches & upgrades applied, or if a process goes running off loose and can't be shut down any other way.

    What's their reasoning for a monthly reboot?

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: SQL Server Best Practice

    I have no real clue just what they did before. I say leave it alone. The machine should be able to run for months (at least) with out an issue. I early versions of windows I know there was an issue but not any longer.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  4. #4
    Hyperactive Member
    Join Date
    Jan 2008
    Location
    Merseyside
    Posts
    456

    Re: SQL Server Best Practice

    Yeah same in our company as it is in techgnome's. We only reboot when absolutely necessary.

    I suppose a lot can depend on the hardware you have set up running the servers.

  5. #5
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: SQL Server Best Practice

    shoot... Iv'e got an old 486 running SQL Server 2005, Windows Server 2003, acting as a file server and radio station server...... Um... let's see... it's been at least 3 months since I rebooted... and that was only because of a security update that was applied...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  6. #6

    Thread Starter
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: SQL Server Best Practice

    That is what I told the support people here. They think that 3 months running time for Windows Server 2003 and SQL Server 2005 is a long time. I say let it go. If we need to reboot we'll find out don't do it for the heck of it.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  7. #7
    Hyperactive Member
    Join Date
    Jan 2008
    Location
    Merseyside
    Posts
    456

    Re: SQL Server Best Practice

    Yeah... reboot's should only be when there are problems with the server...

    Memory leaks... conenction timeouts etc. and it has been deemed by the business (via advice from IT Support) that a reboot is recommended... normally out of hours to lessen the impact to the business, with a email beforehand send out to communicate with the business.

    I would be worried if i worked in a company where there want to reboot for 'the heck of it'!
    Last edited by kevchadders; Oct 31st, 2008 at 03:53 AM.

  8. #8
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: SQL Server Best Practice

    My insignificant piece on this topic

    People usually do it... I was curious so I checked with my IT Head. He told me it is good if you re-boot the server every month as it releases a lot of memory... I asked him if he does it... strangely he doesn't because he doesn't get the time... but then he also said that he would love to...

    I also checked the web and found that what he said is absolutely true for example see this link (point 5)...

    http://blog.sqlauthority.com/2007/09...ommand-prompt/
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  9. #9
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: SQL Server Best Practice

    In my 8 years of having some pretty hefty customers using MS SQL I've never seen a need or heard of a requirement to re-boot the SQL service.

    I've dealt with some runaway tempdb's in my time - but only a couple.

    From my experience it's not needed.

    Although I cannot think of any real harm either - other then downtime, schedule job failures - stuff like that...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  10. #10
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: SQL Server Best Practice

    I'm a network/server admin and I would not recommend rebooting servers if there is no real reason...its just asking for trouble really. Servers are designed to run for months on end, we have several servers here that have not been rebooted for over 6 months. I've supported a lot of different networks at different companies and never seen anyone reboot servers on a schedule for no real reason. The way I see it, server reboots are a last resort to fix a problem or update something and should not be done for any other reason.
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  11. #11
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: SQL Server Best Practice

    Quote Originally Posted by koolsid
    My insignificant piece on this topic

    People usually do it... I was curious so I checked with my IT Head. He told me it is good if you re-boot the server every month as it releases a lot of memory... I asked him if he does it... strangely he doesn't because he doesn't get the time... but then he also said that he would love to...

    I also checked the web and found that what he said is absolutely true for example see this link (point 5)...

    http://blog.sqlauthority.com/2007/09...ommand-prompt/
    Oner person saying "yeah! I do that" doesn't make it true.... especially for point #5 ... if the temp DB needs to be cleaned out that often, then the dba and the developers need to take a GOOD LONG LOOK at their processes and stored Procs. There's way too many temp tables being created and not dropped (that's what causes the growth of tempdb) ... And I don't think "people usually do it" ... I think a "few" and it's a very small number, do it and it's only because of a unfounded paranoid believe that it is good. Reboots of a server should be kept to a minimum and only as a last resort.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  12. #12

    Thread Starter
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: SQL Server Best Practice

    My insignificant piece on this topic

    People usually do it... I was curious so I checked with my IT Head. He told me it is good if you re-boot the server every month as it releases a lot of memory... I asked him if he does it... strangely he doesn't because he doesn't get the time... but then he also said that he would love to...

    I also checked the web and found that what he said is absolutely true for example see this link (point 5)...

    http://blog.sqlauthority.com/2007/09...ommand-prompt/

    I saw the same thread when I started looking at this. Post 5 made no sense to me. We do not see and issue with the TempDB growing in size and just posting a script the says net start and net stop does not give any meaning to a Best Practice issue.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width