SQL Server configuration

let us suppose you install an instance - brand new instance which is going to go into production sometime later.
next, what are the configuration parameters that you would configure?
like memory etc.
appreciate the feedback.

Quite a few points suggested by James but values actually depend like
1. Max Memory = roughly 85% of the total memory the server has if no other services are on this box
This formula wont apply if you have 4 -8 G of RAM. Even if you have more than 16 gigs make sure you give atleast 5 G to OS. Yes 3 G to OS 1 G to AV and 1 G for other activities like remote desktop. This is actually not a accurate value. You would have to
look at perfmon counters mentioned in
this link.
Backup compression can also be enabled from sp_configure.
2 Set MAX DOP to 50 and then test with your work load until happy.
I have not seen such testing may be his own way to do testing . You can also have a look at
this link to calculate appropriate value of max degree of parallelism. I am more inclined to using correct value and then testing.
3. Give TempDB another 3 data files to avoid SGAM contention.
Only give data file to Tempdb when there is SGAM contention
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP

Similar Messages

  • SQL Server Configuration Manager

    Hello,
    I have a SQL 2008 SP3 install on Server 2012.  It is clustered active/active.  When opening SQL Server Configuration Manager > SQL Server Services, I receive the following message: The server threw an exception [0x80010105]
    I have tried restarting WMI and this didn't resolve the issue as many posts and blogs have suggested.
    I found this article: http://support.microsoft.com/kb/2849344 but it only applies to SQL Server 2008R2 not 2008 that we have installed.
    It states to grab a msclus.dll out of %windir%\syswow64 on a Windows 2008R2 box.  A 32bit msclus.dll file or a 64bit file does not exist on a 2008R2 box in this directory.  There is one in %windir%\system32 directory but the article clearly states
    it exists in the Syswow64 folder.
    Any help would be appreciated.
    Thanks,
    zWindows

    Hi zWindows,
    According to your description, the msclus.dll does exist in %windir%\system32 directory in your Windows Server 2008R2. I check this file in my cluster environment, it does exist in %windir%\winsxs directory. Personally, it belongs to system files, and maybe
    saved in different system path due to the system version and bit. The different path will not affect to copy this file to the related directory. Then, register this .dll file on each node of the cluster.
    About this exception [0x80010105], we need to verify if you change service account to a new domain user by SQL Server Configuration Manager in a clustered SQL Server instance. If yes, you need to ensure that Everyone is added to "Remote Launch" and "Remote
    Activation" DCOM permissions, and new domain user account have read rights in WMI.
    For more information about exception 0x80010105, you can review the following article.
    http://blogs.msdn.com/b/sql_server_reflections/archive/2012/08/28/unable-to-change-the-service-account-of-a-clustered-sql-server-instance-the-server-threw-exception-0x80010105.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Sql server configuration manager remote procedure call failed(0x800706be)

    Hi,
    My Sql Server Management Studio working well. But When I open Sql server configuration manager I Got an error
    “Remote procedure call failed (0x800706be)”
    I tried Goggling the problem and solve it but I am not getting any valuable
    solution. Is anyone solve this problem
    I attach snap here
    MySql Server Details:
    Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0 (X64) Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: )

    This error appears to happen when .mof files (Managed Object Format (MOF)) don’t get installed and registered correctly during set-up. To resolve this issue, I executed
    the following mofcomp command in command prompt to re-register the *.mof files:
    mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"
    Regards,
    Basit A. Farooq (MSC Computing, MCITP SQL Server 2005 & 2008, MCDBA SQL Server 2000)
    http://basitaalishan.com
    cau u pls tell me how to type this command on command prompt. I also have the same error in sql server 2008. I allready have sql server 2008 sp2 installed. When I was trying to type this command as it it by copying this full command to command prompt it
    shows that command not found as follows
    C:\>mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmpr
    oviderxpsp2up.mof"
    Microsoft (R) MOF Compiler Version 6.1.7600.16385
    Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
    File 'C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2
    up.mof' not found!
    please tell me step by step 
    thanks 
    nravhad

  • SQL Server Configuration Manager 2008 - Slow to bring back SQL Services

    HI
    WMI queries are taking ~ 1 minute to bring up SQL Server services using the SQL server Configuration manager 2008. The cluster is a two node cluster with ~ 6 instances installed. Each node is running Windows 2008 R2 64 Bit and has been configured
    according to best practice guidelines.
    Do I need to re-build the WMI repository on each node in the cluster? Are their any associated risks?
    Any guidance would be appreciated.
    Cheers
    Rob

    Hello,
    As already noted, this invokes WMI. I would start there and check to make sure the WMI processes aren't bloated or otherwise running out of memory or handles. I've had issues with this when running with things like IBM Director and Tivoli products that have
    large numbers of WMI queries. This blog post may also help you getting started:
    http://blogs.technet.com/b/askperf/archive/2008/09/16/memory-and-handle-quotas-in-the-wmi-provider-service.aspx
    -Sean
    Sean Gallardy | Blog |
    Twitter

  • SQL server configuration Manager - WMI error.

    I'm having an issue accessing SQL server configuration Manager on windows server 2012 64 bit.
    Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manager SQL server 2005 and later servers with SQL Server Configuration Manager. Class does not exist. [0x8070583].
    Any solution or workaround would be appreciated.
    Thanks.

    Thanks for the reply, the link you provided discuss the same issue but for a different class number, Invalid class [0x8004100]
    The error I got is for Class [0x8070583], do you know if the proposed solution work for both classes?
    Thanks again.

  • Sql Server Configuration is Not Displayed!!

    hi all,
     i am using SQL server 2008. i have sysadmin permission in server level, also i have administrator privilege from the windows security.
    i am getting the below error when i am trying to see SQL server services in sql server configuration manager.
    The server threw an exception. [0x80010105]     
    can any one please suggests what could be the reason.
    Thanks
    Tarni

    Hi,
    I am getting same error on SQL 2008 R2 "The server threw an exception. [0x80010105] 
     " and when I restart the WMI service I am getting another error "the object invoked has disconnected from its clients 0x80010108"
    And on Event viewer I am getting below error message.
    "Event filter with query "select * from __instancecreationevent within 60 where targetinstance isa "win32_service" and targetinstance.name="msmpsvc"" could not be reactivated in namespace "//./root/cimv2" because of error 0x80041010. Events cannot be delivered
    through this filter until the problem is corrected."
    Thanks.

  • SQL Server Configuration Manager – Cannot connect to WMI provider – Invalid class [0x80041010]

    look at this post am getting the same
    http://social.msdn.microsoft.com/Forums/en-US/sqlkjmanageability/thread/4c8ca86c-105f-4f0a-ac18-6e33dda2bc46
    but when I tried the solution given there , It is not working
    the error I am getting is mofcomp is not recognized as internal or external command
    I tried in  C:\program files\Microsoft sql server\90\shared  and in Windows\system32
    I am getting the same error

    Hi sql393,
    Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 servers with SQL Server Configuration Manager. Invalid class [0x80041010].
    The solution is to go to a command prompt and then run mofcomp.
     C:\Program Files\Microsoft SQL Server\90\Shared>mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof"
    For more information, please refer to
    http://blogs.msdn.com/b/echarran/archive/2006/01/03/509061.aspx
    http://msmvps.com/blogs/martinpoon/archive/2009/11/27/sql-server-configuration-manager-cannot-connect-to-wmi-provider-invalid-class-0x80041010.aspx.
    Thanks,
    Maggie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

  • Sql Server Configuration Manager fails to start

    Hi,
    My Os is Windows 7 Enterprise.
    I have Sql Server 2008 Developer Edt. with sp1
    and Sql Server 2005 express (which comes with Visual Studio)
    When I try to open Configuration Manager it fails:
    Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 and later server with SQL Server Configuration Manager.
    Invalid class [0x80041010]
    I've tried everything I could find on the net. But none of them worked for me.
    Later, I realised that the file called "sqlwep-uni.mof" under "c:\Program Files\Microsoft SQL Server\MSSQL10.INSTANCENAME\MSSQL\Binn" has failed with mofcomp command.
    Microsoft (R) MOF Compiler Version 6.1.7600.16385
    Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
    Parsing MOF file: sqlwep-uni.mof
    MOF file has been successfully parsed
    Storing data in the repository...
    An error occurred while processing item 4 defined on lines 88 - 88 in file sqlwep-uni.mof:
    Error Number: 0x8004100e, Facility: WMI
    Description: Invalid namespace
    Compiler returned error 0x8004100e
    Any suggestions?

    I think this can be fixed by parsing / registering the sqlmgmproviderxpsp2up mof file.
    Have a look here - http://blogs.msdn.com/echarran/archive/2006/01/03/509061.aspx
    Thanks, Leks
    That was the first thing I tried :)
    I've also tried this: http://social.msdn.microsoft.com/Forums/en/sqltools/thread/468b8484-2729-4a06-bfc3-efe54507dcb6
    and this: http://msmvps.com/blogs/martinpoon/archive/2009/11/27/sql-server-configuration-manager-cannot-connect-to-wmi-provider-invalid-class-0x80041010.aspx
    and that: http://www.nucleustechnologies.com/Repair-WMI-Services.php
    and some other stuff I could find.
    At least I've tried to repair Sql 2008 installation. But it also did not work.
    Lastly I've uninstalled all the instances and components related with sql. And I renamed the folders (C:\Program Files\Microsoft SQL Server and the hidden folder C:\ProgramData\Microsoft\Microsoft SQL Server) and made a clean install. Voila, it worked!
    But the "Sql Server Configuration Manager"s icon has gone somewhere :) Anyway it works fine now.
    I had to do that because I have a project to finish.
    Poor Microsoft!

  • SQL Server configuration manager is empty

    Hi.  I am getting a timeout when I try to start SQL Agent on my local machine.  I went to the Configuration Manager to investigate but the box is empty except for SQL Server Browser.  Shouldn't all of my services be listed here?  (Integration
    Services, SQL Agent, etc)?  I attached a screenshot for a reference.
    While I have this question opened, can someone help me with why I can't start SQL Agent?  I am getting a "timeout" error.  I've been able to start SQL Agent in the past.  The only thing I did was install SP2 for SQL Server 2012.
     Any ideas?
    Thanks!
    Craig

    Hi CBLEV,
    Please follow the steps in this
    blog to troubleshoot the issue that SQL Server Configuration Manager is missing services.
    When SQL Server Configuration Manager works properly, please start SQL Server Agent Service from it. If you still fail to start SQL Server Agent Service, for further analysis, please help to post the full error message from SQL Server ErrorLog and Windows Event
    log.
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • SQL Server Configuration Manager snap in not getting created by Microsoft Manager Console

    I just installed SQL Server 2008 Express with Advanced Services.  I want to enable FILESTREAM so I can install the AdventureWorks sample database.  The instructions at this page:  http://msdn.microsoft.com/en-us/library/cc645923.aspx say:
    On the Start menu, point to All Programs, point to Microsoft SQL Server 2008, point to Configuration Tools, and then click SQL Server Configuration Manager.
    When I open SQL Server Configuration Manager I get an error message:  "MMC could not create the snap in, the snap in might not have been installed correctly.  Name:  SQL Server Configuration Manager."  Then it gives me a CLSID.
    On this page:  http://msdn.microsoft.com/en-us/library/ms174212.aspx it says:  "Microsoft Management Console (mmc.exe) uses the SQLServerManager10.msc file in the Windows System32 folder to open SQL Server Configuration Manager."
    I looked in the System32 folder and, sure enough, the file SQLServerManager10.msc is in there.  It's XML inside the file.
    Please help.  I really need to get this SQL Server Configuration Manager working so I can enable FILESTREAM data and install the database.  I appreciate any help you can give.
    --goldenthroat

    I'd try this first; 
    Go to the Run from the Start menu and type mmc and press enter to open an empty console. Under the File menu select "Add/Remove Snap-in". Click "Add" under Console Root and select the "Microsoft SQL Enterprise Manager" snap-in. Close windows until you are back to the mmc, and you can rename the "console1.msc" to default name which is "SQL Server Enterprise Manager.MSC" and save it under C:\Program Files\Microsoft SQL Server\80\Tools\Binn (Default location of SQL Server 2000) - Obviously you want your 2008 installation folder and unfortunately I don't have it so I couldn't point you to it... http://weblogs.sqlteam.com/

  • How NOT to edit SSIS dtsx packages manually to change config filter in SQL Server configuration schema

    I have many packages that are using the package configuration with the following way:
    -ALL Packages have the XML configuration file that has only one proporty defined. The ConnectionString of the SQL Server connection that holds the configuration table for the rest of the properties
    -A SEPARATE SQL Server package configuration for
    each connection manager in the package. 
    -Finally an SQL Server configuration for all the properties that are specific to this package.
    I attach a pic of what i mean: Yellow is the XML config with the connectionstring, Blue the connectionamangers and purple the package specific.
    So with this setup  i can:
    -Change the xml file location and just point all the setup in another sql server or another database.
    - Or create different configuration filters in the same config table and try to go into the package and change the filter.
    With all the above the problem is that if i do anything from within VS, i am loosing the password in the connectionstring because i am not using the encrypt property. And i dont want to use it...
    What are my options? Just go in .dtsx with notepad and chage what i want BEFORE i open the package or before i deploy?
    Elias

    You are correct but:
    -I dont want to use EncryptSensitiveWithPassword, so:
    When i go to package configuration and try to change the ConfoigurationFilter to point to another setting then i am getting to the screen to select the property (connectionstring) and when i finish the DATABASE record for the setting is cleared from the
    Password= that i have put previously.
    So i short what i want:
    -No EncryptSensitiveWithPassword 
    -Being able to change configuration from within VS WITHOUT resetting the connectionstring string. 
    Elias
    Nope what you're asking is not possible
    There's certainly a purpose why each of things are given in the current format
    For design level settings you need to use connection manager properties and for it to persist values for someone other than creator to use you need to use protection level as EncryptSensitiveWithPassword 
    And for runtime settings you need to specify values in config which has to be editted from outside the package by editing dtsconfig file or using update query depending on whether config is stored in file/table. In both the cases you can identify password
    as a separate config item and modify its value from outside. That will work regardless of what you chose as protection level
    see
    http://blogs.msdn.com/b/runeetv/archive/2009/12/22/ssis-package-using-sql-authentication-and-dontsavesensitive-as-protectionlevel.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • No SQL Server Configuration Manager

    i have an instance of SQL on a 32bit Windows 2003 server, there is no configuration manager loaded, can I make the following changes with a command line?
    \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query
    Change the flag Hide Instance to No in SQL Server Configuration Manager→Protocols
    for MachineName\Microsoft##SSEE.
    Ensure that the SQL Server Browser service is running in SQL Server Configuration Manager→SQLServer
    2005 Services.
    Ensure that Named Pipes is enabled in SQL Server Configuration Manager→Protocols
    for MachineName\Microsoft##SSEE.

    SQL Server management STudio Express version is 9.00.2047.00
    Microsoft SQL Server Management Studio Express
    9.00.2047.00
    Microsoft Data Access Components (MDAC) 2000.086.3959.00 (srv03_sp2_rtm.070216-1710)
    Microsoft MSXML 2.6 3.0 4.0 5.0 6.0 
    Microsoft Internet Explorer 7.0.5730.11
    Microsoft .NET Framework 2.0.50727.3662
    Operating System 5.2.3790
    Seems you have just installed SQL Server management studio. You also have to install database engine component. Unless you install that you wont be able to connect. Browse
    this link and click on download when you click please download
    SQLEXPR.EXE. Install it and then you would be able to connect
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Broken dropdowns in SQL Server Configuration Manager

    I recently installed a new virtual VMWare machine for development purposes. The machine has Windows 8.1 (64 bit), Visual Studio 2013 and Microsoft SQL Server 2012 Standard Edition, all with latest updates.
    Today I wanted to create a new Alias in the SQL Server Configuration Manager. I have previously done this for MS SQL 2012 on Windows 7 32 bit and it was straight forward. But on Windows 8.1 I was unpleasantly surprised. All dropdowns in SQL Server Configuration
    Manager properties are broken - they are narrow and do not display any options. Here is a screenshot:
    I thought that only the Protocol dropdown is broken, but I noticed the same issue with other dropdowns, even for simple Yes/No values:
    I've heard from some people that some programs render broken on Windows 8 (one example was Office Live Meeting which has cropped configuration dialog) but haven't seen something like this before.
    I asked some of my work colleagues and two of them reported the same problem. In one case it's on Windows 7 64 bit, but this person says that some months ago he didn't have the issue. Maybe some Windows or SQL Server update broke it.
    If it matters, I'm running it on a virtual machine with 1366x768 resolution and DPI setting is on 100%.
    Somehow I managed to select values blindly using arrow keys and enter. This means the values are actually there but the dropdown does not render them at all. It feels so awkward to be unable to see what I'm selecting.
    Product versions are as follows:
    SQL Server Configuration Manager: 2011.0110.2100.060
    SQL Server: 11.0.3128.0
    What is wrong with these dropdowns and how do I fix them?

    Hi,
    I was able to reproduce this issue on my machine as well. It has SQL Server 2012 SP1 and Windows 8.1 installed.
    The issue happens when I add the SQL Server Configuration Manager as a snap-in to MMC.exe. It works fine if I launch the SQL Server Configuration Manager from the shortcut which installed by SQL Server in the Start Menu\Programs\Microsoft SQL Server 2012\Configuration
    Tools folder.
    To get around this, you need to launch the SQLServerManager11.msc in C:\Windows\SysWOW64 rather than C:\Windows\System32. Use the below command:
    MMC  %windir%\syswow64\SQLServerManager11.msc
    The issue has been reported on Microsoft Connect:
    https://connect.microsoft.com/SQLServer/feedback/details/747902/configuration-manager-snapin-dropdownlists-are-broken-empty-and-gray
    Sorry for the inconvenience you have experienced and thank you for your understanding and continued support.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Can't find SSL certificate in SQL server configuration manager?

    Hi 
    It's been 2 days and I need a help. I have visited a number of sites and I still can't make it work
    Two severs I have: Windows 2012 Standard with SQL 2008 R2 and SQL 2012 
    I am trying to set it up on SQL 2008 R2 right now. 
    I have a certificate from a CA and did the followings.
    1. Open MMC
    2. Add Certificates Snap-in as a computer account (In fact, I tried all the three accounts)
    3. Right click-on Personal folder and All taks and Import 
    4. Installed the certificate with Certificate import Wizard
    5. The certificate shows up under Personal/Certificates and Trusted Root Certification Authorities/Certificates
    I did this with a local administrator account as well as MSSQL account(SQL Server service account I created). Even though the server is part of domain, SQL server is set up with local accounts. 
    This is a simply summary. I tried everything in the article such as 'Create Custom Request'. 
    I am not sure what I am missing. Why can't I see the certificate in SQL Server configuration manager? 
    I even made MSSQL (service account) as administrator. Not working.  
    as I am not using the domain service account, I believe below is not relevant. 
    Missing detail on "Install a certificate in the Windows certificate store..."
    When following recommended security procedures and running SQL server under a domain service account, the service will fail to start after assigning a certificate to the protocols.  This is because the service account does not have permissions to read
    the private key.  Fix this in the Certificates MMC snap-in (preferably right after installing the certificate.)  Select the certificate you just imported, then in the Action menu select "Manage private keys."  Grant the domain service
    account read access to the private key of the server certificate.
    Below is the few of reference I looked at.. 
    https://support.microsoft.com/en-us/kb/316898/
    https://msdn.microsoft.com/en-us/library/ms191192(d=printer).aspx
    https://technet.microsoft.com/en-us/library/ms189067(v=sql.105).aspx
    http://www.mssqltips.com/sqlservertip/3299/how-to-configure-ssl-encryption-in-sql-
    http://blogs.msdn.com/b/sqlserverfaq/archive/2010/05/28/inf-permissions-required-for-sql-server-service-account-to-use-ssl-certificate.aspx

    Hi Dinesh 
    Thanks for the reply. 
    I did looked into the both sites as well. but it did not work. 
    Below is the step to install SQLs server certificate. and I was stuck with Step 9. when click 'next' in the wizard, I am not getting into a place to select 'computer' as certificate type. 
    Do you know what is wrong please? 
    Open the Microsoft Management Console (MMC): click Start, then click Run and in the Run dialog box type: MMC
    On the File menu, click Add/Remove Snap-in...
    Select Certificates, click Add.
    You are prompted to open the snap-in for your user account, the service account, or the computer account. Select the Computer Account.
    Select Local computer, and then click Finish.
    Click OK in the Add/Remove Snap-in dialog box.
    Click to select the Personal folder in the left-hand pane.
    Right-click in the right-hand pane, point to All Tasks, and then click Request New Certificate...
    Click Next in the Certificate Request Wizard dialog box. Select certificate type 'Computer'.
    You can enter a friendly name in text box if you want or leave it blank, then complete the wizard.
    Now you should see the certificate in the folder with the fully qualified computer domain name

  • Cannot set Start Mode using SQL Server Configuration Manager

    I have SQL Server 2012 Express installed on Windows 8.1 and am trying to change the Start Mode to Manual using SQL Server Configuration Manager. However, when I open the Properties dialog and use the drop-down for Start Mode on the Service tab the drop-down
    is inoperative. A "vertical bar" appears but no options.
    Is there some other way that I can change the Start Mode?

    I have SQL Server 2012 Express installed on Windows 8.1 and am trying to change the Start Mode to Manual using SQL Server Configuration Manager. However, when I open the Properties dialog and use the drop-down for Start Mode on the Service tab the drop-down
    is inoperative. A "vertical bar" appears but no options.
    Is there some other way that I can change the Start Mode?
    I have seen that on my laptop as well and it was due to display /resolution setting. Please see if that helps you. BTW, as already answered, services.msc is another way of changing it.
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • How to automate Sql Server Configuration Manager settings?

    For example, I have just installed Sql Express 2012, and need to configure it for use over the local network. Usually I just manually open Sql Server Configuration Manager -- Sql Server Network Configuration -- <myinstance>, and enable TCP/IP on 1433.However,
    I am not going to be available to do this on every customer's computer. I need to do these steps using a script or something. Is there a way to do this?

    Have a look at this stackexchange thread:
    http://stackoverflow.com/questions/9138172/enable-tcp-ip-remote-connections-to-sql-server-express-already-installed-databas
    There are two good options outlined there
    1. install it with the /TCPENABLED=1 switch (in the original post)
    2. Execute a wmi script post-install (in the answer)
    Note: if you decide to use WMI the root path will be \root\Microsoft\SqlServer\ComputerManagement11 for 2012 
    I will have to support install time, and post install. Does TCPENABLED=1 also setup the 1433 port value in TCP/IP Properties - IP Addresses tab?

Maybe you are looking for