Sybase 15.0.2 manual Increasing the log segment size, 115

Models: 15.0.2

1 160
Download 160 pages 32.42 Kb
Page 129
Image 129

CHAPTER 7 Troubleshooting

Example 2 Upgrades all stored procedures in the listdb database. Single quotes are used around procedure because set quoted identifiers is on:

dbcc upgrade_object(listdb, 'procedure')

Example 3 Upgrades all rules and check constraints in the listdb database.

Double quotes are used around rule because set quoted identifiers is off.

dbcc upgrade_object(listdb, "rule")

Example 4 Upgrades all stored procedures named list_proc in the listdb database.

dbcc upgrade_object(listdb, list_proc)

Example 5 Upgrades the stored procedure list_proc, which is owned by the login “jkarrik”.

dbcc upgrade_object(listdb,

 

"listdb.jkarrik.list_proc")

 

Example 6 Returns an error because the value of dbname is master and the

 

value of database is listdb. These values must match.

 

dbcc upgrade_object(master,

 

"listdb.jkarrik.list_proc")

Permissions

Only the Database Owner or a System Administrator can execute dbcc

 

upgrade_object. The Database Owner can upgrade his or her own objects in the

 

database.

 

Upgraded objects retain the same owner that they had prior to being upgraded.

Increasing the log segment size

You can specify that all compiled objects of a particular class should be upgraded in one execution of dbcc upgrade_object; for example, you can upgrade all triggers by using the trigger keyword. However, even though you use only one dbcc command, the upgrade of each object is recorded in a separate transaction; the old row is deleted from sysprocedures and a new row is written. Therefore, if you run dbcc upgrade_object on a large number of compiled objects, your system may run out of log space. Increase the size of the log segment in the databases in which you plan to run this command, to allow sufficient room to log all the upgrades.

Installation Guide

115

Page 129
Image 129
Sybase 15.0.2 manual Increasing the log segment size, 115

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.