Answer Database Lab: Performing Maintenance

8
Lab Lab: Task 1: 1. with 2. In the Run 3. Click for Task 2: 1. Start 2. Open 3. Select 4. Select 5. Select in the Answer Database Performing Maintenance Exercise Prepare Ensure are both running, ADVENTUREWORKS\Student the D: then click as Yes file, and wait the Check SQL database engine instance the folder. the Execute. This checks the Execute. This checks the . This checks consistency errors dbo. minimum Lab Answer Key: Module 11: Performing Ongoing Database Maintenance https://skillpipe.courseware-marketplace.com/reader/fr-FR/Book/Book... 1 of 8 26/09/2016 16:04

Transcript of Answer Database Lab: Performing Maintenance

Page 1: Answer Database Lab: Performing Maintenance

Lab

Lab:

Task 1:

1.

with

2. In the

Run

3. Click

for

Task 2:

1. Start

2. Open

3. Select

4. Select

5. Select

in the

Answer Database

Performing Maintenance

Exercise

Prepare

Ensure are both

running, ADVENTUREWORKS\Student

the

D: then click

as

Yes file, and wait

the

Check

SQL database engine

instance

the folder.

the Execute. This

checks

the Execute. This

checks

the . This

checks consistency errors

dbo. minimum

Lab Answer Key: Module 11: Performing Ongoing Database Maintenance https://skillpipe.courseware-marketplace.com/reader/fr-FR/Book/Book...

1 of 8 26/09/2016 16:04

Page 2: Answer Database Lab: Performing Maintenance

repair

Task 3:

1. In

Task 1:

1. In

D:

2. Select

3. In the

Task 2:

1. In

code

level

Repair

SQL select the code

under the the

InternetSales

2. Select the and click

Execute structure is now

consistent.

Result: After command tocheck database

Exercise

View

SQL script file in the

\Labfiles\Lab11\Solution

the Execute.

results,

avg_fragmentation_in_percent

Defragment

SQL select the

under rebuilds the

indexes

Lab Answer Key: Module 11: Performing Ongoing Database Maintenance https://skillpipe.courseware-marketplace.com/reader/fr-FR/Book/Book...

2 of 8 26/09/2016 16:04

Page 3: Answer Database Lab: Performing Maintenance

2. Select

3. In the

Task 1:

1. In

Plans

2. In the

3. In the

4. In the

drop

and

5. In the

Tasks

o

o

o

o

6. On

the Execute.

results,

avg_fragmentation_in_percent

Result: After

Exercise

Create

Object Maintenance

,

Maintenance

Select HumanResources

Maintenance

New the Occurs

down to 6:00 PM,

click

Select Maintenance

page,

Check

Reorganize

Update

Back

the

Lab Answer Key: Module 11: Performing Ongoing Database Maintenance https://skillpipe.courseware-marketplace.com/reader/fr-FR/Book/Book...

3 of 8 26/09/2016 16:04

Page 4: Answer Database Lab: Performing Maintenance

7. On

8. On

click

9. On

click

10. On

for

11. On is

12. On

Task 2:

the HumanResources

database

the database and

OK

the database and

OK

the HumanResources

database backup file

every click Next.

the file

selected, Next.

the has

completed,

Run

Lab Answer Key: Module 11: Performing Ongoing Database Maintenance https://skillpipe.courseware-marketplace.com/reader/fr-FR/Book/Book...

4 of 8 26/09/2016 16:04

Page 5: Answer Database Lab: Performing Maintenance

1. In

2. Wait

Object HumanResources

Maintenance

a

Maintenance HumanResources

Maintenance

3. In the Log the Daily

Maintenance

4. Keep clicking completed.

Then click

5. In the D:

Maintenance_Subplan_1_

6. In the R: database has

been created.

Result: After maintenanceplan.

Lab Answer Key: Module 11: Performing Ongoing Database Maintenance https://skillpipe.courseware-marketplace.com/reader/fr-FR/Book/Book...

5 of 8 26/09/2016 16:04

Page 6: Answer Database Lab: Performing Maintenance

Lab Answer Key: Module 11: Performing Ongoing Database Maintenance https://skillpipe.courseware-marketplace.com/reader/fr-FR/Book/Book...

6 of 8 26/09/2016 16:04

Page 7: Answer Database Lab: Performing Maintenance

Lab Answer Key: Module 11: Performing Ongoing Database Maintenance https://skillpipe.courseware-marketplace.com/reader/fr-FR/Book/Book...

7 of 8 26/09/2016 16:04

Page 8: Answer Database Lab: Performing Maintenance

Lab Answer Key: Module 11: Performing Ongoing Database Maintenance https://skillpipe.courseware-marketplace.com/reader/fr-FR/Book/Book...

8 of 8 26/09/2016 16:04