Mark Rittman's Oracle Weblog
This is the weblog for Mark Rittman, a developer working on Oracle Data Warehousing technology based in Brighton, England. You can contact me at mark@rittman.net.
        

17 August 2003

There's a thread on the OTN BI Beans Forum asking the question "How do I update the values of an Analytic Workspace using a (BI Beans) Javaclient?"

Of course, one of the features missing at the moment from BI Beans is write-back, as the BI Beans components display data from analytic workspaces using the OLAP_TABLE function, allowing the 9i OLAP multidimensional structures to be queried using SQL statements. At present, this only works one way - you can issue SELECT statements, but you can't issue UPDATES, INSERTS or DELETES, and it's this current lack of write-back that that stops BI Beans from being a viable platform for planning and budgeting applications.

So, whilst you can create a datagrid within a BI Beans application, and make the cells editable, there's no easy way to copy these changes back to the analytic workspace to store the changes.

Thomas Hoffman and Keith Laker have come back with some useful advice, which i'm making a mental note of here as I think it could come in useful. The advice boils down to;

  • Register your BI Beans data source, using the OLAP_TABLE function
  • Build your application using a datagrid/crosstab or whatever
  • Register your application as a listener, to pick up candidate changes to the AW
  • Attach the analytic workspace read-write
  • Use a routine (for which Thomas provides some example code) to directly write the changes to the underlying analytic workspace database
  • Update the analytic workspace
  • Detach the analytic workspace

The sample java code to update the analytic workspace can be found at the OTN thread.


9:21:41 PM    

Brad Cowdrey, Data Warehouse Architect at Clear Peak Solutions, has written an excellent article on the ETL functions within Oracle 9i, and how they compare to the features available in a packaged ETL tool.

Brad goes into some detail on the purpose and syntax of the new ETL functions in Oracle 9i, and explains why some of them might be preferable to use instead of the types of functions you find in a standalone ETL tool. It's worth taking a look at, if only to see some real-world examples of the commands in use, including External Tables, Multiple Table Insert, Upsert/Merge Into, and the new Table functions.


8:50:33 PM    

© Copyright 2003 Mark Rittman.
 
August 2003
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Jul   Sep






Click here to visit the Radio UserLand website.

Subscribe to "Mark Rittman's Oracle Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.