2 Database Installation
2 Database Installation
2 Database Installation
Topic 2:
Planning to Install SQL Server
Week 2 – Learning Objectives
i) Processor
• Scaling up to more or faster processors allows SQL
Server to process queries more quickly.
• SQL Server can use up to 256 logical processors
when deployed on Windows Server Datacenter
Server.
• Standard Edition can support 4 physical CPUs, and
Enterprise can support 8 Physical processors.
• Workgroup Edition can support 2 physical CPUs,
and SQL Express can support 1 physical CPUs.
• Scaling out to multiple servers is generally
required for very large databases.
Hardware Installation Considerations
iii) Memory
• When your computer has sufficient
physical memory, SQL Server can store
more data in the memory cache.
• Having more data in the memory cache
allows SQL Server to process queries
against databases with large amounts of
data more efficiently.
• The transfer of requests and results across
the network can impact the throughput
and perceived performance of SQL Server.
• These network factors can affect the
performance of SQL Server.
SQL Server 2014 Editions
SQL Server comes in several editions:
– Standard Edition
Lacks the features required to scale up and
support very large databases, data
warehouses, and Web sites. Normally for a
small workgroups or departments.
– Enterprise Edition
Contains all of the features required to scale
the performance levels required to support
Web sites, OLTP, and OLAP
Selecting the Appropriate Operating
System
Windows Windows Windows Windows Windows
XP SP2 Vista/Windows Server Server 2003 Server
OS 7,8 2003 Small SP2 2008/2019/
Business Cloud
Server SP2
Editions
Enterprise No Yes Yes Yes Yes
Standard No Yes Yes Yes Yes
Business No No Yes Yes Yes
Intelligence
Licensing
– During installation,
SQL Server Setup
requires you to select
a licensing mode and
then to accept the
terms of the license
agreement.
– You have a choice of
two licensing modes:
per processor (core)
or per seat (user)
– Per seat (Server +
CAL)
– Per user (developer)
Please check URL: https://goo.gl/WGr87Q
Per Processor Licensing
• Autostart Services
– By default, SQL Server Setup installs the SQL
Server and Microsoft Search services to run
automatically when operating system is started.
– The benefit of starting services automatically is that
a system administrator does not have to log in to
start them each time operating system starts.
Using Named and Multiple Instances of
SQL Server
• Default Instance
– is identified by the network name of the computer on which
it is running.
– Only one default instance is permitted.
• Named Instance
– is identified by the network name of the computer on which
it is running, plus an instance name
– Applications must use SQL Server client components to
connect to a named instance.
– A computer can run up to 50 named instances
concurrently.
• Multiple Instances
– Multiple instances occur when you have both a default
instance and one or more named instances installed
concurrently.
– Each instance operates independently on the same
computer.
Selecting a Security Mechanism
» For a default instance, the format is net start mssqlserver, net pause
mssqlserver, or net stop sqlserveragent.
» For named instances of a SQL Server service, you must specify it by
using the format, net start mssql$instancename.
Verifying the Installation
------------------------------
SQL Server Setup has encountered an error when running a Windows Installer file.
Windows Installer error message: The system cannot find the file specified.
Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and
continue setup
Troubleshooting
Find the root cause of the failure: