Oracle9i Database New Features
Release 1 (9.0.1)

Part Number A90120-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to next page

2
Oracle9i Database New Features

This chapter discusses Oracle9i Database new features and describes their relevance to the Oracle9i Application Server and Oracle9i Development Suite. New features are organized to report advancements in the categories listed below.

Oracle9i Database

The Oracle9i Database contains important new features that optimize traditional business applications, facilitate critical advancement for internet-based business, and stimulate the emerging hosted application market. New Oracle9i Database features deliver the performance, scalability, and availability essential to hosted service software made available to anyone, anywhere.

The Oracle9i Database offers new transparent, rapid growth clustering capabilities, along with powerful and cost-effective security measures, zero-data-loss safeguards, and real-time intelligence to deliver the power needed in today's dynamic marketplace.

Availability

Oracle9i extends Oracle's leadership in internet database availability, which is critical for any e-business application. Key areas in Oracle9i include the following:

Enhanced Disaster Recovery Environment

Oracle9i sets a new standard for high availability with the introduction of four powerful new features that protect against the most disruptive event an e-business can encounter: downtime. New features provide protection in the following areas:

Disaster Recovery

Oracle9i offers many new features for disaster recovery. Key areas include the following:

LogMiner

LogMiner provides the information necessary for performing recovery operations, tuning, and capacity planning. The Oracle9i LogMiner utility makes it possible to query redo log files, both online and archived, through a SQL interface. LogMiner provides optional tracking of DDL statements, the ability to limit queries to committed transactions, and the ability to perform queries based on actual data values.

LogMiner has also been enhanced in Oracle9i to provide comprehensive log analysis for additional datatypes. LogMiner now supports the following:

LogMiner also displays the primary key and supports queries on the logs based on the content of changes (for example, show all changes to an employee named Smith).

A new graphical user interface as well as other database features make the product easier to learn and use.

Oracle9i LogMiner Viewer

The Oracle LogMiner Viewer provides an easy-to-use graphical user interface to the Oracle9i LogMiner. The LogMiner GUI may be used to query online and archived redo log files to analyze the activity that has taken place in a database. Users can select redo log files, specify filters to be applied to the data, view query results and save the query and results for future use. Oracle LogMiner View is a component of Oracle Enterprise Manager.

See Also:

Oracle9i Database Administrator's Guide for more information about LogMiner 

Oracle9i Data Guard

The Oracle9i Data Guard gives customers new tools for fast recovery in disaster situations through complete, simple, and fully automated "graceful switchover," which makes the former primary usable as the new standby and allows the production processing to be switched back at any time. Data Guard is developed to address real-world failure scenarios, minimizing the need for administrative intervention.

Data Guard Monitoring and Automation

The Oracle9i Data Guard Broker introduces an important advancement in physical standby database management through automated monitoring and control features. Previously, switching to the standby database had been a highly complex administrative task, and switch-back had been very difficult. Data Guard now presents a primary and its standby system as one environment, thus unifying configuration, monitoring and control. Oracle9i Data Guard continually monitors both the primary and standby databases.

Zero Data Loss Log Transport

Oracle9i Data Guard maintains a physical standby database that assures no loss of data during log transport. Log file updates are synchronously written directly from the primary database to the physically identical standby database, making it fully up-to-date at the point of failure in any disaster recovery situation. During log file updates, only log entries for the current transaction are stopped, instead of the entire log file. This "no-loss" disaster recovery solution makes third-party products that mirror online redo logs unnecessary.

Delayed Mode

Delayed mode guards against database administrator mistakes by enabling a time lag that protects against the application of corrupted or erroneous data from the primary to the standby database. Under most circumstances, the standby database automatically applies achieved redo logs by default when they arrive from the primary database. Delayed mode bypasses this default to protect data in the standby database.

System Fault Recovery

Oracle9i provides fast recovery with products improved by the following new features:

Real Application Clusters: Within-seconds Failover

Clustered architecture provides better availability than a single-node configuration by diminishing the server as a single point of failure. In a two-node clustered configuration, a system crash on one node allows the application to continue running on the surviving node. Using Oracle9i Real Application Clusters, failover of operations from a failed primary node to a secondary node occurs automatically within seconds, minimizing impact on application and data availability.

Oracle Application Clusters Guard

Oracle Application Clusters Guard, formerly Oracle Parallel Failsafe, is an enhanced configuration of Oracle9i Real Application Clusters. It tightly integrates enhanced recovery features with the cluster framework of the platform to provide a configuration that leverages the best high-availability technology each partner has to offer.

The Oracle Application Clusters Guard architecture is designed to build on the strengths of traditional high-availability solutions and provide the following functions:

Oracle9i Fail Safe: Four-Node Failover

Oracle9i Fail Safe Configuration for Windows provides the high availability and protection from system failures e-businesses demand on Windows NT and Windows 2000 clustered architectures. Oracle9i Fail Safe provides failover processes for database and application servers in both 2- and 4-node Windows NT and Windows 2000 clusters.

Fast-Start Fault Recovery

Oracle9i introduces an enhancement to Fast-Start Fault Recovery that allows database administrators to specify the expected mean time to recover (MTTR), which is the expected amount of time Oracle takes to recover a single instance.

Fast Instance Freeze and Resume

A common challenge facing database administrators is the trade-off between identifying the cause of a failure and ensuring that normal service is resumed as soon as possible. By invoking Flash Freeze, the database administrator can take a diagnostic snapshot of the entire system at the time of failure, quickly restart the database, then make a diagnostic analysis offline.

Human Error Safeguards

Oracle9i eases the challenge of failures or downtime due to human errors, including erroneous or out-of-sequence updates.

Oracle9i Flashback Query

Oracle9i Flashback Query lets users and applications query data as it appeared in the past. Using this flashback parameter, a user can specify a date and time, then issue standard queries on the data as it appeared on the specified time. Once the errors are identified, undoing the updates is a straightforward process that can be done without intervention from the database administrator. More importantly, the restoration can be achieved with no database downtime.

Comprehensive Log Analysis

Identification of updates is also achieved by analyzing of the database log files. Oracle9i LogMiner is a utility that allows log files, online or archived, to be read, analyzed, and interpreted using a SQL interface. By using Oracle9i LogMiner, database administrators can now examine all updates to the database, including all data manipulation, definition, and administration commands.

Resumable Space Allocation

Certain large, long-running operations such as data uploads and complex update processes may run out of resources (disk space, for example) before completion. Unsuccessful completion of long-running operations can be time-consuming to resolve. Oracle9i addresses this challenge by enabling database administrators to suspend operations that cannot be completed. Once the operation has been suspended, the database administrator can resolve the resource issue, then allow the statement to resume from the point of interruption.

Planned Downtime

Oracle9i allows comprehensive planned maintenance operations, which previously required downtime, to run during normal usage.

Online Schema Changes

Oracle9i provides the mechanism to redefine the table structures while keeping them online and fully accessible to users and applications.

Online Table and Index Reorganization

Oracle9i also provides a simple mechanism to reorganize and redefine tables while keeping them online and available to application users. Oracle9i online table and index reorganization reduces planned downtime, increases application availability, reduces disk fragmentation, and improves application performance.

Complete Online Index Operations

With Oracle9i, all table indexes can be created and re-created online. With this capability, users can continue to run their applications during table index creation.

Dynamic Database Parameters

Oracle9i database parameter settings that affect database server memory use can now be reset online. This allows the database administrator to take databases offline and then restart them for parameter settings to take effect.

Online Data Evolution

Oracle9i contains a new online reorganization and redefinition architecture that allows much more powerful reorganization capabilities. Administrators can now perform a variety of online operations to table definitions, including online reorganization of heap-organized tables. This makes it possible to reorganize a table while users have full access to it.

New Online Architecture

Oracle9i now allows an online CREATE TABLE AS SELECT operation. In this new architecture, contents of a table are copied into a new table. While the contents are copied, updates to the original table are tracked by the database. After the copy is made, updates are applied to the new table.

After the updates are applied, indexes can be created on the new table. After indexes are created, any additional updates are applied and the result table replaces the original table. The table is only locked in exclusive mode, very briefly, at the beginning and end of the operation, when the dictionary data is updated.

This new online architecture provides the following capabilities:

Other New Capabilities

Administrators can also rapidly quiesce the database to perform operations that demand no active transactions. Also, with Oracle9i, the buffer cache and the shared pool can be resized dynamically. Oracle9i can also validate the structure of an object (ANALYZE VALIDATE) while the object is online and accessed by users.

Precision Database Repair

Oracle9i includes better prevention and improved handling of log file corruption, reducing the risk of extended downtimes due to these failures. It is able to restore the database to a consistent state after log corruption is detected during recovery. If corruption needs to be repaired through media recovery, a new block media recovery feature allows only the corrupt blocks to be recovered while the remainder of the table is online.

Rapid Crash Recovery

Oracle9i can also recover from crashes more quickly using a new two-pass recovery algorithm that ensures that only the blocks that need to be processed are read from and written to the datafiles. A new time-based mean time to recover (MTTR) parameter also makes it much easier to set a limit on crash recovery time.

Improved Failed State Diagnostics

Oracle9i also includes improved diagnosis of a failed instance and allows diagnostics to be read after recovery on the failed state. This helps diagnose the cause of the failure after its first occurrence, rather than requiring users to set events that capture data in future failures.

Faster Failure Detection

For multi-node systems, Oracle9i provides faster failure detection, for instance, node and network failures, and reconfiguration for Oracle9i Real Application Clusters, reducing downtime due to a system fault.

Oracle Fail Safe Enhancements

Oracle Fail Safe for Windows has been enhanced to take advantage of multi-node clusters, using the enhanced functionality of Windows 2000. This allows for configurations where multiple databases on multiple nodes share a common backup node, reducing the cost of providing redundancy to multiple applications.

See Also:

 

Scalability

Oracle9i makes it possible to scale the most demanding e-business applications with intensive transaction loads, and thus support large populations of Internet users. Key areas of advancement include the following:

Increased Transaction Throughput on Oracle9i Real Application Clusters

The new phase of Cache Fusion, as well as a new clustered file system, allows customers to take advantage of the scalability provided by Oracle9i Real Application Clusters with little or no performance overhead. Oracle9i Real Application Clusters replaces Oracle Parallel Server.

Because the full Cache Fusion implementation in Oracle9i eliminates the latencies associated with disk-based cache coordination, applications can scale effectively without having to be cluster-aware. By using the collective caches of all the nodes in the cluster to satisfy database requests, Oracle9i Real Application Clusters provide these unique capabilities:

Cache Fusion Architecture

In the Cache Fusion architecture, read requests can be served by any of the memory caches in the cluster database. When data is being updated, coordination between the caches of each server becomes necessary so that both the data being read and the data being updated are consistent and correct.

Automatic "Fusing of Caches"

If the query request is served by a remote cache, then the block is transferred across the high speed cluster connection from one node's cache to another. This "fusing of the caches" happens automatically and is transparent to the application. This process is the key technology that provides fast, efficient scaling of Real Application Clusters.

Reduces Disk I/O

Query requests can now be satisfied by the local cache or any of the other caches. This reduces disk I/O. Update operations do not require disk I/O for synchronization because the local node can obtain the needed block directly from any of the cluster database node caches. Expensive disk I/Os are performed only when none of the collective caches contain the necessary data and when an update transaction performs a COMMIT operation that requires disk write guarantees. This implementation effectively expands the working set of the database cache and reduces disk I/O to dramatically speed up database operation.

Cluster Treated as Scalable Single System

Oracle9i Cache Fusion directly ships data blocks from one node's cache to another node's cache when there is read/read, write/read, and write/write contention. This builds on the previous Oracle8i Cache Fusion implementation that handled read/write contention. This is the first time in an off-the-shelf application that a cluster can be treated as a truly scalable single system.

Additional New Features for Oracle9i Real Application Clusters

Oracle9i Real Application Clusters has the following additional new features and improvements:

Scalable Session State Management

New shared memory capabilities, improvements in Java session support, and networking and Oracle shared server improvements substantially reduce the footprint required for each user on Oracle9i. This allows more users to be hosted on the same or larger hardware platforms.

Fine-Grained, Automatic Resource Management

Oracle9i includes several new features that enhance resource management.

Granular Control Over Resources

The Database Resource Manager has been significantly enhanced in Oracle9i to allow for more granular control over resources. It adds features such as automatic consumer group switching, maximum active sessions control, query execution time estimation, and undo pool quotas for consumer groups. Administrators are able to specify the maximum number of concurrently active sessions in each consumer group. Once this limit is reached, Database Resource Manager queues all subsequent requests and runs them only after existing active sessions complete.

Automatic Consumer Group Switching

The automatic consumer group switching feature of Oracle9i allows the administrator to specify criteria which, if met, will cause the Database Resource Manager to automatically switch the consumer group of a long-running session: for instance, from a consumer group set up for OLTP operations, to one more suited for batch reporting.

Administrators are also able to set a maximum estimated execution time for each consumer group. The Database Resource Manager then estimates the approximate query execution time for each operation before it begins, and will abort the operation if it exceeds the limit specified.

Undo Pool Quota

With the undo pool quota feature, administrators can specify a maximum on the total amount of rollback data generated per resource consumer group. This prevents a rogue transaction from consuming excessive rollback space and thus impacting system operation.

Performance

Oracle9i continues to demonstrate leading performance in all relevant areas. Various performance measurement and tuning projects continue to measure, tune, and improve Oracle9i runtime performance in all areas.

Native Compilation and Improved PL/SQL Optimization

A major focus of Oracle9i is improving performance in areas critical to e-business solutions. Support for native compilation and improved optimization of PL/SQL improves the performance of many of today's business applications, often significantly. The addition of memory and CPU costs to the cost-based optimizer results in better optimization plans, less resource usage, and faster overall performance.

Latch Contention Improvements

in several areas has been eliminated or reduced, which improves performance on highly active systems. General I/O improvements, including self-tuning direct I/O, prefetching, and skip/scan row source operations on indexes also improve performance in data warehouse and OLTP environments.

Enhanced Java Performance

For Java, improved garbage collection, better native compilation, increased object sharing, and session pinning have all improved the performance of built-in Java executing inside the database. JDBC and SQLJ performance improvements have also improved the performance of Java in the middle tier or on the client.

Network and Distributed Database Performance

has been improved by the rework of database-to-database communication using OCI. In addition, specific network interface optimization, new improved virtual circuit I/O, and a unified event/wait model all substantially improve client/server communication performance. Improved distributed query optimization has also been built into the optimizer.

See Also:

 

Security

Oracle9i provides the most secure internet platform for protecting company information by minimizing risks through enhanced security for data, users and for companies.

Security for Data

The best way to minimize security risk is to provide multiple layers of security mechanisms, so that failure of a single mechanism does not compromise critical information. This concept is referred to as deep data protection, or security for data.

The Oracle9i database provides deep data protection through enhancements to the Virtual Private Database (VPD) and Selective Data Encryption capabilities, as well as through new technologies called Oracle Label Security and fine-grained auditing.

Virtual Private Database offers partitioned fine-grained access control whereby each user can only access rows of data that pertain to them. Oracle Label Security extends VPD functionality by offering label-based data access. By attaching access control directly to the data, security cannot be bypassed. This technology is ideal for application service providers who host multiple companies' data in the same database and therefore need to separate the data securely.

Selective data encryption ensures that very sensitive data in the database is hidden from database administrators, from privileged database users who may abuse their privileges, and from malicious users attempting to read data files from the operating system.

Fine-grained auditing keeps track of all database activity, including what statements users execute and the information that was returned. This hinders users from abusing their privileges since auditing tracks illegal actions. All of these technologies provide deep data protection, so that if one security mechanism fails, there are subsequent lines of defense.

Security for Users

Security mechanisms must be large enough to support thousands or millions of users over the Internet, yet still be practical to administer. Oracle9i offers a number of security features tailored to building internet-scale applications to provide security for users. These include enhancements to the database's proxy authentication, Public Key Infrastructure (PKI) support, and the new applications server feature for Web Single Sign-On. Together, these features allow enterprises to identify users throughout all tiers of the network. No longer does the middle tier establish a single connection to the database on behalf of the Web user. Proxy authentication creates multiple, scalable lightweight database sessions to carry the identity of the Web user, enabling fine-grained access control and fine-grained auditing of the Web user.

Web Single Sign-On is offered with the Login Server component of the application server's portal services. With Single Sign-On, users need to only maintain a single user name and password account for accessing all Web applications throughout the enterprise. System administrators have a single LDAP directory, the Oracle Internet Directory, to manage all access control information. By centralizing user access information, Oracle Internet Directory not only provides better security for the enterprise, but also lowers total cost of ownership.

Oracle also supplies PKI integration for easier deployment and management of PKI in the enterprise. For example, digital certificates issued by Entrust can be used to authenticate to the Oracle environment.

All of these technologies allow companies to increase access management without increasing administrative complexity.

Security for Companies

A critical security requirement confronting the hosting environment is keeping data from different hosted user communities separate. One way of doing this is to create physically separate systems for each hosted community; however, this approach is costly.

The Oracle9i database greatly reduces cost for a hosting provider by offering mechanisms to allow multiple user communities to share a single hardware and software instance. This scheme ensures each user community's data is kept separate by using Oracle9i's Virtual Private Database and Oracle Label Security technologies.

Oracle9i continues to provide the most secure application development and deployment platform in the industry. Key areas include the following:

Strong Three-Tier Security

Three-tier security is enhanced by proxy authentication, including:

An extensible, secure application role can force a user to access the database through a middle tier. Another feature assures that user identities are maintained securely through all tiers of an application, with centralized user and privilege management in LDAP-based directories.

API Enhancements

To aid the developer in using LDAP server functionality, enhancements in several APIs have been made. The PL/SQL API to LDAP (known as DBMS LDAP) permits any PL/SQL code to perform any LDAP operation. This API is now supported through all database operation modes (Oracle Shared Server and dedicated server). In addition, a new API set has been added to the PL/SQL UTL_HTTP package. New API functions have also been added to provide asynchronous operations.

Other New Packages

Other new packages include UTL_URL and UTL_ENCODE, which is used to encode email messages, and the UTL_URL package which performs exit and return functions on URLs.

Existing UTL_TCP and UTL_SMTP packages have been enhanced to support transfer time-out in Oracle9i. The existing UTL_INADDR package has been enhanced to support reverse domain name resolution (DNS) in Oracle9i.

Directory Access Utilities

Additional utilities to access directory structures have been added to the C API to LDAP. JNDI standard protocol extensions can now be recognized by Oracle Internet Directory.

Proxy authentication allows users without schemas to access the database through the middle tier.

See Also:

 

Security for Hosting Environments

Hosting security is provided through the following:

Virtual Private Database (VPD) Enhancements

Virtual Private Database enhancements include partitioned fine-grained access control (security enforcement depending on which application accesses data) and connection pooling through a global or shared application context.

Fine-grained auditing offers selective audit of SELECT statements, with bind variables, based on relevant column access, significantly enhancing per-user accountability.

Login Server (included with Oracle Portal 3.0) provides web-based Single Sign-On and integration with legacy applications. With Single Sign-On, users are able to authenticate (log in) once and gain access to multiple Web services, without having to remember credentials and authenticate again for each service.

See Also:

 

Standards-Based Public Key Infrastructure (PKI)

Standards-based public key infrastructure (PKI) includes support for PKCS#12 certificates. They enable existing PKI credentials to be shared by an Oracle Wallet, thus reducing PKI deployment costs and increasing interoperability. Wallets can be downloaded from LDAP directories, supporting mobile users. The SSL libraries used in Oracle9i now also support hardware acceleration for improved performance. Oracle9i supports enhanced wallet password management.

See Also:

Oracle Advanced Security Administrator's Guide 

Improved User and Security Policy Management

Oracle9i supports LDAP technology to centrally manage network naming, easing deployments whether customers have one or hundreds of databases with tens of thousands or millions of users. Oracle9i supports Oracle Internet Directory, Novell Directory Services, and Microsoft Active Directory. Oracle9i supports native authentication using Microsoft Active Directory.

Enterprise User Management Enhancements

Improved user and security policy management is provided through Enterprise User Management enhancements, include management of password-based users in LDAP directories and a management tool for VPD policies. Security policies can be organized into groups. By referring to the application context, the Oracle server determines which group of policies should be in effect at runtime. The server enforces all the policies which belong to that policy group.

Password Encryption

User passwords can also be encrypted using either standard or custom crypto schemes. Oracle Internet Directory supports an IETF LDAP standard for representing prefixed user passwords where the prefixes identify the crypto scheme used for hashing the password values. A default hashing mechanism may be chosen from a variety of standard schemes, including MD5, SHA-1, and Unix "crypt." Values hashed by external agents may also be stored. This is useful when external authentication service agents want to use custom crypto schemes.

Secure Random Number Generator

The DBMS_OBFUSCATION_TOOLKIT now includes a secure random number generator, GetKey. Secure random number generation is a very important aspect of cryptography; predictable cryptographic keys can easily be decrypted by a person or machine performing crypto analysis.


Note:

DBMS_RANDOM is unsuitable for generating cryptographic keys, and should never be used for this purpose. 


Oracle Internet Directory Administration Improvements

Administration of Oracle Internet Directory replication server has also been improved with the provision of new replication queue management and reconciliation tools. The replication queue management tool allows administrators object-by-object control over the elements in the human intervention queue, for the purposes of retrying object processing at will and deletion of objects from the queue. The replication reconciliation tool permits administrators to detect and correct inconsistencies among directory replicas.

A new web-based Oracle Internet Directory Self-Service Administration servlet enables users to administer their own personalized data over the Web. Directory administrators can restrict the set of attributes users are allowed to self-administer, including group memberships. Extended support for ACLs governing user self-administration of membership allows authenticated users to add their own Distinguished Names (DNs) to membership of a LDAP group object or any object type that holds membership information, including roles and proprietary subscriber lists.

Directory Services Availability Improvements

Several enhancements have also been made to increase the availability of directory services. Certification with certain limited Oracle9i Real Application Cluster configurations improves availability both for the front end, where the LDAP directory service and replication processes reside, and the back end Oracle RDBMS, where the directory data is stored. Support for logical hosts in clusters allows failover to a different physical host within the same cluster and also transparently supports continued availability of directory replication. New procedures allow for multi-node topology reconfiguration and upgrade with no directory service downtime.

LDAP server scalability and performance

Several key enhancements have further increased LDAP server scalability and performance. Multi-process support for higher-concurrency LDAP access has been improved through a more scalable directory metadata cache coherency protocol. IETF-compliant support for LDAP referral objects enables partitioned LDAP directories. This allows delegated administration of physical directory segments and is critical for service providers and enterprises hosting large directories for a federation of autonomous organizations. By employing parallelism, the capacity of bulk-load, bulk-delete, and bulk-modify tools have been enhanced to handle much larger data sets.

Optimization of Server-Side Caching

Optimization of server-side caching at startup on group objects reduces LDAP server startup latency and improves performance of access control evaluations. Finally, the ability of Oracle Internet Directory to consult access control information has been enhanced significantly such that the evaluation decisions are made efficiently even when there are very large numbers of ACL policies to be consulted.

See Also:

 

Data Encryption and Label Security

Encryption enhancements include Java Cryptographic Architecture (JCA) and Java Cryptographic Extensions (JCE), supporting most popular algorithms for encryption and data integrity.

Oracle Label Security

Oracle Label Security is a fine-grained access control product. It adds a special label to data rows, providing sophisticated and flexible row label security. It is built on the Oracle9i Virtual Private Database technology. Oracle Label Security is based on labeling concepts used by government and defense organizations to protect sensitive information and provide data separation. Application hosting, health care and other industries can also take advantage of data labeling to help solve security requirements in the Internet Age. For example, in application hosting, a subscriber label can be used to separate data among subscribers in the same application.

Oracle Label Security is enforced within the database, providing security even if the application is bypassed. Label provides a dimension of access control that is not easily achieved using existing application data. Oracle Label Security also includes a sophisticated policy management tool, to manage policies, labels, and user label authorizations. Oracle Label Security is an out-of-the-box fine-grained access control solution.

Oracle Policy Manager

Oracle Policy Manager is an extension to Oracle Enterprise Manager that administers Oracle Label Security. The Oracle Policy Manager graphical user interface contains a tree structure that lists policies, along with their labels, authorizations, and protected objects.

See Also:

 

Manageability

Oracle9i Systems Management

Management is one of the key areas of improvement for Oracle9i. One of the major objectives of Oracle9i has been to make the database server inherently self managing/tuning. Features such as Automatic Undo Management, Automatic SQL Execution Memory Management and Automatic Segment-Space Management are some of the features that enable database administrators to delegate many day-to-day administrative tasks to the server.

Oracle9i's integrated system management tools create a complete view of all processes critical to the database and host, making it possible to quickly and completely assesses the overall health of an e-business infrastructure.

Oracle9i management advancements include the following features:

Database Self-Management

Oracle9i includes several new features that make the database server more autonomous and self-managing.

Self-Managing Undo Features

Oracle9i databases are capable of managing their own undo (rollback) segments. No longer will administrators need to carefully plan and tune the number and sizes of rollback segments or decide how to strategically assign transactions to a particular rollback segment. Oracle9i also allows administrators to allocate their undo space in a single undo tablespace with the database taking care of issues such as undo block contention, consistent read retention, and space utilization.

See Also:

Oracle9i Database Administrator's Guide 

Memory Management

Memory management is another area which has been given significant attention in Oracle9i. Traditionally, administrators have needed to shut down the instance in order to grow or shrink System Global Area (SGA) components. Oracle9i introduces a dynamic memory management feature which allows for dynamically resizing the buffer cache and shared pool. It also includes a buffer cache size advice mechanism that predicts the performance of running with different sizes for the buffer cache.

See Also:

Oracle9i Database Administrator's Guide  

Working Memory Management

Oracle9i provides transparent management of working memory for SQL execution by self-tuning the initialization runtime parameters that control allocation of private memory. This feature helps low-end users to reduce the time and effort required to tune memory parameters for their data warehouse and reporting applications, while high-end users are able to avoid memory tuning for individual work loads.

See Also:

Oracle9i Database Performance Guide and Reference 

Streamlined Operational Management of the Database

Several new features simply administration of the Oracle9i database.

Persistent Initialization Parameters

Other traditional management areas of the database are also improved. With the introduction of a persistent parameter initialization feature in Oracle9i, parameter changes persist across database shutdowns and startups. This feature also allows the administrator to start the database from remote machines without a local copy of the parameter initialization file. This helps database performance tuning because parameter changes made by performance management tools, such as Oracle Enterprise Manager and changes made by internal self-tuning, now persist across shutdowns.

Oracle Database Configuration Assistant

The Oracle Database Configuration Assistant has been redesigned to include saved definitions of databases in the form of templates. The templates may be used to generate databases. Oracle provides templates. In addition, users can create their own by modifying existing templates, defining new ones, or by capturing the definition of an existing database.

When creating a database with the Database Configuration Assistant, users can include Oracle's new Sample Schemas, or they may be added later add as an option. These schemas are the basis for many of the examples used in Oracle documentation.

Oracle-Managed Files

Oracle9i introduces also the concept of Oracle-managed files. This simplifies database administration because it is not necessary for administrators to directly manage files comprising an Oracle database. Instead, Oracle9i uses standard file system interfaces internally to create and delete files as needed. While administrators still must be involved in space planning and administration, Oracle-managed files automates the routine task of creation and deletion of database files. Operating system files associated with a temporary file can be deleted. With the introduction of default temporary tablespace, the SYSTEM tablespace is no longer used as the default storage location for temporary data.

Resumable Space Allocation

Resumable Space Allocation, another feature introduce in Oracle9i, allows an administrator to temporarily suspend a large operation, such as a batch update or data load, if they start to encounter out-of-space errors. This allows the administrator to fix the problem, and resume the operation from the point of interruption without disrupting normal database operation.

Corresponding Sub-Cache Configuration

Oracle9i also supports databases created with multiple block sizes and allows administrators to configure corresponding sub-caches within each alternative block size. This capability allows administrators to locate objects in tablespaces of appropriate block size in order to maximize I/O performance. It also allows tablespaces more easily to be transported between different databases, for example, from an OLTP environment to a data warehousing environment.

See Also:

Oracle9i Database Administrator's Guide  

Mean Time to Recover (MTTR) Specification

Oracle9i also allows for better control over database downtime by enabling administrators to specify the mean time to recover (MTTR) from system failures in numbers of seconds. This feature, coupled with more dynamic initialization parameters, helps administrators further improve database availability.

SQL Queryable Through V$SQL_PLAN View

The execution plan of a SQL statement in the shared pool is now queryable through the view V$SQL_PLAN. The data contained within this view is similar to that of EXPLAIN PLAN; the difference is EXPLAIN PLAN shows a theoretical plan should the statement be executed, whereas V$SQL_PLAN shows the actual plan used to execute the statement.

Parameter Changes Persist Across Shutdowns

Database administration is simplified because parameter changes made through performance management tools, such as Oracle Enterprise Manager and changes made by internal self-tuning parameters, now persist across shutdowns.

See Also:

Oracle9i Database Performance Guide and Reference  

Enhanced Recovery Manager (RMAN) Performance

To ease backup and recovery operations, Recovery Manager in Oracle9i provides the following new features:

Persistent RMAN Configuration

Oracle9i introduces many new features and enhancements that increase manageability and greatly expand functionality. Persistent RMAN settings can be created for automatic channels, channel parallelism, retention policies, backup options, and auxiliary filenames, and applied to any session. Thus, channel settings no longer have to be manually allocated.

Recovery Window

Recovery Manager implements a recovery window, which is a new policy that controls when backups expire. Recovery Manager also automatically marks as obsolete all backups and archived logs no longer required to restore the database to a point in time during the recovery window. These features are designed to reduce the time and effort administrators spend in performing routine backup activities tasks through automation of the most commonly performed tasks.

Block Media Recovery

Block media recovery can perform media recovery on individual blocks in a datafile while the datafile remains online. The block media recovery feature is only available with RMAN.

Miscellaneous Manageability Enhancements

The new control file auto backup feature allows for restoring or recovering a database even when a Recovery Manager repository is not available. Recovery Manager in Oracle9i also features enhanced reporting and a more user-friendly interface.

See Also:

Oracle9i Recovery Manager User's Guide 

Improvements in user-managed backup and recovery include the following:

Simplification of Oracle9i Administration Through Oracle Enterprise Manager

In Oracle9i, Oracle Enterprise Manager (OEM) continues to provide easy-to-use management tools that support the new capabilities of the database and the entire e-business platform.

Oracle Enterprise Manager GUI

The Oracle Enterprise Manager graphical interface makes it simple to adopt and manage new components such as Oracle 9iFS, Oracle Internet Directory, Oracle Express, and Oracle iAS.

Connection Established Before Start-up

In Oracle9i, Oracle Enterprise Manager has the ability to connect to multiple target databases without having started the Oracle Management Server.

Diagnostics, Problem Resolution, and Reporting

To further simplify management tasks, Oracle Enterprise Manager has been enhanced to include guided, expert diagnostics and problem resolution, as well as greatly enhanced reporting capabilities. Oracle has consolidated the wealth of expert knowledge and experience of its development and consulting teams into Oracle Enterprise Manager.

Advice-Incorporated Tools

Advice and recommendations about properly configuring an Oracle environment, effectively monitoring its performance, and quickly resolving problems has been incorporated directly into the Oracle Enterprise Manager management tools. For example, administrators can instantly display a set of overview charts that show the overall health of their system, with indicators that automatically alert administrators to potential problem areas. Drilldowns from these problem areas then quickly guide administrators through the proper steps required to diagnose problems.

Browser-Managed Functions

All essential management functions are also Web-based, so administrators can manage their systems directly from a Web browser. Tools such as DBA*Studio are consolidated into the integrated management console. Oracle Enterprise Manager can also publish detailed reports to a Web site, allowing administrators easy access to any systems management information they wish to publish.

Management of the Oracle Stack Through Oracle Enterprise Manager

In Oracle9i, Oracle Enterprise Manager also allows administrators to go beyond monitoring the performance of single systems like a database. In this release, administrators are able to monitor the response of their entire Oracle-based system and ensure that they are meeting the required business service level agreements. This capability is critical to users such as application service providers, e-business sites, or any business whose success depends on maintaining superior response time, performance, and availability of their IT systems.

Service-Level Degradation Alerts

Oracle Enterprise Manager allows administrators to monitor service levels and automatically alert to any degradation in performance. Extensive service level reports are also available, giving a complete picture of the performance of the system.

Reporting Capabilities Enhanced

In addition to service level reports, reporting capabilities throughout all of Oracle Enterprise Manager have been significantly enhanced. A comprehensive set of predefined reports are included that document the configuration and health of the entire Oracle environment. Reports can be generated, for example, on the configuration of databases, the performance of applications over the last week, or the current load on the system. Customized reports can also be generated using a site's own data or by mixing and matching the predefined report topics that Oracle Enterprise Manager provides. These reports can be automatically generated and posted to a Web site for convenient access across the organization.

Development Platform for E-Business Applications

Oracle9i continues to offer the best development platform for e-business and traditional application development. Key areas include the following:

Enterprise Java Engine

Oracle9i JVM (previously JServer) extends its support for Java 2 Enterprise Edition APIs and containers through the following features:

The Oracle9i JVM that is embedded in both Oracle9i and Oracle iAS allows reliable, flexible, scalable, and secure e-business applications deployment.

New XML Features in the Server

Oracle9i introduces the following new XML features in the server:

XMLType

XMLType stores XML content natively and allows XML operations to be run from SQL.

XMLType enables non-native XML data to be treated as XML by allowing users to create an XML View over standard database tables, documents, or web content. Thus, the same high-performance access to XML data is available whether data is natively XML, or an artifact generated from existing data.

XML Generation

In response to the challenge of generating XML in bulk from a database, XML generation capabilities have been moved into the database and application server kernels and made available as built-in SQL operators. The kernel proximity of these operators ensures massively sustainable throughputs, enough for the largest content repositories or the busiest exchanges.

Arrive Data Types

A universal content model for all kinds of data and documents can be created through a set of native Arrive data types, which can hold references to XML documents or fragments (inside or outside the database). Just as applications locate HTML files using URL, a set of native Arrive data types can locate XML content, native or generated, inside the database or outside, using Arrive. URI-Refs play a major role in creating database-backed content repositories, which can be used to be feed portals, archives, or other content management systems.

See Also:

Oracle9i SQL Reference for information about datatypes 

Oracle XML Developer's Kit

Oracle9i features several enhanced database operations to store XML through SQL and render traditional database data as XML. These functionalities are required to support business-to-business and business-to-customer e-business, packaged applications, and internet content management. The main area of XML support in Oracle9i is built-in XML Developer Kits (XDKs).

With Java pre-loaded and the C XDK linked into Oracle9i, developers are able to easily access World Wide Web Consortium (W3C) functionalities that generate, manipulate, render, and store XML-formatted data in Oracle9i. Also available in PL/SQL and C++, the XDKs offer XML/XSLT parsers, XML schema processors, XML Class Generators, XML Transviewer Beans, and the XSQL Servlet, providing basic building block features that allow developers to quickly enable their applications for XML.

See Also:

 

SQL and PL/SQL Improvements

SQL and PL/SQL have continued to be improved in Oracle9i to meet current development requirements.

Multi-language server side debugging has been added, allowing integrated development environments to debug both Java and PL/SQL within the same framework.

Support for inheritance and multilevel collections completes the modeling capabilities of the object-relational subsystem in Oracle9i. This makes it possible to build complex models inside the database. In addition, Oracle9i supports type evolution: certain changes may be made to object types even if instances of the types exist in the database. Both types of support make it easier to deploy complex applications in real-life environments.

New ANSI requirements are also supported, including support for the CASE statement, ANSI-compliant joins, and reserved name versioning. To aid migration to Oracle9i from other databases, scrolling cursor support has been added, and stored procedures can now return result sets that can be easily passed and pipelined between both database and client side processes.

SQL Improvements

The following datatypes are new for Oracle9i:

TIMESTAMP
TIMESTAMP WITH [LOCAL]TIME ZONE INTERVAL YEAR TO MONTH
INTERVAL DAY TO SECOND
XMLtype, native XML datatype
SYS.UriType, SYS.UriFactoryType
SYS.ANYType, SYS.AnyData, SYS.AnyDataSet
MDSYS.SDO_GEOMETRY, new spatial datatype
ORDSYS.ORDImage - media type
ORDSYS.ORDVideo - media type
ORDSYS.ORDAudio - media type

The following built-in SQL functions are new for Oracle9i:

ASCIISTR
COMPOSE
COALESCE
CURRENT_DATE
CURRENT_TIMESTAMP
DBTIMEZONE
DECOMPOSE
FIRST
FROM_TZ
LAST
LOCALTIMESTAMP
NULLIF
NUMTOYMINTERVAL
INTERVAL YEAR to MONTH
NUMTODSINTERVAL
INTERVAL DAY TO SECOND
PERCENTILECONT
PERCENTILEDISC
SESSIONTIMEZONE
SYS_EXTRACT_UTC
SYSTIMESTAMP
TO_DSINTERVAL
TO_TIMESTAMP
TO_YMLITERAL
TZ_OFFSET
UNISTR
WIDTH_BUCKET

The following built-in SQL expressions are new for Oracle9i:

DATETIME EXPRESSION
EXTRACT
INTERVAL

The following built-in SQL condition is new for Oracle9i:

IS OF type condition

The following top-level SQL statements are new for Oracle9i:

CREATE PFILE
CREATE SPFILE
MERGE

See Also:

Oracle9i SQL Reference for new datatypes and SQL definitions. 

PL/SQL Improvements

Oracle9i includes a PL/SQL package, DBMS_METADATA, which provides interfaces for extracting complete definitions of database objects. The definitions can be expressed either as XML or as SQL DDL. Two styles of interface are provided:

Other improvements to PL/SQL include:

Windows Integration

Oracle9i reinforces Oracle's lead as the platform of choice for organizations deploying on Windows 2000. Key areas include the following:

Integration Capabilities

Oracle9i supports several versions of Microsoft Windows, including Windows 2000 and Windows NT.

Oracle9i supports enhanced integration with Microsoft Transaction Services and Internet Information Services. The PKI infrastructure and Single Sign-On capabilities in Oracle9i have also been well integrated with Windows 2000, Active Directory, and Microsoft Certificate Store.

Development and Deployment Improvements

Oracle9i Development and Deployment Improvements are as follow:

Internet Content Management

Oracle9i allows customers to store, manage and aggregate all types of multimedia content into a single database. Oracle9i significantly enhances the capabilities of the database to serve as a platform to create, manage, and deliver internet content. Key areas are:

Storage, Management, and Aggregation of All Types of Content

Oracle9i includes the version 1.2 release of the Oracle Internet File System (Oracle 9iFS). Providing the best of both the relational database and file system worlds, Oracle 9iFS delivers an out-of-the-box file system with built-in capabilities unavailable in other file systems.

All of this functionality has the ease of the file systems' interface that users already know how to use.

Oracle 9iFS exposes all of its capabilities through Java, making it an excellent platform for building applications with content management applications.

With Oracle9i, 9iFS adds more content management features, such as WebDAV, an emerging standard for Internet collaboration.

Oracle 9iFS also will be incorporated into the file system interMedia's capabilities to index, search, and manipulate graphics, audio, and video.

Oracle9i includes enhancements to interMedia image, audio, and video support. Oracle9i greatly simplifies the ability to add multimedia formats, processing, and rendering by incorporating Java Advanced Imaging (JAI) into the database and providing support for the Java Media Framework (JMF) in interMedia. interMedia now supports PNG and EXIF image formats.

A new browser-based version of the clipboard supports insert, retrieve and annotate media objects in Oracle9i. Improvements to the image search capabilities and support for storage and delivery of streaming media with new streaming formats and plug-ins are also part of Oracle9i. In addition, interMedia's audio, video, and image media processing services are now accessible in native form through relational PL/SQL and JAVA interfaces.

See Also:

 

Efficient Searching and Indexing of All Types of Content

Oracle9i also adds Internet search, powerful facilities to extract and index metadata from rich content, and the ability to search XML and catalog structures. With this release, all content in Oracle9i can be location-enabled and mobile-ready to allow it to be searched and delivered based on where the request is coming from (such as mobile phone and internet personalization criteria) or its location association.

Oracle Ultra Search

New in the Oracle9i release, Oracle Ultra Search is able to search inside a database, as well as static HTML pages. Other search engines cannot see content inside a database, and would not be able to find documents, newspaper articles, etc., stored inside a database. Oracle Ultra Search unifies search areas across heterogeneous corporate repositories, Web sites, and groupware content. Oracle Ultra Search includes a Web interface, Web crawling, and search administration facilities to provide a unified interface for enterprise and vertical portal search applications.

Oracle9i Text

In order to meet the demands of e-business applications, Oracle9i Text indexing has been improved in Oracle9i with a new indextype designed to perform very fast searches across volumes of short textual descriptions. This is ideal for catalog and metadata search as well as for searching of auction data and resumes. With Oracle9i, text search of nested XML elements, search attribute values, XPath query syntax, and other advanced XML structures are also all supported.

interMedia Annotator

Media and document metadata can be extracted, indexed, and mapped to XML documents or database schema through Java APIs to the interMedia Annotator. These APIs allow for programmatic invocation of metadata services by any application or scripting language that can use Java APIs including JAVAscript, VBscript, and Apple Script.

Oracle Spatial

For e-business and mobile applications, the location capabilities in Oracle9i and Oracle Spatial have been greatly enhanced. Content stored in Oracle9i can now be associated with related location criteria and services. New support for online mapping, yellow pages, driving directions, traffic, and geocoding services allow online content to be merged with database content. Support for mobile devices and formats, such as WBMP, interactive voice response, microbrowsers and delivery through Oracle iAS Wireless, make Oracle9i a complete platform for the delivery of content for mobile applications.

See Also:

Oracle interMedia User's Guide and Reference 

Collaborative Projects