Seagate ST43401N/ND Przewodnik Instalacji

Przeglądaj online lub pobierz Przewodnik Instalacji dla Oprogramowanie bazy danych Seagate ST43401N/ND. Seagate ST43401N/ND Installation guide Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 146
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 1 - Enterprise 12.5

Migrating to Adaptive ServerEnterprise 12.5Adaptive Server Enterprise12.5

Strona 2 - Oct 2001

Relating Documentation to Migration Phase 2 The chapters in this manual are described in the following table:Relating Documentation to Migration Phas

Strona 3 - Contents

Test Cycle: Testing for Performance 92 Untimed BenchmarksIn multi-user mode, run untimed benchmarks as often as necessary, capturing response time an

Strona 4

93APPENDIX AWorksheets for Your Current EnvironmentThis appendix provides guidelines and sample worksheets for gathering information that will help yo

Strona 5

Adaptive Server Operational Worksheets 94 Backup and Restore ProceduresThis worksheet is helpful for a general survey of your backup and restore proc

Strona 6

APPENDIX A Worksheets for Your Current Environment95Database Dump DetailsDetailed backup and restore information is helpful for defining success cr

Strona 7

Adaptive Server Operational Worksheets 96 Maintenance Procedure DetailsUse the following worksheet to record detailed maintenance information:Databa

Strona 8

APPENDIX A Worksheets for Your Current Environment97Data Architecture WorksheetDocumenting the flow of information is discussed in Chapter 2, “Anal

Strona 9 - Resources

Data Architecture Worksheet 98 Production Performance MetricsMeasure current production performance metrics, using operating system monitors, for the

Strona 10

APPENDIX A Worksheets for Your Current Environment99• Measure I/Os per second per disk and controller, and I/O queue lengths per “time window” per

Strona 11 - Other Sources of Information

Adaptive Server Infrastructure Worksheets 100 Note To quickly identify response time problems, save showplan output for all critical transactions.Ad

Strona 12

APPENDIX A Worksheets for Your Current Environment101Record this information for both the production and development environments. Host Configurati

Strona 13 - Consulting Services

CHAPTER 1 Introduction and Guide to Resources3For additional information about Sybase database products, go to product manuals at http://manuals.sy

Strona 14 - If You Need Help

Adaptive Server Infrastructure Worksheets 102 Physical Memory UsageList all the major processes and memory requirements running on each server. Other

Strona 15 - Requirements

APPENDIX A Worksheets for Your Current Environment103Disk I/O ConfigurationGeneral disk information can help with firmware incompatibilities and ca

Strona 16 - Diagramming the System

Adaptive Server Infrastructure Worksheets 104 The following disk layout information can help in case redistribution is required, for load balancing,

Strona 17 - Availability Requirements

APPENDIX A Worksheets for Your Current Environment105Network ConfigurationNetwork layout information can help with firmware incompatibilities, MTBF

Strona 18 - Maintenance Procedures

Adaptive Server Infrastructure Worksheets 106 Tape ConfigurationTape layout information can help with firmware incompatibilities, MTBF, and capacity

Strona 19 - Service Level Requirements

APPENDIX A Worksheets for Your Current Environment107Adaptive Server ConfigurationDocument general information about the ASE configuration. Technic

Strona 20 - Current Performance Metrics

Adaptive Server Infrastructure Worksheets 108 Run dbcc memusage on ASE during an off-peak time or in single-user mode. Database DevicesDatabase devic

Strona 21

APPENDIX A Worksheets for Your Current Environment109Databases and SegmentsDatabase and segment information can help with load balancing and capaci

Strona 22

Adaptive Server Infrastructure Worksheets 110 Dump DevicesDump device information can help with load balancing and capacity planning.Database Device

Strona 23 - Analyze: Documenting Your

111APPENDIX BSample Migration Task ListsThis appendix provides the following samples:• Sample Task List Template• General Migration Task List Example•

Strona 24 - Disk Configuration

Sybase Certifications on the Web 4 • Technical Library CD contains product manuals and is included with your software. The DynaText browser (download

Strona 25

General Migration Task List Example 112 General Migration Task List ExampleThe following general task list shows typical migration tasks, with differ

Strona 26 - Physical Memory Utilization

APPENDIX B Sample Migration Task Lists11313 Update configuration document.Gather Business Requirements1 Define business requirements.2 Define const

Strona 27 - Software Configuration

General Migration Task List Example 114 5 Define migration downtime impact.6 Notify affected departments.7 Revise implementation plan.8 Obtain user s

Strona 28 - Sybase Configuration

APPENDIX B Sample Migration Task Lists1152 Design and develop file system configuration for devices.3 Create database device scripts.4 Prepare secu

Strona 29 - General Information

General Migration Task List Example 116 3 Configure file system.4 Complete installation/upgrade preparation from installation guide.5 Install Adaptiv

Strona 30

APPENDIX B Sample Migration Task Lists1173 Analyze and correct application changes.4 Configure applications to access new server.5 Perform prelimin

Strona 31 - Adaptive Server Objects

General Migration Task List Example 118 Migration Quality AssurancePerform System Tests1 Perform functional tests.2 Compare functional test results t

Strona 32 - Use Sybase Tools

APPENDIX B Sample Migration Task Lists119Perform User Acceptance Tests1 Perform acceptance tests.2 Compare acceptance test results to baseline.3 An

Strona 33 - Ready to Migrate

Parallel Migration Task List Example 120 • Define Test/Acceptance Criteria—Regression Test Suites• Set Up Target Production Environment• Set Up Repli

Strona 34 - Review the Upgrade Process

APPENDIX B Sample Migration Task Lists121Set Up Target Production Environment1 Identify physical drive configuration for Server A (production) and

Strona 35

CHAPTER 1 Introduction and Guide to Resources55 Click an EBF/Update title to display the report.❖ To create a personalized view of the Sybase Web s

Strona 36 - Determine Migration Approach

Parallel Migration Task List Example 122 2 Iteratively perform back-end regression testing.3 Monitor and capture system dynamics (sp_who, sp_lock, st

Strona 37 - Parallel With Replication

APPENDIX B Sample Migration Task Lists12310 Recycle ASE.Run Post-upgrade Regression Test Suites on ASE 12.5 (Server B)Back-end regression test suit

Strona 38

Cutover Migration Task List Example 124 Shift Production Users to Adaptive Server 12.5 (Server B)1 Ensure that there is no production activity.2 Perf

Strona 39 - Cutover Without Replication

APPENDIX B Sample Migration Task Lists125• Run Regression Test Suites on Older Release Test System• Upgrade Test System to Release 12.5• Run Regres

Strona 40

Cutover Migration Task List Example 126 2 Capture and map SQL for target user functions.3 Encapsulate SQL for user functions.4 Create front-end simul

Strona 41 - Phased Cutover

APPENDIX B Sample Migration Task Lists1273 Make the “go/no go” call for the test system.4 Verify and document the regression test.5 Verify performa

Strona 42

Cutover Migration Task List Example 128 Front-End Regression Test Suite1 Perform user regression testing.2 Monitor and capture system dynamics (sp_wh

Strona 43 - Write a Migration Plan

APPENDIX B Sample Migration Task Lists1293 Alter the sybsystemprocs database.4 Perform a pre-upgrade verification.5 Upgrade the production system t

Strona 44 - Update Hardware Resources

Staged Cutover Task Overview 130 1 Configure ASE 12.5 on the development system, duplicating the earlier release development configuration.2 Migrate

Strona 45 - Products

131APPENDIX CMigration Issue ChecklistsThe following checklists were produced by Sybase Consulting to use in writing migration plans for customers. Th

Strona 46 - Create Migration Scripts

If You Need Help 6 If You Need HelpEach Sybase installation that has purchased a support contract has one or more designated people who are authorize

Strona 47 - Application Changes

Logical Application Architecture 132 Logical Application ArchitectureDoes the logical application architecture include:• A list and brief description

Strona 48 - If Your Version is 11.5

APPENDIX C Migration Issue Checklists133• Vendor-independent description (functions and features) and graphical representation of hardware and soft

Strona 49

Migration Strategy Design 134 • Disaster recovery • Production approval and access control• New support organization, including roles and responsibil

Strona 50 - Changes to Error Checking

135APPENDIX DPre-Upgrade ChecklistThis checklist can be used in addition to that found in the installation guide. It lists steps to prepare for upgrad

Strona 51 - Changes in Error Numbers

Pre-Upgrade Checklist 136 7 Record size and device fragment information for all databases. You can query the sysdevices and sysusages tables for this

Strona 52

APPENDIX D Pre-Upgrade Checklist1375 On NT, if server is an automatic service, change the service type for ASE to manual. 6 Stop mirroring.7 Disabl

Strona 53

Pre-Upgrade Checklist 138

Strona 54 - New and Changed Statistics

7CHAPTER 2Analyze: Documenting Business RequirementsIn This ChapterIn this chapter you begin the first phase of migration planning, documenting your e

Strona 55

Diagramming the System 8 • Protocols• Gateways• Routers, brouters, bridgesFor example, you can create a diagram like the this high-level view of the

Strona 56 - Trace Flag 302

CHAPTER 2 Analyze: Documenting Business Requirements9You can write a high-level business description in addition to or instead of a diagram.Operati

Strona 57

Operational Business Requirements 10 Database Change MetricsFor all databases, record:• Database size• Transaction log growth• Table rowcounts and da

Strona 58 - ANSI Joins

CHAPTER 2 Analyze: Documenting Business Requirements11Service Level RequirementsDocument application details and service requirements, as in this e

Strona 59

DOCUMENT ID: 34982-01-1250-01LAST REVISED: Oct 2001Copyright © 1989-2001 by Sybase, Inc. All rights reserved.This publication pertains to Sybase datab

Strona 60 - 12.0 Query Processing Changes

Current Performance Metrics 12 Note If you are upgrading from ASE 12.0, you can save abstract query plans for your critical queries. For more inform

Strona 61 - Abstract Query Plans

CHAPTER 2 Analyze: Documenting Business Requirements13•Disk I/O:• Use operating system monitors to measure I/Os per second per disk and controller,

Strona 62 - Increased Optimization Time

Additional Business Requirements 14 • Should the upgrade take place over the weekend• What staff is available: DBAs, system administrators?• What res

Strona 63 - Changes to Transact-SQL

15CHAPTER 3Analyze: Documenting Your EnvironmentIn This ChapterThis chapter provides guidelines for documenting system hardware and software in the Ad

Strona 64 - New Reserved Words

Hardware Configuration 16 General Server HardwareList the following hardware information for every server machine:• Make and model• Your customer ID

Strona 65

CHAPTER 3 Analyze: Documenting Your Environment171 Sun Sparc 20 1.00 6 10000Controller Number Make and ModelFirmware RevisionMonths in ServiceTrans

Strona 66 - Change in Truncation Behavior

Physical Memory Utilization 18 Network ConfigurationUse a worksheet like the one in the following example to show network interface card information

Strona 67

CHAPTER 3 Analyze: Documenting Your Environment19Software ConfigurationDocument your software environment as described in the following sections:•

Strona 68

Sybase Configuration 20 • High availability software installedYou may need to contact your operating system vendor to get system upgrades, recent pat

Strona 69 - Implement: Making Database

CHAPTER 3 Analyze: Documenting Your Environment21General InformationRecord the following Sybase information:• Adaptive Servers and their SYBASE hom

Strona 70

ContentsIntroduction and Guide to Resources 1In This Chapter 1Chapters in the Migration Guide 1Relating Documentation to Migration Phase 2Other Source

Strona 71 - Optimizer Changes

Sybase Configuration 22 Databases and SegmentsList of all segments and the objects on them. Use a worksheet like that in the following example:Dump D

Strona 72 - Trace Flag 326

CHAPTER 3 Analyze: Documenting Your Environment23Adaptive Server ObjectsDocument the objects in your current Adaptive Server as described in the fo

Strona 73 - Backup Server

Adaptive Server Objects 24 Query Sybase System TablesThe following system tables contain object information that you can use to create installation s

Strona 74 - Starting Backup Server

25CHAPTER 4Plan: Writing a Plan and Getting Ready to MigrateIn this ChapterNow that you have collected data about your current system, you can write a

Strona 75 - Dump Format

Review the Upgrade Process 26 •The Release Bulletin at http://manuals.sybase.com:80/onlinebooks/group-as/asp1250e/@Generic__CollectionView;pt=asp1250

Strona 76 - Changes to dbids

CHAPTER 4 Plan: Writing a Plan and Getting Ready to Migrate27Special Cases: Migrating to 64-bit Operating System or Larger Page SizeAs of release 1

Strona 77 - The sybsyntax Utility

Determine Migration Approach 28 Determine Migration ApproachThe best migration strategy for you depends on such factors as the cost of the effort, th

Strona 78 - System Database Sizes

CHAPTER 4 Plan: Writing a Plan and Getting Ready to Migrate29• Phased CutoverNote This migration guide does not cover other parallel migration app

Strona 79 - Changes to System Tables

Determine Migration Approach 30 • The earlier server cannot read release 12.5 backup files. You need to create bcp or other scripts to move tables ba

Strona 80 - New Database and Table Limits

CHAPTER 4 Plan: Writing a Plan and Getting Ready to Migrate31Be sure to account for any increased release 12.5 memory requirements that apply to yo

Strona 81

iv Database Devices 7Databases and Segments 8Dump Devices 8Adaptive Server Objects 9Gather Scripts to Create Objects 9If You Don’t Have Scripts 9Plan

Strona 82 - Configuration Parameters

Determine Migration Approach 32 You can use dump database or bcp out before an upgrade to prepare for fallback. Plan a way to capture transactions af

Strona 83 - 86016 (84K) - 64-bit

CHAPTER 4 Plan: Writing a Plan and Getting Ready to Migrate33• Information on how to configure memory for performance in the Performance and Tuning

Strona 84 - Increased Memory

Determine Migration Approach 34 See Chapter 7, “Test: Ensuring Stability and Performance” for more information on testing.BridgingThere should not be

Strona 85

CHAPTER 4 Plan: Writing a Plan and Getting Ready to Migrate35Write a Migration PlanProduce a project plan which documents:• Migration strategy—Whic

Strona 86

Build the Adaptive Server Environment 36 • Update Applications and System Administration Procedures• Create Migration Scripts• Create a test environm

Strona 87 - Performance

CHAPTER 4 Plan: Writing a Plan and Getting Ready to Migrate37Note If you need to perform an operating system upgrade, do so before migrating. Test

Strona 88 - Make Backups

Build the Adaptive Server Environment 38 Create Migration ScriptsUsing the scripts you located, wrote, or reverse engineered in Chapter 2, “Analyze:

Strona 89

39CHAPTER 5Implement: Making Required Application ChangesIn This ChapterThis chapter and Chapter 6, “Implement: Making Database Administration Changes

Strona 90

If Your Version is 11.5 40 If Your Version is 11.5This sections covers the following topics: • Changes to Locking• Changes to Error Checking• 11.9.2

Strona 91 - Summary of Testing Techniques

CHAPTER 5 Implement: Making Required Application Changes41• Bulk copy into data-only-locked tables requires the version of bcp and the bulk copy li

Strona 92

ChaptervWide Columns and Data Truncation 19Implement: Making Database Administration Changes 1In This Chapter 1If Your Version is 11.5 2New Rollback R

Strona 93 - Writing Performance Scripts

If Your Version is 11.5 42 WorkaroundsIf deadlocks are creating problems, consider converting the table to use datarows locking.If deadlocks or exces

Strona 94 - Deadlock Handling

CHAPTER 5 Implement: Making Required Application Changes43as select * from mary.sales_prospects However, this user cannot execute the procedure; th

Strona 95 - Runtime Data Generation

If Your Version is 11.5 44 • Those permissions set with the grant command• Permissions that depend on roles (such as sa_role or SSO_role) or on statu

Strona 96 - Test Cycle: Summary of Tests

CHAPTER 5 Implement: Making Required Application Changes453004 10302 Permission failure for dump database command3110 10302 Permission failure for

Strona 97 - Pre-Upgrade Single-User Tests

If Your Version is 11.5 46 11.9.2 Query Processing ChangesRelease 11.9.2 introduced extensive changes in query processing and optimization. Statistic

Strona 98 - Pre-Upgrade Multi-User Tests

CHAPTER 5 Implement: Making Required Application Changes47• Table/Index Level Statistics• Changes to the update statistics CommandColumn Level Stat

Strona 99 - Post-Upgrade Multi-User Tests

If Your Version is 11.5 48 Aggregate OptimizationAggregate optimization was introduced in ASE 11.9.x. This allows the optimizer to factor in an index

Strona 100 - Timed Benchmarks

CHAPTER 5 Implement: Making Required Application Changes49This trace flag is well-documented in New Functionality in 11.9.2 at http://manuals.sybas

Strona 101 - Environment

If Your Version is 11.5 or 11.9.x 50 indid 2scan selectivity 0.983249, filter selectivity 0.983249590512 rows, 45991 pages, index height 2,Data Row C

Strona 102 - Backup and Restore Procedures

CHAPTER 5 Implement: Making Required Application Changes51• Inner joins, in which the joined table includes only the rows of the inner and outer t

Strona 103 - Database Dump Details

vi Developing Fallback Procedures 5Summary of Testing Techniques 5Writing Performance Scripts 7Write Benchmark Scripts 7Drivers 8Test Cycle: Summary

Strona 104

If Your Version is 11.5 or 11.9.x 52 See the section New Unix File System Device Support in Chapter 6 of this manual. See also the sections on disk i

Strona 105 - Data Architecture Worksheet

CHAPTER 5 Implement: Making Required Application Changes53select * from lineitem, partwhere ((p_partkey = l_partkey and l_quantity >= 10)or (p_

Strona 106

If Your Version is 11.5 or 11.9.x 54 Adaptive Server can capture query text and save an abstract plan for a query in a new system table called sysque

Strona 107 - Transaction Profile

CHAPTER 5 Implement: Making Required Application Changes55If a pattern match is found in the cell boundaries then the selectivity is estimated to b

Strona 108

If Your Version is 11.5, 11.9.x, or 12.0 56 New Reserved WordsReserved words can only be used by ASE. New ASE objects and commands result in new rese

Strona 109 - Host Configuration

CHAPTER 5 Implement: Making Required Application Changes57Note The Sybase procedures for detecting reserved words in object names cannot be used t

Strona 110 - Physical Memory Usage

If Your Version is 11.5, 11.9.x, or 12.0 58 • Using New Wide Data Sizes with Open Client• Wide Columns and Optimizer Statistics• Wide Columns with co

Strona 111 - Disk I/O Configuration

CHAPTER 5 Implement: Making Required Application Changes59To see whether you can enable wide data sizes for your client software, go to the section

Strona 112

If Your Version is 11.5, 11.9.x, or 12.0 60 Wide Columns with col_length() and datalength()The commands col_length() and datalength() are “built-in”

Strona 113 - Network Configuration

61CHAPTER 6Implement: Making Database Administration ChangesIn This ChapterThis chapter discusses changes to Adaptive Server system administration tha

Strona 114 - Tape Configuration

ContentsParallel Migration Task List Example 9Define Test/Acceptance Criteria—Regression Test Suites 10Set Up Target Production Environment 11Set Up R

Strona 115 - Adaptive Server Configuration

If Your Version is 11.5 62 If Your Version is 11.5This section covers the following topics:• New Rollback Records• Optimizer Changes• Trace Flag 326N

Strona 116 - Database Devices

CHAPTER 6 Implement: Making Database Administration Changes63Optimizer ChangesASE 11.9.2 introduced major changes in the way the server keeps stati

Strona 117 - Databases and Segments

If Your Version is 11.5 or 11.9.x 64 However, be cautious about adding new statistics to the production environment until you have determined your ne

Strona 118 - Dump Devices

CHAPTER 6 Implement: Making Database Administration Changes65Documentation ChangesASE 12.0 includes several new manuals that describe separately-li

Strona 119 - Sample Migration Task Lists

If Your Version is 11.5 or 11.9.x 66 StripesIn earlier versions, Backup Server could dump to a maximum of 32 stripes, either disk or tape. In 12.0, m

Strona 120 - Migration Analysis

CHAPTER 6 Implement: Making Database Administration Changes67You must configure the local and remote Backup Servers at startup by providing the app

Strona 121 - Develop Migration Strategy

If Your Version is 11.5 or 11.9.x 68 New Unix File System Device SupportIn release 12.0, Sybase introduced the dsync option of the disk init command.

Strona 122 - Migration Preparation

CHAPTER 6 Implement: Making Database Administration Changes69CIS Proxy DatabasesIn 12.0, HA creates databases with names like “__pxy”. As a result,

Strona 123 - Create Target Environment

If Your Version is 11.5, 11.9.x, or 12.0 70 • New Reserved Words• Configuration Parameters• Increased Memory• New Storage for text and image DataChan

Strona 124 - Perform Application Migration

CHAPTER 6 Implement: Making Database Administration Changes71sybsystemdbThe sybsystemdb database is used for the spt_values table and two-phase com

Strona 126 - Migration Quality Assurance

If Your Version is 11.5, 11.9.x, or 12.0 72 New Database and Table LimitsThis section covers changes in table and database limits:• Maximum Number of

Strona 127 - Perform User Acceptance Tests

CHAPTER 6 Implement: Making Database Administration Changes73New Reserved WordsReserved words, or ASE keywords, can only be used by ASE and cannot

Strona 128

If Your Version is 11.5, 11.9.x, or 12.0 74 You must change all object names that contain reserved words before you upgrade. You must also change tho

Strona 129 - Run Regression Test Suites

CHAPTER 6 Implement: Making Database Administration Changes75stack sizeThe default value of the stack size parameter has increased over the last se

Strona 130 - Upgrade Server B (Shadow)

If Your Version is 11.5, 11.9.x, or 12.0 76 Increased MemoryASE 12.5 uses more memory than previous releases. ASE now allocates more memory for the d

Strona 131 - Other Testing

CHAPTER 6 Implement: Making Database Administration Changes77buildmaster Command ObsoleteASE 12.5 no longer uses the buildmaster command. Instead,

Strona 132 - Perform Final Steps

If Your Version is 11.5, 11.9.x, or 12.0 78

Strona 133

79CHAPTER 7Test: Ensuring Stability and PerformanceIn This ChapterThis chapter will help you evaluate testing methods and develop a testing plan. It c

Strona 134

Setting Up the Test Environment 80 • The test and production systems are stable and the data is safe.• The upgrade is successful and does not adverse

Strona 135

CHAPTER 7 Test: Ensuring Stability and Performance81Use backups or the bcp scripts to populate your test databases. Note When you create a new dat

Strona 136

1CHAPTER 1Introduction and Guide to ResourcesIn This ChapterThis chapter gives an overview of the topics covered in this manual. In addition, it point

Strona 137 - Staged Cutover Task Overview

Prioritizing Applications to be Tested 82 You need to make adjustments when you have less disk space or memory in the test system. Scale down databas

Strona 138

CHAPTER 7 Test: Ensuring Stability and Performance83•A phased cutover is subject to the highest performance expectations. Some performance tuning o

Strona 139 - Migration Issue Checklists

Summary of Testing Techniques 84 Technique Description Advantages DisadvantagesAd hoc testingManually walk through important application processes, s

Strona 140

CHAPTER 7 Test: Ensuring Stability and Performance85Writing Performance ScriptsThis section discusses the basics of writing performance scripts:• W

Strona 141 - Logical Support Architecture

Writing Performance Scripts 86 • Write code to process result set(s)• Name each transaction explicitly (for example, “begin tran cust_update”) to mak

Strona 142 - Migration Strategy Design

CHAPTER 7 Test: Ensuring Stability and Performance87Result HandlingYou can capture query results by fetching the entire result set back to the clie

Strona 143 - Pre-Upgrade Checklist

Test Cycle: Summary of Tests 88 Test Cycle: Summary of TestsThis section summarizes a complete test cycle, with tests that target specific issues, in

Strona 144

CHAPTER 7 Test: Ensuring Stability and Performance89Test Cycle: Testing for PerformanceThis section expands on performance benchmarking before and

Strona 145 - .cfg) file

Test Cycle: Testing for Performance 90 • Data and data distribution problems. Check data layout and be sure that these match the productions system.

Strona 146

CHAPTER 7 Test: Ensuring Stability and Performance91Test System UpgradePerform the upgrade on the test system following the instructions in the ins

Komentarze do niniejszej Instrukcji

Brak uwag