CHAPTER 5 Upgrading Adaptive Server

Method #2: BCP data out and in

Method #3: Replacing the binary

3 Create devices and databases to match those in the 32-bit server. Make sure that the sysusages mapping is correct. See document ID #1324 at http://my.sybase.com/detail?id=1324.

Note Allow 10 percent additional space for the sybsystemprocs database.

4Dump the databases on the 32-bit server.

5Load the databases to the 64-bit server.

6If you have partitioned tables, update partition statistics.

7Run dbcc checks on the 64-bit server and make sure they run cleanly.

8For information on upgrading compiled objects, see “Upgrading compiled objects with dbcc upgrade_object” on page 109.

If you have DDL scripts to create devices, databases, tables, rules, stored procedures, triggers, and views, you can use bcp to move data out of the old database and into the new.

If you do not have DDL scripts, use the ddlgen utility to re-create the schema for the Adaptive Server you are about to upgrade. See the Utility Guide.

1Run dbcc checks on databases to verify data integrity.

2Use bcp to extract all the data from all the tables in the databases.

3Create a new 64-bit Adaptive Server in a new directory.

4Create devices, databases, and tables.

5Use bcp to bulk copy data into tables.

6Re-create all views, triggers, stored procedures.

7Run dbcc checks on the 64-bit server and make sure they run cleanly.

The third method requires you to modify some key files, re-create stored procedures, then replace the binary.

1Run dbcc checks (checkdb, checkalloc, checkcatalog and checkstorage) on

all databases in the 32-bit Adaptive Server and make sure they run cleanly.

2In a new directory, copy the files for the 64-bit Adaptive Server.

3Shut down the 32-bit server.

4Copy the interfaces file and the configuration file from the 32-bit $SYBASE directory to the 64-bit $SYBASE directory.

Installation Guide

87

Page 101
Image 101
Sybase 15.0.2 manual Method #2 BCP data out Method #3 Replacing the binary

15.0.2 specifications

Sybase 15.0.2, a product of the Sybase corporation (now SAP), is a relational database management system (RDBMS) that provides robust solutions for data management, security, and performance. This version builds upon its predecessors, offering improved features and enhancements that cater to both enterprises and developers.

One of the standout features of Sybase 15.0.2 is its advanced performance capabilities. The version introduces optimization enhancements such as the Query Optimizer, which is designed to ensure efficient execution of complex queries. This optimizer analyzes SQL statements and tables to choose the most efficient means of retrieval, thus reducing execution time and improving the overall performance of the database.

Sybase 15.0.2 supports improved scalability, allowing organizations to handle increased workloads without significant changes to their infrastructure. This scalability is crucial for businesses experiencing growth, as it ensures that performance remains consistent and reliable.

Another notable characteristic is the robust security architecture integrated within Sybase 15.0.2. The system includes features like data encryption, user authentication, and authorization mechanisms, making it suitable for environments that handle sensitive information. Database administrators can implement fine-grained access controls to manage user permissions effectively.

Moreover, Sybase 15.0.2 boasts support for a wide range of programming languages and frameworks. This versatility allows developers to build applications using their preferred tools, promoting productivity and ease of integration into existing systems. The database management system also supports various platforms, including Windows and UNIX, enabling diverse deployments across different environments.

In addition to these technological enhancements, Sybase 15.0.2 emphasizes data integrity through its robust transaction management system. It implements the ACID properties (Atomicity, Consistency, Isolation, Durability) to ensure that all database transactions are processed reliably, thereby maintaining the integrity of data even in high-transaction scenarios.

In conclusion, Sybase 15.0.2 is a feature-rich RDBMS that combines performance, scalability, security, and flexibility. Its advanced capabilities not only enhance data management for organizations but also provide a solid foundation for developers seeking to create efficient and secure applications. The improvements in this version make it a compelling choice for enterprises looking to optimize their database operations in an increasingly data-driven world.