Professional Documents
Culture Documents
IT-242
Birkinesh
Content
views
across a network
To create databases
To maintain databases
To analyze the data through SQL Server Analysis
Services (SSAS)
To generate reports through SQL Server Reporting
Services (SSRS)
To carry out ETL operations through SQL Server
1. Default
2. Named
Server
Default instance will take the server name as Instance
name
Default instance service name is MSSQLSERVER
No of instances varies according to the version
Ex. 16 instances in 2000 version, and 50 instances will
environments separately
To reduce temporary database problems
To separate security privileges
To maintain standby server
Power supply 1
To maintain high availability in stand
alone system
Operating system
LAN 2
is high availability
How do we make sure our server is available
Cluster Based- Installation
Operating system doesn’t have redundancy in a single
server system
A high availability cluster(HA cluster) is a group of a
system
Cluster Based- Installation
Server A Server B
1.2.3.4
LAN 1 Teaming LAN 1 Teaming
/Bonding /Bonding
LAN 2 LAN 2
◦ OS
◦ RAM
◦ Storage
Installation Analysis
Analyze your device
Click on mycomputer
Select properties
See the operating system, memory, cpu and bits
Click on explorer
Select your server capacity or computer capacity
You can check details in device managers
Analyze the installed software
requirement
Go to internet and type SQL server download
Type the hardware and software requirement of specific
SSIS, SSRS
Named instance name
Location for system, user databases
Authentication mode
computer access
If I give windows authentication all users should access the sql server
Policy enable should be ON
It includes expiration period, size limitation, change user name,
capitals and so on
Utilities – stop and start automatically,
How to give windows level or server
level access
Click on security
Right click on log in
Set username and password
Give windows level or server level authentication
System Requirements for SQL
1. Hardware
Laptop or desktop
2. Software
SQL Server and SQL Management Studio
successful installation
When it finishes click connect now, it will give you the version name which indicates the
SELECT@@ServerName
SQL Server System Databases
What are the available software and databases when
you install software
1. Master database
2. MSDB- all files
3. Model- Template
4. RDB – Resource DB all system level objects
5. Tempdb – Transaction files
6. Configure Distribution
SQL Server System Databases
Master- the database that all of the system level
information for SQL server system
◦ It will reveal all databases, who log in a system
Model : the template for all databases that are created
on the instance of SQL server
SQL Server System Databases
Msdb: the database used by SQL Server Agent for
scheduling alerts and jobs, and for recording operators.
To remember what and when the database is backup,
Msdb also contains history tables such as the backup
commands
◦ SELECT name, database_id, create_date FROM sys.databases
Use master will change it to master database
Use model will change it to model database
How to start SQL server
Click on database
All of them are objects
Click on new
Type database name
Click ok, two files will be created automatically
Click refresh to get the created file
In new files there are many objects
Database Files
When you create any database , the two data files will
be created
Primary data and Secondary data files
Primary data file is the starting point of the database