Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005...

20
Chapter 12: Designing a Data-Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Transcript of Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005...

Page 1: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Chapter 12: Designing a Data-Archiving Solution

MCITP Administrator: Microsoft SQL Server 2005 Database Server

Infrastructure Design Study Guide (70-443)

Page 2: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Reasons for Archiving Data

• Improved query performance

• Decreased disk space use

• Reduced maintenance time

• Reduced costs

© Wiley Inc. 2006. All Rights Reserved.

Page 3: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Steps to Create a Data Archive Plan

1. Determine business and regulatory requirements

2. Determine what data to archive

3. Select storage format

4. Develop a data-movement strategy

5. Design a replication topology if replication is used

© Wiley Inc. 2006. All Rights Reserved.

Page 4: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Determine business and regulatory requirements

• Establish how much data needs to remain online

• Identify busines requriements that determine length data needs to be reatined either online or in archive

• How much of the data is needed? Can summary tables be used?

• What is accessibility of data needed?• What regulatory requirements are

relevant

© Wiley Inc. 2006. All Rights Reserved.

Page 5: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Determine what data to archive

• Identify obsolete data

• Determine if archiving produces a savings in disk space cost

• Determine if there are performance benefits

• Establish the archiving interval

© Wiley Inc. 2006. All Rights Reserved.

Page 6: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Sructuring Archival Data

• Structure by using the following types of tables:– Partitioned tables– Normalized tables– Denormalized tables– Indexed views– Summary Tables

© Wiley Inc. 2006. All Rights Reserved.

Page 7: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Guidelines for Choosing Which Structure to Use

• Data Accessibility Requirements

• Storage costs

© Wiley Inc. 2006. All Rights Reserved.

Page 8: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Select Storage Format

• Type of Storage format:– Magnetic tape– Optical media– Physical disks

• Dedicated or shared server?

© Wiley Inc. 2006. All Rights Reserved.

Page 9: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Factors Effecting Storage Format Choice

• Cost

• Accessibility

• Shelf life

• Reliability & durability

• Securioty

• Changing technology

© Wiley Inc. 2006. All Rights Reserved.

Page 10: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Develop a Data-Movement Strategy

• Describes how archival data is moved from production to archive

• Considerations should include:– Frequency of data movement– Minimizing impact on production– Direct or indirect transfer– Security of data during movement– Data verification processes

© Wiley Inc. 2006. All Rights Reserved.

Page 11: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Replication Topology

• Defines relationship between servers and copies of data

• Dsignin should include:– Whether replicated data needs to be updated

and by whom– Data distribution needs– Replication environment– Types of replications– How replication type and topologies align

© Wiley Inc. 2006. All Rights Reserved.

Page 12: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Replication Roles

• Publisher

• Distributor

• Subscriber

• SQL Server can be one, two or all three

© Wiley Inc. 2006. All Rights Reserved.

Page 13: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Replication Components

• Article

• Publication

© Wiley Inc. 2006. All Rights Reserved.

Page 14: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Replication Model Considerations

• Autonomy

• Latency

• Consistency

© Wiley Inc. 2006. All Rights Reserved.

Page 15: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Types of Replication

• Transactional

• Snapshot

• Merge

© Wiley Inc. 2006. All Rights Reserved.

Page 16: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Snapshot Replication

• Copies entire publication to subscribers each replication

• Created using Snapshot Agent

• Used primarily to establish the initial set of data

© Wiley Inc. 2006. All Rights Reserved.

Page 17: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Transactional Replication

• Standard Transactional Replication

• Transcational Replication with Updating Subscribers

• Peer-to-Peer Transactional Replication

© Wiley Inc. 2006. All Rights Reserved.

Page 18: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Merge Replication

• Most complex, most flexible

• Allows changes at both publishers and subscribers

• Conflicts are problem but resolvable

© Wiley Inc. 2006. All Rights Reserved.

Page 19: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Managing Replication Topology

• Develop and test a backup and restore strategy• Script the replication topology• Understand replication performance parameters• Establish performance baseline• Create thresholds and alerts• Monitor the replication topology• Validate data on periodic basis• Adjust publication and distribution retention

periods when necessary• Understand how to modify publications if

application requirements change

© Wiley Inc. 2006. All Rights Reserved.

Page 20: Chapter 12: Designing a Data- Archiving Solution MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)

Designing a Replication Strategy

• Determine requirement for replication with archival data

• Select a replication type• Create a replication topology

diagram• Determine subscribers, distributors

and publishers• Select pull or push subscription• Determine security requirements

© Wiley Inc. 2006. All Rights Reserved.