Quantcast
Channel: SQL Server Setup & Upgrade Forum
Viewing all 7701 articles
Browse latest View live

Ideal disk setup for MDFs, LDFs, TempDB, and cube files?

$
0
0

I'm about to build an enterprise SQL Server that will run both OLTP and our data warehouse (OLAP).  What is the proper disk setup for data files, please?  Is it something like:

  • 1 for MDFs
  • 1 for LDFs
  • 1 for TempDB
  • 1 for OLAP files

Or something close to that?

Thanks for any guidance.


Upgrade SQL server to increase processing speed

$
0
0
I have connected SQL server to my web service and currently the number of records being processed by a particular table has increased on a large scale. As a result of deleting and inserting into this table, the performance has gone down. Are there any suggestions on how existing SQL server can be updated to increase the performance? Currently im using SQL server Enterprise edition 2012. Only a single server is been used with no replications. Please advice.

mayooran99

MS SQL Express Fails to Install

$
0
0

Hi

I am trying to install Symantec Backup Exec 2014 but it fails at the point of trying to install SQL Express.

I can't see anything in the log that points me to a solution.  I was thinking of asking on the Symantec forums but as it is MSSQL failing I figure here may be a better place.

Any help greatly appreciated.

Thanks

Overall summary:
  Final result:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
  Exit code (Decimal):           -2068578304
  Exit facility code:            1204
  Exit error code:               0
  Exit message:                  InstanceDir
  Start time:                    2015-01-05 12:39:31
  End time:                      2015-01-05 12:40:31
  Requested action:              Install

Machine Properties:
  Machine name:                  OHE01
  Machine processor count:       1
  OS version:                    Windows Server 2008 R2
  OS service pack:               Service Pack 1
  OS region:                     United Kingdom
  OS language:                   English (United States)
  OS architecture:               x64
  Process architecture:          32 Bit
  OS clustered:                  No

Product features discovered:
  Product              Instance             Instance ID                    Feature                                  Language             Edition              Version         Clustered
  Sql Server 2008 R2   BKUPEXEC             MSSQL10_50.BKUPEXEC            Database Engine Services                 1033                                      10.52.4000.0    No       
  Sql Server 2008 R2   BKUPEXEC             MSSQL10_50.BKUPEXEC            SQL Server Replication                   1033                                      10.52.4000.0    No       

Package properties:
  Description:                   SQL Server Database Services 2008 R2
  ProductName:                   SQL Server 2008 R2
  Type:                          RTM
  Version:                       10
  Installation location:         d:\3b419af9500049f8e422aecf\x86\setup\
  Installation edition:          Invalid

  Slipstream:                    True
  SP Level                       2

User Input Settings:
  ACTION:                        Install
  ADDCURRENTUSERASSQLADMIN:      True
  AGTSVCACCOUNT:                 <empty>
  AGTSVCPASSWORD:                *****
  AGTSVCSTARTUPTYPE:             Manual
  ASBACKUPDIR:                   Backup
  ASCOLLATION:                   Latin1_General_CI_AS
  ASCONFIGDIR:                   Config
  ASDATADIR:                     Data
  ASDOMAINGROUP:                 <empty>
  ASLOGDIR:                      Log
  ASPROVIDERMSOLAP:              1
  ASSVCACCOUNT:                  <empty>
  ASSVCPASSWORD:                 *****
  ASSVCSTARTUPTYPE:              Automatic
  ASSYSADMINACCOUNTS:            <empty>
  ASTEMPDIR:                     Temp
  BROWSERSVCSTARTUPTYPE:         Disabled
  CONFIGURATIONFILE:            
  CUSOURCE:                     
  ENABLERANU:                    False
  ENU:                           True
  ERRORREPORTING:                False
  FARMACCOUNT:                   <empty>
  FARMADMINPORT:                 0
  FARMPASSWORD:                  *****
  FEATURES:                     
  FILESTREAMLEVEL:               0
  FILESTREAMSHARENAME:           <empty>
  FTSVCACCOUNT:                  <empty>
  FTSVCPASSWORD:                 *****
  HELP:                          False
  INDICATEPROGRESS:              False
  INSTALLSHAREDDIR:              C:\Program Files (x86)\Microsoft SQL Server\
  INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
  INSTALLSQLDATADIR:             <empty>
  INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server
  INSTANCEID:                    BKUPEXEC
  INSTANCENAME:                  BKUPEXEC
  ISSVCACCOUNT:                  NT AUTHORITY\NetworkService
  ISSVCPASSWORD:                 *****
  ISSVCSTARTUPTYPE:              Automatic
  NPENABLED:                     0
  PASSPHRASE:                    *****
  PCUSOURCE:                     d:\3b419af9500049f8e422aecf\PCUSOURCE
  PID:                           *****
  QUIET:                         True
  QUIETSIMPLE:                   False
  ROLE:                          AllFeatures_WithDefaults
  RSINSTALLMODE:                 FilesOnlyMode
  RSSVCACCOUNT:                  NT AUTHORITY\NETWORK SERVICE
  RSSVCPASSWORD:                 *****
  RSSVCSTARTUPTYPE:              Automatic
  SAPWD:                         *****
  SECURITYMODE:                  <empty>
  SQLBACKUPDIR:                  <empty>
  SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
  SQLSVCACCOUNT:                 NT AUTHORITY\SYSTEM
  SQLSVCPASSWORD:                *****
  SQLSVCSTARTUPTYPE:             Automatic
  SQLSYSADMINACCOUNTS:           BUILTIN\ADMINISTRATORS
  SQLTEMPDBDIR:                  <empty>
  SQLTEMPDBLOGDIR:               <empty>
  SQLUSERDBDIR:                  <empty>
  SQLUSERDBLOGDIR:               <empty>
  SQMREPORTING:                  False
  TCPENABLED:                    1
  UIMODE:                        AutoAdvance
  X86:                           False

  Configuration file:            C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\20150105_123804\ConfigurationFile.ini

Detailed results:

Rules with failures:

Global rules:

Scenario specific rules:

Rules report file:               C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\20150105_123804\SystemConfigurationCheck_Report.htm

Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented

Exception type: Microsoft.SqlServer.Chainer.Infrastructure.InputSettingValidationException
    Message:
        InstanceDir
    Data:
      SQL.Setup.FailureCategory = InputSettingValidationFailure
      DisableWatson = true
    Stack:
        at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.LogAllValidationErrorsAndThrowFirstOne(ValidationState vs)
        at Microsoft.SqlServer.Configuration.SetupExtension.ValidateFeatureSettingsAction.ExecuteAction(String actionId)
        at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
        at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)

Performance issue after upgrading to SQL Server 2014 is anything changed with optimizer logic

$
0
0

Hi Team,

We have upgrade our SQL server from SQL 2008 active passive cluster to SQL 2014 Always on (Side by side upgrade). After Upgrade we had serious performance issues. The proc which was taking less than 10 seconds started taking hours and never completing. We suspected infra issue, checked with infra team all was good. Checked sql config didn't find anything weird. After doing lot of R&D and trial n error we changed the database compatibility mode from SQL 2014 to SQL 2012 same proc started running in seconds.

Can you please confirm if anything has changed in SQL 2014 as this seems to be bug to us. I can provide more details if required?

Thanks-Abhijit

error on install: Performance counter registry hive consistency check - Status:Failed

$
0
0

Hi, I'm tryng to install sql server 2008 in win vista and in the System Configuration Check, item: Performance counter registry hive consistency check has the status FAILED  all the others items has PASSED and the setup stops here theonly option is CANCEL. Thus anyone knows the possible problem and resolution to this?

 

best regards

Another installation is already in progress. Complete that installation before proceeding with this install

$
0
0

I am trying to install Avg antivirus free 2015 (64 bit).

I get this message: Another installation is already in progress. Complete that installation before proceeding with this install

There is no installation in progress. I had rebooted the server and nothing. I keep getting the same error.

I try to uninstall and I get the message too!

I am sure nothing is in progress...

How do I clean the "installation is already in progress" status?

SQL 2012 enterprise service pack 2 fails to install

$
0
0

Hi,

I have installed SQL 2012 sp2 x64 onto the main service manager 2012 database, but it fails on the datawarehouse SQL server. Both are going from SP1 to SP2. Servers are running windows server 2012 sp1 x64.

On the datawarehouse server it gets so far and then just displays a message of completed, with all the other fields blank.

The text file for the Summary of the installation has been copied below:

 

Overall summary:
  Final result:                  The patch installer has failed to update the following instance: MSSQLSERVER. To determine the reason for failure, review the log files.
  Exit code (Decimal):           -2068709375
  Start time:                    2015-01-09 13:55:32
  End time:                      2015-01-09 14:04:09
  Requested action:              Patch

Instance MSSQLSERVER overall summary:
  Final result:                  The patch installer has failed to update the shared features. To determine the reason for failure, review the log files.
  Exit code (Decimal):           -2068709375
  Exit facility code:            1202
  Exit error code:               1
  Exit message:                  The NT service 'MSSQLServerOLAPService' could not be stopped.
  Start time:                    2015-01-09 14:00:18
  End time:                      2015-01-09 14:04:01
  Requested action:              Patch
  Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.5058.0&EvtType=0xAC454CB1%400xF762992B%401202%401&EvtType=0xAC454CB1%400xF762992B%401202%401

Machine Properties:
  Machine name:                  SCSDWM01
  Machine processor count:       4
  OS version:                    Future Windows Version
  OS service pack:              
  OS region:                     United Kingdom
  OS language:                   English (United States)
  OS architecture:               x64
  Process architecture:          64 Bit
  OS clustered:                  No

Product features discovered:
  Product              Instance             Instance ID                    Feature                                  Language             Edition              Version         Clustered  Configured
  SQL Server 2012      MSSQLSERVER          MSSQL11.MSSQLSERVER            Database Engine Services                 1033                 Enterprise Edition   11.1.3153.0     No         Yes      
  SQL Server 2012      MSSQLSERVER          MSSQL11.MSSQLSERVER            Full-Text and Semantic Extractions for Search 1033                 Enterprise Edition   11.1.3000.0     No         Yes      
  SQL Server 2012      MSSQLSERVER          MSAS11.MSSQLSERVER             Analysis Services                        1033                 Enterprise Edition   11.1.3130.0     No         Yes      
  SQL Server 2012      MSSQLSERVER          MSRS11.MSSQLSERVER             Reporting Services - Native              1033                 Enterprise Edition   11.1.3153.0     No         Yes      
  SQL Server 2012                                                          Management Tools - Basic                 1033                 Enterprise Edition   11.1.3153.0     No         Yes      
  SQL Server 2012                                                          Management Tools - Complete              1033                 Enterprise Edition   11.1.3130.0     No         Yes      
  SQL Server 2012                                                          SQL Server Data Tools - Business Intelligence for Visual Studio 2012 1033                                      11.1.3402.0     No         Yes      
  SQL Server 2012                                                          Integration Services                     1033                 Enterprise Edition   11.1.3153.0     No         Yes      

Package properties:
  Description:                   Microsoft SQL Server 2012
  ProductName:                   SQL Server 2012
  Type:                          RTM
  Version:                       11
  SPLevel:                       2
  KBArticle:                     KB2958429
  KBArticleHyperlink:           http://support.microsoft.com/?kbid=2958429
  PatchType:                     SP
  AssociatedHotfixBuild:         0
  Platform:                      x64
  PatchLevel:                    11.2.5058.0
  ProductVersion:                11.0.2100.60
  GDRReservedRange:              11.0.5300.0:11.0.5499.0
  PackageName:                   SQLServer2012-KB2958429-x64.exe
  Installation location:         c:\ce370c3d01e3ec4095540d8578cc7e\x64\setup\

Updated product edition:
  Instance             Edition            
  MSSQLSERVER          Enterprise         

User Input Settings:
  ACTION:                        Patch
  ALLINSTANCES:                  false
  CLUSTERPASSIVE:                false
  CONFIGURATIONFILE:            
  ENU:                           false
  HELP:                          false
  IACCEPTSQLSERVERLICENSETERMS:  true
  INDICATEPROGRESS:              false
  INSTANCEID:                    <empty>
  INSTANCENAME:                  <empty>
  QUIET:                         false
  QUIETSIMPLE:                   false
  SQMREPORTING:                  false
  UIMODE:                        Normal
  X86:                           false

Rules with failures:

Global rules:

There are no scenario-specific rules.

Rules report file:               C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20150109_135509\SystemConfigurationCheck_Report.htm

Any ideas on why this has happened and how to fix the error?

Thanks.


Jaz

SQL 2014 RTM and Sql 2008r2 standard side by side installation ..

$
0
0
We are planning on reconfiguring our database server and then installing SQL 2008 R2 Standard edition in a side by side installation with SQL 2014 RTM. I have researched a little, and have not seen any major issues when planning this type of configuration. Are there any issues that may occur with this?

2008 R2 will be in the default instance, and 2014 will be using a named instance. We do foresee uninstalling 2008 R2 after a period of time, and moving all of our databases to 2014 after testing has been performed. Once we uninstall 2008 R2, will we be able to install a default instance of 2014? Are there any special steps that need to be taken to do that?

Upgrade SQL From the SQL Server 2000 to SQL Server 2008

$
0
0

hello:

I am running the following query. This query is based on SQL server 2008. POIShare is a view which is created by the table.
"select PoiShare.AddressCode,REPLACE(PoiShare.NameSpell,' ','') as NameSpell,PoiShareOffset.Offset from PoiShare, PoiShareOffset where POIShare.AddressCode & 0xFF000000 = %COUNTRY_ADCODE% and PoiShare.POIID = PoiShareOffset.POIID order by PoiShare.AddressCode,PoiShare.NameSpell"
I'm getting the following result.
3188785409"папа,мама,я"791241
318878540901кафе0
31887854090075767272
318878540903 4790808
318878540902lounge19
318878540903аптека4791813
318878540903аптека4791805
318878540901сервис1246782

"PoiShare.NameSpell" is not sorted. I try to solve this problem.but It doesn't work.
I tried some ways.
1.Sort all of the field
2.Using "COLLATE Cyrillic_General_CI_AI_KS_WS" to "NameSpell"
3.Create index  for "NameSpell"
4.Using "cast(replace(PoiShare.NameSpell,',','') as bigint)",But SQL returned an error
5.Install SQL SP1

any help is greatly appreciated.

CU5 update SQL Server 2012

$
0
0

I have recently updated the SQL2012 server with the CU5 update due to an error.

The description for Event ID 17053 from source MSSQLSERVER

System Health Monitor Thread

Exception 0x1

The CU5 update was supposed to top this error appearing in the event logs however it is still there after the update.

I have rebooted the server and still receive the error?

Question : Service Accounts for SQL Server 2012

$
0
0

Hello,

I am planning to create AD accounts for SQL Server 2012 services that will be installed on Windows 2012 server.

I was reading the following

Configure Windows Service Accounts and Permissions

and

Windows Privileges and Rights

Is there a recommendation / document that would list that assocation of SQL Server Services with Actvie Directory service accounts / privileges required for installation and starting the services.

Isn't it recommended to create separate account for every service and they should not be local accounts ?

Hope to hear soon as to what industry standards are being followed for production systems ?

Thank you very much in advance.

Regards

Nikunj

Upgrading leaves the old version installed. Why and can I get rid of it?

$
0
0

I had SQL Server 2008 R2 installed on a Win7 box, and upgraded it to SQL Server 2014. All seems to have gone well, but in the programs menu I can see that SSMS 2008 R2 is still installed. For some reason, I seem to have SQL Server 2012 installed as well, which is clever as I never installed it! I don't know if this came with SQL Server 2014, but I now seem to havethree versions of SQL Server installed!

Is there any reason why the old versions weren't uninstalled? Surely once I've upgraded, I don't need all the old stuff. Can I safely uninstall anything related to 2008 R2 and 2012, or will this cause problems?

Thanks


FREE custom controls for Lightswitch! A collection of useful controls for Lightswitch developers (Silverlight client only). Download from the Visual Studio Gallery.

If you're really bored, you could read about my experiments with .NET and some of Microsoft's newer technologies athttp://dotnetwhatnot.pixata.co.uk/

installation of sql server

$
0
0

i purchase sql server 2008 r2 standard for small business and windows server 2008 r2 when i install sql server 2008  it give this massage:

(operating system supported for edition failed)

Sql Server 2008 - problems after incorrect installation of SSIS component

$
0
0

During the addition of SSIS component to an existing installation of Sql Server 2008 the setup has been made using Sql Server 2008 R2 media.

Now SSMS shows the following error during the connection to the instance :

Method not found: 'Int32.Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain.GetLogicalVersion()'

I've tried to remove R2 components and to repair the existing 2008 installation.

At the moment 2008 R2 Native client and Setup are still present in the list of Programs and Features.

From previous comments I understand this method is in a Sql Server 2008 R2 assembly, so it seems that SSMS is running as R2 but is using 2008 libraries.

How can I correct this ?

Thanks.

SQL Server 2012 setup stops going to next window after Server Configuration Tab

$
0
0

SQL Server 2012 setup stops going to next window with a Please Wait being seen for hours together. 

I don't see anything being logged in the event viewer.

Can someone help me on this please.


Adarsh


When installing SQL Server is there a benefit to overriding the defaults for the Shared Feature Directory?

$
0
0

When installing SQL Server under feature selection you are given the option to change the Shared feature directories. When you choose to change from the default OS drive it seems that the installation process still installs a large amount of files on the OS drive and then additional files under a similar drive structure on the alternative drive. Is there any real benefit to changing the default location?

Additional is there benefit to changing the default location for the installed features, database engine etc. We are trying to create some clean templates that we can bring up in our production environment so we are provisioning separate drives for data, logs, backups, tempdbs but as we use the prepare image it seems like splitting the installation of sql server into two separate locations to safe minimally on file space seems counterproductive.

I have searched for best practices and this area seems glossed over in most articles, I found a few that indicate later installation of features on a machine that use a non-standard shared component drive has caused issues. I would like to know there are  benefits to taking such actions.

Thanks in advance,

Dirk



Can you upgrade a sql 2012 AOG group to 2014

$
0
0

Hi I was
wondering if anyone could tell me if you can upgrade a SQL 2012 AOG group
to SQL 2014.  If so could you point me to a good source of info to
research this.  My thoughts are if I can do this<o:p></o:p>

1. Install new SQL 2014 Bring into AOG<o:p></o:p>

2 remove one of the old Servers and do a complete reinstall to SQL 2014 add back to
the group<o:p></o:p>

3 remove last SQL server from group.<o:p></o:p>

<o:p> </o:p>

The thing I can't seem to find is if I can even do it. Any advise<o:p></o:p>


 

Installation Problem

$
0
0

I try to install on windows 7 ultimate the "SQL Express w SP4" and after the initial progress and when I get to the point were its time to install "SQL Native Client" I get the following message ...." an installation package for the product Microsoft SQL Server Native Client van not be found. Try the installation again using a valid copy of the installation package 'sqlncli.msi'"

The instalation package was downloaded from Microsoft site!!!!!

what do I need to do to overcome this???????

Microsoft SQL Server Express LocalDB / Windows Azure Powershell install fail - SQL writer failed to start

$
0
0

I'm trying to install Windows Azure PowerShell on my Windows 7 SP1 Enterprise laptop. As a prerequisite, it needs to install Microsoft SQL Server 2012 Express LocalDB, I but keep receiving an error:

Service 'SQL Server VSS Writer' (SQLWriter) failed to start. Verify that you have
sufficient privileges to start system services.

The service that it tries to use by default is the Local Service. I verified that it has log on as a service privileges and even did a restart. Same error.

any ideas?

Cross posted in Windows Azure

Memory Running High

$
0
0

Hi all,

I've been given a SQL Server instance to use in development. Nobody is using the server at all apart from me. What I am seeing is that it is using a heck of a lot of memory resource - just over 2GB - at all times, regadless of whether or not I am using it. This seems like much more than it should be using at this level of activity, and it feels like the server is slow and unresponsive when I log into it through remote desktop, although to be fair, network lag might be a factor. Is it something I should ask the corporate DBA to take a look at or is it basically to be expected?

Details of the setup are as follows:

It's a brand new instance on what I am pretty sure is a virtual server. 4GB RAM, Intel Xeon processor (2.7GHz), running on Windows Server 2008 R2 standard, Service Pack 1 (64GB). There's no pressure on disc space, and no other processes - apart from SQL Server - are using a surprising amount of RAM.

SQL Server 2012 (version 11.0.2100.60)

There are 4 databases (other than system). Three of the databases are empty and the other has 44GB of data in it and about 1MB of log files (I don't need any fancy restore capability for what I'm doing)

As I write there are about a dozen processes running in activity monitor, but none of them - apart from the one representing the activity monitor itself - is actually doing anything. 

Minimum memory is set at 0MB, maximum to 2,147,483,647MB

Thanks

Colin

Viewing all 7701 articles
Browse latest View live