SQL Server 2008/2012: Database Administrator Class 1
SQL Server 2008/2012: Database Administrator Class 1
SQL Server
2008/2012
Database Administrator
Class 1
Jay Liu
E: [email protected] C: 647-833-5887
1
SQL-DBA-Hands-on C1
Class 1 - (4 hrs)
1.1. Introduction
1.2. Business Requirements
1.3. Analysis and Technical Understanding
1.4. Environment Requirements and Setup
2
SQL-DBA-Hands-on C1
4
SQL-DBA-Hands-on C1
5
SQL-DBA-Hands-on C1
6
SQL-DBA-Hands-on C1
7
SQL-DBA-Hands-on C1
8
SQL-DBA-Hands-on C1
9
SQL-DBA-Hands-on C1
10
SQL-DBA-Hands-on C1
11
SQL-DBA-Hands-on C1
12
SQL-DBA-Hands-on C1
13
SQL-DBA-Hands-on C1
14
SQL-DBA-Hands-on C1
15
SQL-DBA-Hands-on C1
Database Environment:
For testing and verification purpose, the rehearsal environment
is required to be created under 2008, and then upgrade to 2012.
The current OLTP database system consists of two databases,
Orders, and Products.
The Orders database holds information of online and/or offline
ordering records. It is a highly active database, with at least
300 orders entered per hour.
The Products database has pricing information for all products
the company sells. A copy of this database will be located in
the Seattle branch office, people there should be able to make
any new changes themselves, and the updates between the
branch in Seattle and the head office must be in sync.
16
SQL-DBA-Hands-on C1
Data Import:
Orders data files are text formatted and nightly transferred to
the database server, and loaded into the SQL Server database
manually by the database operators in the coming morning.
This should be automated after the upgrade.
Products information is usually imported by loading the files
transferred from the host data warehouse, updated in the
Products database to keep it up-to-date in daily basis.
Backup:
All databases have backup strategy for backing up the data in
nightly basis. This needs to be changed to avoid any data lose
happened few months ago when a hard drive failed and all
orders on that day were lost.
17
SQL-DBA-Hands-on C1
Reporting:
Currently, the reporting team creates their reports directly
against the production databases, and it frequently causes the
performance impact to the Order Provisioning and the Billing
applications. With the upgrade to the new environment, this
issue must be fixed.
Reports are exactly real-timing and almost request the
synchronized results as production no later than 10 minutes,
and the new databases should allow users to run any reports at
any time. Some reports are running at very low performance
right now, and those reports need to be promoted to work
faster. Major reports are combining Orders and Products
information and generating the associated results, such as order
details for each product on the running day.
18
SQL-DBA-Hands-on C1
19
SQL-DBA-Hands-on C1
20
SQL-DBA-Hands-on C1
21
SQL-DBA-Hands-on C1
22
SQL-DBA-Hands-on C1
23
SQL-DBA-Hands-on C1
4. Copying data.
- Case 14
5. Designing new backup strategies.
- Case 7, 8
6. Creating logins/users groups to reorganize.
and better control the permission and access.
- Case 9, 10
24
SQL-DBA-Hands-on C1
25
SQL-DBA-Hands-on C1
26
SQL-DBA-Hands-on C1
27
SQL-DBA-Hands-on C1
28
SQL-DBA-Hands-on C1
29
SQL-DBA-Hands-on C1
Class 1 - (4 hrs)
1.1. Introduction of SQL Server DBA Hands-on Course
1.2. Business Requirements
1.3. Analysis & Technical Understanding
1.4. Environment Requirements and Setup
Class 2 – (4 hrs)
2.1. Planning SQL Server 2008 Instances
2.2. Installing SQL Server 2008 Instances
- PROD Instance1/Clustered
- PROD Instance2/Clustered
2.3. Patch SQL Server PROD Instances (Apply Service Pack)
30
SQL-DBA-Hands-on C1
Class 3 – (4 hrs)
3.1. Install SQL Server instances on DR VM
- DR/Standalone
- RPT/Standalone
3.2. Patch DR instances (DR, RPT)
3.3. Finalizing SQL Server Installation (Post-Configuration)
3.4. Looking into SQL Server
- Services, Instance structure, Databases, SSMS
Class 4 – (4 hrs)
4.1. Creating and Configuring Databases
4.2. Database Maintenance
4.3. Creating and Maintaining Database Objects
4.4. Recovering Databases
31
SQL-DBA-Hands-on C1
Class 5 – (4 hrs)
5.1. High Availability Solutions
5.2. Database Mirroring
5.3. Replication
5.4. Log Shipping
Class 6 – (4 hrs)
6.1. Standing up SQL Server 2012
6.2. Planning Migration
6.3. Implementing Upgrade
6.4. Post-Configuring
Class 7 – (4 hrs)
7.1. SQL Server Security
7.2. DBA Scripting (1)
32
SQL-DBA-Hands-on C1
Class 8 – (4 hrs)
8.1. More Database Maintenance Tasks
8.2. DBA Scripting (2)
Class 9 – (4 hrs)
9.1. Performance Tuning
9.2. DBA Scripting (3)
Class 10 – (4 hrs)
10.1. BI Basics – SSIS, SSRS, SSAS
10.2. BIDS and SSDT
10.3. Managing SSIS Packages
10.4. Maintaining SSRS Reports
10.5. About SSAS
33
SQL-DBA-Hands-on C1
34
SQL-DBA-Hands-on C1
35
SQL-DBA-Hands-on C1
36
SQ-DBA-Hands-on C1
37
SQL-DBA-Hands-on C1
38
SQL-DBA-Hands-on C1
39
SQL-DBA-Hands-on C1
40
SQL-DBA-Hands-on C1
41
SQL-DBA-Hands-on C1
Click Next
42
SQL-DBA-Hands-on C1
Choose [Typical]
43
SQL-DBA-Hands-on C1
Click Next
44
SQL-DBA-Hands-on C1
45
SQL-DBA-Hands-on C1
46
SQL-DBA-Hands-on C1
Click Next
47
SQL-DBA-Hands-on C1
48
SQL-DBA-Hands-on C1
Installation is in progress
49
SQL-DBA-Hands-on C1
50
SQL-DBA-Hands-on C1
51
SQL-DBA-Hands-on C1
52
SQL-DBA-Hands-on C1
Installation is finished
53
SQL-DBA-Hands-on C1
54
SQL-DBA-Hands-on C1
55
SQL-DBA-Hands-on C1
56
SQL-DBA-Hands-on C1
57
SQL-DBA-Hands-on C1
58
SQL-DBA-Hands-on C1
59
SQL-DBA-Hands-on C1
60
SQL-DBA-Hands-on C1
Note, if your hard disk drive is not D:, you can then use
notepad to open .vmx file under each VM’s folder, and
change the description of each disk from D: to C:, or
follow the steps from the instructor.
This is important before moving to the next step to
open the VMs, otherwise the VMs cannot be loaded
properly, as the physical device is different than their
config file (.vmx), so it must be fixed before VMWare
can open the VM and locate the disk files correctly.
61
SQL-DBA-Hands-on C1
62
SQL-DBA-Hands-on C1
63
SQL-DBA-Hands-on C1
64
SQL-DBA-Hands-on C1
65
SQL-DBA-Hands-on C1
66
SQL-DBA-Hands-on C1
67
SQL-DBA-Hands-on C1
Note, that we did not go through all detailed steps to build the
whole thing from foundation, but we will discuss about the
concepts briefly in the class, so that you get the basic ideas of
how those VMs are created and configured.
68
SQL-DBA-Hands-on C1
Q&A
69