This manual describes how to migrate to Adaptive Server® Enterprise.
This manual is for Sybase™ System Administrators and Database Owners.
Chapter 1, “Documenting Business Requirements,” helps you organize business information required for an effective migration plan.
Chapter 2, “Documenting Your Environment,” provides guidelines for documenting system hardware and software in the Adaptive Server production environment.
Chapter 3, “Writing a Migration Plan,” discusses migration methods and planning changes you may need to make to your system resources, applications and system administration procedures.
Chapter 4, “Making Required Application Changes,” covers those issues that may affect the execution of applications or that might require coding changes.
Chapter 5, “Making Database Administration Changes,” discusses changes to Adaptive Server system administration that may cause problems if you are not prepared for them.
Chapter 6, “Ensuring Stability and Performance,” helps you to evaluate testing methods and develop a testing plan.
Appendix A, “Worksheets for Your Current Environment,” provides guidelines and sample worksheets for gathering information needed to plan for migration.
Appendix B, “Sample Migration Task Lists,” provides samples of completed task lists for general, parallel, and cutover migration. It includes a sample task list template and staged cutover task overview.
Appendix C, “Migration Issue Checklists,” contains checklists that may be helpful as your write migration plans.
Appendix D, “Pre-Upgrade Checklist,” contains a checklist for preparing for an upgrade in ascending order from earliest tasks to the last task that precedes the upgrade.
The Adaptive Server Enterprise documentation set consists of the following:
The release bulletin for your platform – contains last-minute information that was too late to be included in the books.
A more recent version of the release bulletin may be available on the World Wide Web. To check for critical product or document information that was added after the release of the product CD, use the Sybase Technical Library.
The installation guide for your platform – describes installation, upgrade, and configuration procedures for all Adaptive Server and related Sybase products.
What’s New in Adaptive Server Enterprise? – describes the new features in Adaptive Server version 15.0, the system changes added to support those features, and changes that may affect your existing applications.
ASE Replicator User’s Guide – describes how to use the Adaptive Server Replicator feature of Adaptive Server to implement basic replication from a primary server to one or more remote Adaptive Servers.
Component Integration Services User’s Guide – explains how to use the Adaptive Server Component Integration Services feature to connect remote Sybase and non-Sybase databases.
The Configuration Guide for your platform – provides instructions for performing specific configuration tasks for Adaptive Server.
Full-Text Search Specialty Data Store User’s Guide – describes how to use the Full-Text Search feature with Verity to search Adaptive Server Enterprise data.
Glossary – defines technical terms used in the Adaptive Server documentation.
Historical Server User’s Guide – describes how to use Historical Server to obtain performance information for SQL Server® and Adaptive Server.
Java in Adaptive Server Enterprise – describes how to install and use Java classes as datatypes, functions, and stored procedures in the Adaptive Server database.
Job Scheduler User’s Guide – provides instructions on how to install and configure, and create and schedule jobs on a local or remote Adaptive Server using the command line or a graphical user interface (GUI).
Messaging Service User’s Guide – describes how to use Real Time Messaging Services to integrate TIBCO Java Message Service and IBM WebSphere MQ messaging services with all Adaptive Server database applications.
Monitor Client Library Programmer’s Guide – describes how to write Monitor Client Library applications that access Adaptive Server performance data.
Monitor Server User’s Guide – describes how to use Monitor Server to obtain performance statistics from SQL Server and Adaptive Server.
Performance and Tuning Guide – is a series of four books that explains how to tune Adaptive Server for maximum performance:
Basics – the basics for understanding and investigating performance questions in Adaptive Server.
Locking – describes how the various locking schemas can be used for improving performance in Adaptive Server.
Optimizer and Abstract Plans – describes how the optimizer processes queries and how abstract plans can be used to change some of the optimizer plans.
Monitoring and Analyzing – explains how statistics are obtained and used for monitoring and optimizing performance.
Quick Reference Guide – provides a comprehensive listing of the names and syntax for commands, functions, system procedures, extended system procedures, datatypes, and utilities in a pocket-sized book (regular size when viewed in PDF format).
Reference Manual – is a series of four books that contains the following detailed Transact-SQL information:
Building Blocks – Transact-SQL datatypes, functions, global variables, expressions, identifiers and wildcards, and reserved words.
Commands – Transact-SQL commands.
Procedures – Transact-SQL system procedures, catalog stored procedures, system extended stored procedures, and dbcc stored procedures.
Tables – Transact-SQL system tables and dbcc tables.
System Administration Guide – provides in-depth information about administering servers and databases. This manual includes instructions and guidelines for managing physical resources, security, user and system databases, and specifying character conversion, international language, and sort order settings.
System Tables Diagram – illustrates system tables and their entity relationships in a poster format. Full-size available only in print version; a compact version is available in PDF format.
Transact-SQL User’s Guide – documents Transact-SQL™, the Sybase-enhanced version of the relational database language. This manual serves as a textbook for beginning users of the database management system. This manual also contains descriptions of the pubs2 and pubs3 sample databases.
Using Adaptive Server Distributed Transaction Management Features – explains how to configure, use, and troubleshoot Adaptive Server DTM features in distributed transaction processing environments.
Using Sybase Failover in a High Availability System – provides instructions for using Sybase Failover to configure an Adaptive Server as a companion server in a high availability system.
Unified Agent and Agent Management Console – describes the Unified Agent, which provides runtime services to manage, monitor, and control distributed Sybase resources.
Utility Guide – documents the Adaptive Server utility programs, such as isql and bcp, which are executed at the operating system level.
Web Services User’s Guide – explains how to configure, use, and troubleshoot Web Services for Adaptive Server.
XA Interface Integration Guide for CICS, Encina, and TUXEDO – provides instructions for using the Sybase DTM XA interface with X/Open XA transaction managers.
XML Services in Adaptive Server Enterprise – describes the Sybase native XML processor and the Sybase Java-based XML support, introduces XML in the database, and documents the query and mapping functions that comprise XML Services.
Sybase provides documentation for all stages of the migration process. While this migration guide documents the minimum changes to your system and applications necessary to avoid problems, we recommend that you refer to What’s New? and other Sybase manuals to help you plan the design of your new Adaptive Server system to take advantage of Sybase’s new performance features.
The following table gives general guidelines for relating migration phase to Sybase documentation:
Document |
Read during |
Range of tasks covered |
---|---|---|
|
Planning/preparation prior to upgrade |
Assessing current system Planning migration Making applications compatible Updating DBA procedures |
|
Planning/preparation prior to upgrade |
Finding information needed to avoid upgrade problems, including problem reports, special installation issues, and compatibility issues |
|
Upgrade preparation and implementation |
Preparing system to upgrade Installing software Performing upgrade tasks |
|
Planning/preparation prior to migration and testing after upgrade |
Planning system design for Adaptive Server 15.0 Monitoring and tuning system for increased performance |
For additional information about Sybase database products, go to http://www.sybase.com/support/manuals.
Use the Sybase Getting Started CD, the SyBooks CD, and the Sybase Product Manuals Web site to learn more about your product:
The Getting Started CD contains release bulletins and installation guides in PDF format, and may also contain other documents or updated information not included on the SyBooks CD. It is included with your software. To read or print documents on the Getting Started CD, you need Adobe Acrobat Reader, which you can download at no charge from the Adobe Web site using a link provided on the CD.
The SyBooks CD contains product manuals and is included with your software. The Eclipse-based SyBooks browser allows you to access the manuals in an easy-to-use, HTML-based format.
Some documentation may be provided in PDF format, which you can access through the PDF directory on the SyBooks CD. To read or print the PDF files, you need Adobe Acrobat Reader.
Refer to the SyBooks Installation Guide on the Getting Started CD, or the README.txt file on the SyBooks CD for instructions on installing and starting SyBooks.
The Sybase Product Manuals Web site is an online version of the SyBooks CD that you can access using a standard Web browser. In addition to product manuals, you will find links to EBFs/Maintenance, Technical Documents, Case Management, Solved Cases, newsgroups, and the Sybase Developer Network.
To access the Sybase Product Manuals Web site, go to Product Manuals.
Sybase Consulting offers services to customers planning to migrate to Adaptive Server 15.0. Sybase Consulting uses the Sybase-developed and recommended methodology, SAFE/EM (Sybase Advanced Framework to Enable Effective Migration). The migration technology in this manual is based on SAFE/EM.
Sybase offers a wide range of services to assist in the planning and execution of a migration to Adaptive Server 15.0. Using the migration methods developed and tested by Sybase can help reduce the time and risks associated with a migration.
See the Sybase Education page for information about courses on Sybase products. For Adaptive Server release 15.0 courses, see the Database Servers page.
Technical documentation at the Sybase Web site is updated frequently.
Finding the latest information on product certifications
Point your Web browser to Technical Documents.
Click Certification Report.
In the Certification Report filter select a product, platform, and timeframe and then click Go.
Click a Certification Report title to display the report.
Finding the latest information on component certifications
Point your Web browser to Availability and Certification Reports.
Either select the product family and product under Search by Base Product; or select the platform and product under Search by Platform.
Select Search to display the availability and certification report for the selection.
Creating a personalized view of the Sybase Web site (including support pages)
Set up a MySybase profile. MySybase is a free service that allows you to create a personalized view of Sybase Web pages.
Point your Web browser to Technical Documents.
Click MySybase and create a MySybase profile.
Finding the latest information on EBFs and software maintenance
Point your Web browser to the Sybase Support Page.
Select EBFs/Maintenance. If prompted, enter your MySybase user name and password.
Select a product.
Specify a time frame and click Go. A list of EBF/Maintenance releases is displayed.
Padlock icons indicate that you do not have download authorization for certain EBF/Maintenance releases because you are not registered as a Technical Support Contact. If you have not registered, but have valid information provided by your Sybase representative or through your support contract, click Edit Roles to add the “Technical Support Contact” role to your MySybase profile.
Click the Info icon to display the EBF/Maintenance report, or click the product description to download the software.
The following sections describe conventions used in this manual.
SQL is a free-form language. There are no rules about the number of words you can put on a line or where you must break a line. However, for readability, all examples and most syntax statements in this manual are formatted so that each clause of a statement begins on a new line. Clauses that have more than one part extend to additional lines, which are indented. Complex commands are formatted using modified Backus Naur Form (BNF) notation.
Table 1 shows the conventions for syntax statements that appear in this manual:
Element |
Example |
---|---|
Command names, procedure names, utility names, and other keywords display in sans serif font. |
select sp_configure |
Database names and datatypes are in sans serif font. |
master database |
File names, variables, and path names are in italics. |
sql.ini file column_name $SYBASE/ASE directory |
Variables—or words that stand for values that you fill in—when they are part of a query or statement, are in italics in Courier font. |
|
Type parentheses as part of the command. |
|
Double colon, equals sign indicates that the syntax is written in BNF notation. Do not type this symbol. Indicates “is defined as”. |
|
Curly braces mean that you must choose at least one of the enclosed options. Do not type the braces. |
|
Brackets mean that to choose one or more of the enclosed options is optional. Do not type the brackets. |
|
The comma means you may choose as many of the options shown as you want. Separate your choices with commas as part of the command. |
|
The pipe or vertical bar( | ) means you may select only one of the options shown. |
|
An ellipsis (...) means that you can repeat the last unit as many times as you like. |
You must buy at least one thing and give its price. You may choose a method of payment: one of the items enclosed in square brackets. You may also choose to buy additional things: as many of them as you like. For each thing you buy, give its name, its price, and (optionally) a method of payment. |
Syntax statements (displaying the syntax and all options for a command) appear as follows:
sp_dropdevice [device_name]
For a command with more options:
select column_name from table_name where search_conditions
In syntax statements, keywords (commands) are in normal font and identifiers are in lowercase. Italic font shows user-supplied words.
Examples showing the use of Transact-SQL commands are printed like this:
select * from publishers
Examples of output from the computer appear as follows:
pub_id pub_name city state ------- --------------------- ----------- ----- 0736 New Age Books Boston MA 0877 Binnet & Hardley Washington DC 1389 Algodata Infosystems Berkeley CA (3 rows affected)
In this manual, most of the examples are in lowercase. However, you can disregard case when typing Transact-SQL keywords. For example, SELECT, Select, and select are the same.
Adaptive Server sensitivity to the case of database objects, such as table names, depends on the sort order installed on Adaptive Server. You can change case sensitivity for single-byte character sets by reconfiguring the Adaptive Server sort order. For more information, see the System Administration Guide.
This document is available in an HTML version that is specialized for accessibility. You can navigate the HTML with an adaptive technology such as a screen reader, or view it with a screen enlarger.
Adaptive Server HTML documentation has been tested for compliance with U.S. government Section 508 Accessibility requirements. Documents that comply with Section 508 generally also meet non-U.S. accessibility guidelines, such as the World Wide Web Consortium (W3C) guidelines for Web sites.
You might need to configure your accessibility tool for optimal use. Some screen readers pronounce text based on its case; for example, they pronounce ALL UPPERCASE TEXT as initials, and MixedCase Text as words. You might find it helpful to configure your tool to announce syntax conventions. Consult the documentation for your tool.
For information about how Sybase supports accessibility, see Sybase Accessibility. The Sybase Accessibility site includes links to information on Section 508 and W3C standards.
Each Sybase installation that has purchased a support contract has one or more designated people who are authorized to contact Sybase Technical Support. If you cannot resolve a problem using the manuals or online help, please have the designated person contact Sybase Technical Support or the Sybase subsidiary in your area.