Nine new features of DB2 9

Source: Internet
Author: User
Tags db2 client db2 driver ibm db2 xquery

The DB2 Tutorial we are reading is nine new features of DB2 9.

This new data server is the first to achieve seamless interaction between Extensible Markup Language (XML) and relational data without considering the data format, platform, or location. More than 750 software developers from 8 countries have made great efforts to launch Viper. They have carefully designed and debugged it, strive to make it the preferred information engine in the SOA environment .? DB2 9 has made ten significant advances, including patented "purexml" technology, groundbreaking "Venom" Storage compression, and enhanced automated data management capabilities.

1. New XML features:
Without the need to redefine the XML data format or place it in a large database object, IBM DB2 9 allows users to seamlessly manage common relational data and pure XML data. This capability is unique to viper and will help customers increase the practicability, speed, and multi-functionality of their information, while greatly reducing management costs related to existing data management technologies. It will also significantly reduce complexity and reduce the time it takes for common developers to create "applications that access link data and XML data at the same time.

The new XML data type allows customers to store standard XML documents in hierarchical table columns.

Supports SQL statements and XML data types in SQL/XML functions.

Supports the new XQuery language developed by the World Wide Web Consortium (W3C. IBM DB2 9 allows customers to directly call the XQuery language. The calling function can extract XML data from DB2 tables and views.

Supports the retrieval of XML data, improving the query efficiency for XML documents.

To support DB2 ProgrammingProgramThe XML in the language provides support, allowing applications to integrate access and storage of XML and relational data.

2. New applications and development features:

Supports application development tools and new features of native XML data storage, allowing applications to access and store XML and related data.

DB2 developer workbench is a comprehensive development environment that can be used to create, edit, debug, test and deploy DB2 stored procedures and user-defined functions. You can also use developer Workbench to develop SQL applications, create, edit, and run SQL statements and XML queries.

The enhanced DB2 driver for JDBC and sqlj complies with the JDBC 3.0 specification. It also supports sqlj statements.

The functions and features of sqlj statements are similar to those of most JDBC methods.

In addition, it also includes other important features: support for many new data types, DB2's unique support to Z/OS? The reliable connection method, heterogeneous combination, and connection reuse of the Data Server IBM DB2 9. In addition to Visual Studio 2005, it also provides support for Web Services, full support for local XML data storage, and no need to writeCodeYou can build applications and web sites. The enhanced DB2 runtime client supports 64-bit computing and can coexist with other DB2 products on the same computer.

3. added the automatic database management function:

Adaptive and Self-tuning memory allocation. By constantly updating configuration parameters, adjusting the buffer pool size, and dynamically allocating available memory resources, you can simplify or eliminate the configuration of the DB2 server. The DB2 UDB automatic status detection function for Z/OS objects allows users to create and change object policies in the control center wizard, automate the evaluation of object Maintenance policies by enabling DB2 UDB for Z/OS objects.

Automatic Storage is supported to automatically expand the size of databases in disks and file systems. It can now be used for multi-partition databases.

Automatic statistical data collection, which is automatically started when a new database is created.

The prefetchers process and page cleaner are automatically configured according to the environmental characteristics of the DB2 database system.

New policy options for automatic table and index reorganization provide database administrators with more functions for managing table and index reorganization.

4. Enhanced Performance and scalability (storage compression, etc ):

Using row compression technology to compress data objects can help customers save disk storage space and speed up data access.

The statistical data view provides better access plans for improved query functions.

Use custom scripts or programs to speed up data loading.

Enhanced materialized query table (MQT) provides enhanced support for MQT design, better query performance, and better MQT maintenance.

A larger record identifier (RID) allows more data pages for each object and more records for each page in the system. On the one hand, it facilitates database administrators to use temporary tables of systems and users, on the other hand, it is easy to perform classification and login operations.

The index keyword can be up to 64 groups, and the size can be expanded to 8 KB.

5. New security features and enhancements:

Use label-based access control (lbac) to improve row-and column-level data access control.

The authorization level of the new Security Manager (secadm) puts several security-related priorities under a priority name, improving the control of access to information assets.

The "restriction" option added to the "create database" statement enhances control over database access.

The setsessionuser priority improves the control of the person with the power to change the session user's identity. It allows the person in charge of this power to convert to any authorized authorization ID.

The transfer ownership SQL statement provides the ability to change the permission of database objects.

6. Use table partitions to improve management of large databases:

Table Partitioning is a data organization plan in which table data is divided into multiple storage objects called table partitions or ranges based on multiple table columns. These storage objects may be stored in different or identical tablespaces, or both. Advantages of this new feature include:

A large table can be created. Partition tables contain much more data than normal tables. Dividing table data into multiple storage objects helps significantly increase the table size.

More flexible management capabilities. Now, you can manage individual data partitions and divide time-consuming maintenance operations into a series of small operations.

More precise control of index locations. You can manage indexes in different tablespaces.

Quick and easy access to or transfer data. This function is particularly useful in the data warehouse environment, where customers often move in or out of data and run queries that support decision-making.

Improved query functions. Table Partitioning separates data to avoid scanning irrelevant data, thus improving the query processing function.

7. Enhanced data recovery:

Restarting the interrupted recovery operation saves valuable time during database recovery and simplifies recovery.

Supports redirect recovery and automatically generates scripts from existing backup images.

Allows you to recreate a database from a tablespace backup image. This feature makes DB2 recovery more flexible and diversified, while providing customers with more comprehensive recovery solutions.

8. Enhanced self-management performance:

The adaptive and self-tuned memory allocation simplifies memory management. The Self-tuning memory provides dynamic configurations to actively respond to major changes in the workload characteristics.

When a customer creates a database, the automatic statistical data collection function is automatically started. With automatic statistical data collection, IBM DB2 9 automatically runs the runstats utility in the background to ensure correct statistics are collected and maintained.

Automatic Storage for multi-partition Databases. This function can automatically expand the capacity of databases in disks and file systems as needed.

The alter table statement enhancement allows you to change the attributes of some tables without having to stop or recreate a table.

The new policy option provides the database administrator with the new automatic table and index reorganization function.

You can copy the database plan and create a module solution. Once the database administrator creates a module scheme, they can use it as a template for creating a new view.

The new management SQL routines and views provide a basic and easy-to-use programmable interface to facilitate the use of SQL to manage DB2.

The dynamic fast Communication Manager (FCM) buffer and new configuration parameters can be automatically adjusted through the DB2 database manager.

9. Enhanced installation performance:

New CLI Driver (for ODBC and cli ibm? DB2 driver), the customer can install this driver without installing the DB2 client software.

More flexible and effective product authorization management

You can install multiple DB2 versions and release packages on the same computer.

The new response file keyword allows IT staff to install DB2 without interacting with end users.

Automatic evolution-from stinger to Viper

Based on the enhanced features released in version 8.2, the new automatic data management feature in IBM DB2 9 will continue to help improve the production efficiency and effectiveness of database administrators.

Some of the key features include:

Adaptive and Self-tuning memory allocation this new feature simplifies or eliminates the configuration of the DB2 server by constantly updating configuration parameters and adjusting the buffer pool size. Once started, this function dynamically allocates available memory resources between different memory consumption points. In Windows and Aix? In the operating system, the self-tuning memory function can also determine the database

[1] [2] Next

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.