Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







Oracle OLAP dbms_aw_xml

Oracle Consulting Tips by Burleson

XML Support for Analytic Workspace (AW)
Mike Ault

In general, there are three basic OLAP development interfaces. They are OLAP java interface, SQL and PL-SQL interface, and OLAP DML interface. The 10g database release focuses more on improving the SQL and PL-SQL interface by providing XML access and expanding the power of SQL user.

Oracle Database 10g includes a new set of XML metadata and associated PL/SQL packages for SQL users to define simple multi-dimensional models and load data into data models. These procedures also help to perform advanced OLAP calculations on the loaded data.

The 10g release introduces the new package dbms_aw_xml, which comes with a comprehensive set of functions. This package allows you to create the Analytic Workspace (AW) and execute the calculations specified in the XML metadata.

New Package dbms_aw_xml

The dbms_aw_xml contains the following functions:

  • validate ? This function verifies that the XML provided by the user is well-formed and is ready for execution. It checks that all the implicit AW constraints are met.
  • interpret ? This function interprets the input and makes changes to the AW named ?awname?. If there is no AW named awname, one is created by this function. INTERPRET accepts the users XML and calls the aw_create olap dml package to create the AW and perform the specific calculations
  • describe - This function allows the users to examine the contents of the AW. It takes the awname as the input and outputs the information as XMLType. If the input is provided, it outputs the information about all AW objects.
Prior to 10g, the cwm_to_ecm olap dml package used to read the metadata from the cwm lite catalog and used it to create an Analytic Workspace. This package can now read XML metadata and produce corresponding Analytic Workspace/s. It indicates that the Analytic Workspace created by CwM metadata and produced from the XML metadata have the same structure and follows the same conventions.



If you like Oracle tuning, you may enjoy my new book "Oracle Tuning: The Definitive Reference", over 900 pages of BC's favorite tuning tips & scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.



Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster


Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.