Seagate ST43401N/ND Guida di Installazione

Navigare online o scaricare Guida di Installazione per Software di database Seagate ST43401N/ND. Seagate ST43401N/ND Installation guide Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 146
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti

Sommario

Pagina 1 - Enterprise 12.5

Migrating to Adaptive ServerEnterprise 12.5Adaptive Server Enterprise12.5

Pagina 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

Pagina 3 - Contents

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

Pagina 4

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

Pagina 5

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

Pagina 6

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

Pagina 7

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

Pagina 8

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

Pagina 9 - Resources

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

Pagina 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

Pagina 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

Pagina 12

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

Pagina 13 - Consulting Services

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

Pagina 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

Pagina 15 - Requirements

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

Pagina 16 - Diagramming the System

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

Pagina 17 - Availability Requirements

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

Pagina 18 - Maintenance Procedures

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

Pagina 19 - Service Level Requirements

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

Pagina 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

Pagina 21

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

Pagina 22

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

Pagina 23 - Analyze: Documenting Your

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

Pagina 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

Pagina 25

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

Pagina 26 - Physical Memory Utilization

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

Pagina 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

Pagina 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

Pagina 29 - General Information

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

Pagina 30

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

Pagina 31 - Adaptive Server Objects

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

Pagina 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

Pagina 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

Pagina 34 - Review the Upgrade Process

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 42

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

Pagina 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

Pagina 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

Pagina 45 - Products

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

Pagina 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

Pagina 47 - Application Changes

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

Pagina 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

Pagina 49

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

Pagina 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

Pagina 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

Pagina 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

Pagina 53

Pre-Upgrade Checklist 138

Pagina 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

Pagina 55

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

Pagina 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

Pagina 57

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

Pagina 58 - ANSI Joins

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

Pagina 59

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

Pagina 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

Pagina 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,

Pagina 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

Pagina 63 - Changes to Transact-SQL

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

Pagina 64 - New Reserved Words

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

Pagina 65

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

Pagina 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

Pagina 67

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

Pagina 68

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

Pagina 69 - Implement: Making Database

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

Pagina 70

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

Pagina 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

Pagina 72 - Trace Flag 326

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 81

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

Pagina 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

Pagina 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

Pagina 84 - Increased Memory

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

Pagina 85

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

Pagina 86

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

Pagina 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

Pagina 88 - Make Backups

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

Pagina 89

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

Pagina 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

Pagina 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

Pagina 92

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

Pagina 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

Pagina 94 - Deadlock Handling

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

Pagina 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

Pagina 96 - Test Cycle: Summary of Tests

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 103 - Database Dump Details

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

Pagina 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

Pagina 105 - Data Architecture Worksheet

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

Pagina 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

Pagina 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

Pagina 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

Pagina 109 - Host Configuration

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

Pagina 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

Pagina 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

Pagina 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”

Pagina 113 - Network Configuration

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

Pagina 114 - Tape Configuration

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

Pagina 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

Pagina 116 - Database Devices

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

Pagina 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

Pagina 118 - Dump Devices

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

Pagina 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

Pagina 120 - Migration Analysis

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

Pagina 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.

Pagina 122 - Migration Preparation

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

Pagina 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

Pagina 124 - Perform Application Migration

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 131 - Other Testing

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

Pagina 132 - Perform Final Steps

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

Pagina 133

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

Pagina 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

Pagina 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

Pagina 136

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

Pagina 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

Pagina 138

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

Pagina 139 - Migration Issue Checklists

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

Pagina 140

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

Pagina 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

Pagina 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

Pagina 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

Pagina 144

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

Pagina 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.

Pagina 146

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

Commenti su questo manuale

Nessun commento