Deployment of Analytic Workspace

Hi,
I have a query regarding the deployment of an AW in various environments like dev, test and live.
When we first create the AW in dev environment, we specify an AW name and the tablespace to be allocated for that particular AW. For deploying the AW in different environment, we use the XML template that is exported from the AW using 'Export Analytic Workspace to Template' option. But while creating the AW from template, there is no option to specify the tablespace for the new environment.
Could anyone please help me how tablespace can be specified while deploying AW in other environments.
Thanking in advance,
Mainak

This is a bit of a hack, but it will work
Towards the end of the XML template file you should see an entry something like this.
<AW
  Name="MY_AW"
  Version="11.2">
</AW>The name of the AW will obviously be different, and the version may be different as well. It doesn't matter because you will just delete the section from the XML document.
Now in AWM you first create an empty AW using the simple "Create Analytical Workspace..." option. This will allow you to specify a tablespace. Once you have done this you select "Create Analytical Workspace From Template..." and import your objects into the AW you just created. Note that you must create an AW with the same name as the original as it is embedded into the XML for the cubes and dimensions.
The more sophisticated version of this is to delete the AW section above and then add a header to the XML template
<!DOCTYPE Metadata [
  <!ENTITY % BIND_VALUES PUBLIC "OLAP BIND VALUES" "OLAP METADATA">
  %BIND_VALUES;
  ]>Finally you replace all occurrences of your AW name with the string
&AW_NAME;For example, instead of
<AWPrimaryDimensionOrganization
  MVOption="NONE"
  HierarchyConsistencyRule="STAR_CONSISTENT"
  AddUniqueKeyPrefix="False"
  AW="MY_AW">you would have
<AWPrimaryDimensionOrganization
  MVOption="NONE"
  HierarchyConsistencyRule="STAR_CONSISTENT"
  AddUniqueKeyPrefix="False"
  AW="&AW_NAME;">You can see this type of XML if you export a single cube or dimension to a template. I don't know why AWM doesn't let you do the same thing for the whole AW.

Similar Messages

  • Deploying to analytic workspace ....

    it would be great if someone can help me with this ...
    Every link i have accessed regarding Oracle WarehouseBuilder 11g states that there is an option available for ROLAP dimensions (and cube) to be deployed to an analytic workspace. (I'm using an 11g EE Database).
    Does anyone know how this can be done?
    Using the "Deploy All" config setting does not seem to work since, when I open AWM, I cannot see my dimensions and cube.
    What am i missing?
    Thanks!

    Hi
    Are you using OWB 11gR1 or 10gR2? If so there are 2 storage options for dimensions and cubes;
    ROLAP: relational storage
    or
    MOLAP:multidimensional storage
    In OWB 11gR2 there is also a ROLAP with cube MV option (which is a mixture of both).
    Essentially the dimensional model can have a relational (ROLAP) implementation or a multidimensional one based in an analytic workspace. So in the storage panel of the dimension or cube if you have defined it as ROLAP no matter whether you set deploy all or whatever, you will only get relational DDL and CWM2 api calls for dimensional/cube metadata. You will need the storage set ot Multidimensional storage giving you the dimension and cube persisted in an Analytic Workspace.
    The AW name is defined on the storage panel in OWB. If no name is defined the name of the module is used.
    Cheers
    David

  • ORA-34492: Analytic workspace object __XML_GET_FULLTOAW_NAME does not exist

    Hi,
    We are experiencing the following error when trying to retrieve data from the OLAP layer in our front-end:
    ORA-34492: Analytic workspace object __XML_GET_FULLTOAW_NAME does not exist.
    to be more specific, the following happens:
    We are using the Oracle OLAP Java api's to query the analytical workspace. We create a Source object that contains the joins we want. This source is prepared and committed via the TransactionProvider class. Via the DataProvider we then create an SQLCursorManager and generate the SQL and execute it via JDBC.
    We were able to execute it without problems on an XP development platform. When switching to another platform that we use, it gives the following error messages:
    (platform with the error is Linux x86-64; more version info further down)
    Caused by: java.sql.SQLException: ORA-34492: Analytic workspace object __XML_GET_FULLTOAW_NAME does not exist.
    ORA-06512: at "SYS.OLAPIMPL_T", line 23
    ORA-06512: at "SYS.OLAPIMPL_T", line 17
    ORA-06512: at line 4
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:626)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:113)
    at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:352)
    at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:894)
    at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:384)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:984)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1124)
    Platform/version info that produces the error:
    Linux x86-64
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE     10.2.0.3.0     Production
    TNS for Linux: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    OLAP A patch for 10.2.0.3 is applied.
    Platform where this works without problems:
    Windows XP
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Any info on resolving this issue is greatly appreciated!
    Thanks,
    Ed

    Hi Keith,
    Yesterday I actually fully rebuilt/redeployed the AW. (I only patched our 10.2.0.3 installation with the OLAP A patch very recently.) Even the AW's tablespace was recreated, just to make sure everything was gone. Redeployment of the OLAP objects from OWB control center went without any problems.
    Let me answer your questions one by one below.
    1) How did you build the AW?
    We use OWB. The only thing I used AWM for is to actually create the AW. Once created, I use OWB to design and deploy. The front-end developers use AWM sometimes for viewing data in the OLAP objects. (I use OWB or AWM for that.)
    2) Can you connect to the AW via AWM, if so can you use the Data Viewer option to view:
    a) each dimension and check you can drill up and down.
    b) each cube
    I have been playing around a bit with the dim's and cubes in the AWM by right-clicking and selecting view data ... (that's the data viewer option?) and encountered no problems.
    3) You are using the OLAP API directly, what sort of application are you building - Java Client, JSP, Applet and are you using BI Beans?
    We are building a JSP type application, but so far only servlet code is being executed as the failure occurs on issuing the query. We are not using BI BEans.
    Thanks for your feedback!
    grts,
    Ed

  • Can't attach to Analytical Workspace anymore

    Hi,
    I can't attach to the Analytical Workspace anymore with AWM, nor will my mapping from OWB attach to it. OWB control center gives the following error:
    Warning
    ORA-20101: 11:36:16 ***Error Occured in BUILD_DRIVER: In __XML_SEQUENTIAL_LOADER: In __XML_ADJ_OBJ_LIST: Analytic workspace ERBI_AW is not attached.
    What I did a while ago is rename a cube in OWB to the name of an already existing (deployed) cube. This I think started the troubles (d'oh!). I can deploy(drop) and deploy(create) the cube from OWB control center, but AWM won't attach anymore and OWB won't run any map to the AW anymore with the above error.
    What can I do to 'clean up' the Analytical Workspace?
    Thanks,
    Ed

    It seems another deploy(drop) followed by deploy(create) did the trick for the OWB client. AWM still cannot connect, which will become a problem.
    AWM gives the following messages, any ideas?
    oracle.AWXML.AWException: java.lang.NullPointerException
    at oracle.AWXML.AW.readAWDefinitions(AW.java:1339)
    at oracle.olap.awm.dataobject.aw.WorkspaceDO.getModelAW(WorkspaceDO.java:803)
    at oracle.olap.awm.dataobject.aw.WorkspaceDO.getModelAW(WorkspaceDO.java:749)
    at oracle.olap.awm.navigator.node.WorkspaceNode.getModelerViewChildren(WorkspaceNode.java:368)
    at oracle.olap.awm.navigator.node.WorkspaceNode.getChildren(WorkspaceNode.java:341)
    at oracle.olap.awm.navigator.node.BaseNodeModel.refreshData(BaseNodeModel.java:74)
    at oracle.olap.awm.navigator.node.BaseNodeModel.dTreeItemExpanding(BaseNodeModel.java:221)
    at oracle.bali.ewt.dTree.DTreeDeferredParent.__fireExpansionChanging(Unknown Source)
    at oracle.bali.ewt.dTree.DTreeDeferredParent.setExpanded(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNode.expandHelper(BaseNode.java:2186)
    at oracle.olap.awm.navigator.node.BaseNode.access$400(BaseNode.java:109)
    at oracle.olap.awm.navigator.node.BaseNode$ExpansionThread.run(BaseNode.java:2136)
    Caused by: java.lang.NullPointerException
    at oracle.AWXML.AW.readAWDefinitions(AW.java:1313)
    ... 11 more
    Strange though. I have had more trouble with a cube in the past (owb 10203A) after making changes to the cube definition. Hopefully this kind of issues gets less in 11g (whenever I migrate to that).
    grts,
    Ed

  • Analytic Workspace Manager vs Warehouse Builder

    When is it best to use Analytic Workspace Manager over Warehouse Builder to create the OLAP? Please advise.

    We are using OWB to create OLAP because you have your metadata properly defined in the design repository of OWB from where you can deploy to different databases and schemas. We are also using OWB to create tables and other relational objects instead of using SQL Developer or Toad to do so.
    Nevertheless there are some restrictions when using OWB: You cannot create programs with OWB (e.g. for limiting access to certain objects), not all aggregation operators are supported (e.g. the weighted aggregation operators like WSUM are not supported by OWB), you cannot create models, ...
    If you come to these restrictions you could write "after-deployment scripts", i.e. you deploy your dimensions and cubes from OWB and let the scripts do what you could not model with OWB.
    Hope this helps!

  • Convert metadata from Analytic Workspaces to CWMLite

    Hi,
    I'm trying to connect to Oracle OLAP using Dynasight. DynaSight Developer, which seems to use ODBO/MDX architecture, only can "see" SH-schema (Sales History) cubes. I have tried Oracle versions 9.2.0.7, 10.2.0.1 and 10.2.0.2 but only CMWLite data can be queried.
    In order to be able to "see" and query the cubes using Dynasight we must create a catalog and add objects to this catalog. The metadata created can be checked at the following tables from OLAPSYS schema:
    CWM2$MRALL_CATALOGS
    CWM2$MRALL_CATALOG_ENTITY_USES
    Is there any API to create cwmlite/CWM1 metadata? I think dimensions and cubes can be created using the Enterprise Manager (in Oracle 10g cubes can only be created using the Enterprise Manager Web) but I don't know how to create the catalog metadata (I still haven't tried Oracle Warehouse Builder).
    AWM 10.2.0.2 is very nice but the analytic workspace created can not be queried using Dynasight. Is there any way to "translate/convert" the metadata from the AW to CWM1?
    If there's any way to do this then which could be the best way to deploy the objects created between our environments (dev, QA, prod)?
    Also, same question using AWM: which is the best way to deploy objects between environments? I saw we can create templates in XML format or export objects to a EIF file, any other options?
    Thanks,
    Rubén Martí.

    Scott,
    the Dynasight connector for Oracle OLAP has a very bad performance and returns wrong data (we are waiting for feedback from Dynasight support). On the other hand, the Oracle OLAP DML connector works fine and let us see the AW in object view mode (not in model view mode). Also, the cubes created using AWM can not be accessed using Dynasight connector.
    Your comment about setting up the AWs to be queriable through relational views sounds very interesting. Could you please provide the steps required to do so? Will this allow us to see the dimensions, cubes, etc.(metadata) or it will materialize the cubes using snapshots (so that we won't have metadata)?
    Cheers,
    Rubén.
    P.S.: I had to change the OTN user to this because I lost my password when trying to change the email (which is not possible, but I realized too late!)

  • Is it possible to create relational view on Analytic Workspace in Oracle 9i Release1

    Hi All,
    We are in the initial stages of Oracle 9i OLAP prototype. Since the current version of BIBeans 2.5 does not work with Release 2 of Oracle 9i OLAP, we are planning to use Oracle 9i OLAP Release 1. So can you please answer the following questions.
    1. Is it possible to create relational view on Analytic Workspace(like in Release 2) and populate the OLAP catalog, if so can you give me guidance to get the appropriate user guide. The OLAP DML guide in Release 1 talks about creating OLAP catalog metadata for Analytic Workspace using a metadata locator object.
    2, Is it advisable to use Oralce 9i OLAP Release 1? Does the Analytic Workspace and the corresponding BIBeans work in Release 1?
    Thank you,
    Senthil

    Analytic Workspaces (Express/multidimensional data objects and procedures written in
    the OLAP DML) are new to Oracle9i OLAP Release 2, you cannot find them in Release 1.
    BI Beans will soon (within a week) introduce a version on OTN that will work with Oracle9i OLAP Release 2.

  • Analytic Workspace Manager 10.2.0.3.0A posted

    A new version of Analytic Workspace Manager has been posted to the Oracle OLAP site on OTN and MetaLink.
    AWM 10.2.0.3.0A addresses the following bugs found in AWM 10.2.0.3.0:
    5949796<< Period To Date calculation incorrect when using non-Gregorian time dimension
    5889531<< Retrieval of schema list is slow upon connection
    5687603<< Stale data may be displayed while switching between Model and Object Views
    5653421<< Error using even numbers for Median Smoothing Window forecast
    5887261<< Right-click menu does not appear for non-English localesNote: the MS Windows 32-bit standalone version is found both on OTN and MetaLink (PS # 6032088) whereas the Linux x86 patch version is found only on MetaLink (PS # 6032088).
    OTN: http://www.oracle.com/technology/products/bi/olap/index.html
    MetaLink: https://metalink.oracle.com

    hello bart,
    try with oracle client 12C Oracle Database 12c Release 1 for Microsoft Windows (x64)
    Oracle client 12C contains awm 12C
    regards
    jean marc

  • How to install analytic workspace manager?

    I have Oracle 9.2.0.1 running on Windows. I have installed 9.2.0.3 database patch. I couldn’t see analytic workspace manager tool? How to get the tool?
    I will greatly appreciate if you can guide me with some links or steps.

    Few days back I went to a Oracle Demo and there I used Analytic Workspace Manager, which is running on Windows 2000 (both database and the tool on same machine).
    It was located in
    Start menu --> Oracle home --> Integrated Management Tolls Folder.
    I couldn't see that on my 9.2.0.1 installation. So I installed the new patch 9.2.0.3, still I am not able to see that tool.
    Am I missing anything? Any other patch?

  • Error trying to Analytic Workspace using latest version AWM 10.1.0.4

    Windows XP Professional
    Oracle 10g with latest patch 4163362 (10.1.0.4)
    Installed AWM 10.1.0.4
    Installed GLOBAL schema
    Started AWM 10.1.0.4
    Connected to Database,everything fine
    Expanded Schema Folder, navigated to GLOBAL schema
    Right mouse click, selected "Created Analytical Workspace"
    The following error is encountered
    oracle.express.idl.util.OlapiException: ORA-04043: object "SYS"."GENRAWSEQUENCE" does not exist

    Please refer to the patchnote.htm that is bundled with 10.1.0.4.0 patch set. Only you are aware of what type of database configuration you have. You will want to pay close attention to "7.2.1.3 Set the SHARED_POOL_SIZE and JAVA_POOL_SIZE Initialization Parameters" and "7.2.2 Upgrade the Release 10.1 Database".
    Basically, I believe you have missed these required steps after installing the 10.1.0.4.0 patch set from the OUI:
    (pasted from the patchnote.htm)
    13.     Enter the following SQL*Plus commands:
    14.     SQL> STARTUP UPGRADE
    15.     SQL> SPOOL patch.log
    16.     SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\catpatch.sql
    17.     SQL> SPOOL OFF
    18.     
    19.     Review the patch.log file for errors and inspect the list of components that is displayed at the end of catpatch.sql script.
    This list provides the version and status of each SERVER component in the database.
    20.     If necessary, rerun the catpatch.sql script after correcting any problems.
    21.     Restart the database:
    22.     SQL> SHUTDOWN
    23.     SQL> STARTUP
    24.     
    25.     Run the utlrp.sql script to recompile all invalid PL/SQL packages now instead of when the packages are accessed for the first time. This step is optional but recommended.
    26.     SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\utlrp.sql

  • ORA-34492: Analytic workspace object cubename _STORED does not exist.

    I am having issues accessing cube data from a user other than where the AW was built.
    Following is what I have done in User-1:
    1. Create two AW's in User-1 : AW-1 and AW-2.
    2. Create all objects in these two AW's
    3. AW-2 is dynamically attached on attaching AW-1 by using PERMIT startup programs. Please refer Attaching multiple AW's
    4. Refreshed both AW's to load data
    5. ALLCOMPILE - no errors.
    6. Created some SQL views on User-1 which basically query the underlying cube views. I also have some queries using the olap_table option.
    7. All my querries work fine in User-1. I can access data from AW-1 and AW-2.
    However, we give access to the above SQL views through an abstract user: User-abs. In 10g, all we did was grant select privs to all the User-1.AW$ tables and also on all the sql views. This would let User-abs get data from the cubes in User-1.
    I am not able to get User-abs to do the same in 11g. We encounter an error mentioning that the workspace object <cubename>_STORED does not exist. The cubename it is referring to exists in AW-2.
    I granted select privs on all AW$ tables, dimension views, cube views and the abstracted sql views but the error persists.
    I tried searching this forum but could not find any helpful leads. Any help will be greatly appreciated.
    Thanks!
    Database - 11.2.0.1
    AWM - 11.2.0.2.0A

    I can think of two possible problems. First, you may not be properly qualifying the owner name when you refer to the object. This can be important when refering to objects owned by other schemas. For example instead of 'my_cube_stored' you would say 'user-1.aw-2!my_cube_stored'. You should also be careful about the order in which you attach the AWs. Do you want AW-2 attached first or last? Use the LAST keyword on AW ATTACH to control this.
    Another possibility is that you have added additional logic to PERMIT_READ over and above the 'aw attach' comand. I was able to recreate the error with the following code in a new AW called TEST_AW in the GLOBAL schema.
    DEFINE PERMIT_READ PROGRAM BOOLEAN
    PROGRAM
    aw attach global.global
    show global.global!units_cube_stored
    return true
    ENDAttaching TEST_AW in RO mode as any user gives me the following error.
    ORA-34492: Analytic workspace object GLOBAL.GLOBAL!UNITS_CUBE_STORED does not
    exist.
    ORA-06512: at "SYS.DBMS_AW", line 93
    ORA-06512: at "SYS.DBMS_AW", line 122
    ORA-06512: at line 1Here is the documentation for PERMIT_READ
    >
    PERMIT_READ
    A PERMIT_READ program is a program that you can create and that Oracle OLAP checks for by name when an AW ATTACH read-only command executes. Depending on the value returned by the program, Oracle OLAP executes the code within the program after attaching the analytic workspace. Depending on the statements in the permit_read program the user is granted or denied access to specific objects or sets of object values. Within permit_read program, you can specify PERMIT commands that grant or restrict access to individual workspace objects. All of the objects referred to in a given permit_read must exist in the same analytic workspace.
    >
    Note, especially, the restriction in the last sentence. This means that a PERMIT_READ program in AW1, for example, cannot refer to objects in AW2. So this is why my PERMIT_READ doesn't work. The AUTOGO does not have these restrictions, but as we know from the forum post you cited, AUTOGO is broken in 11.2.0.1. You can move forward to 11.2.0.2 where AUTOGO is fixed, but there is workaround, which is to add a PERMIT_READ program to the second AW to do the work. For example, if I add this PERMIT_READ to GLOBAL and remove the 'show' command from the PERMIT_READ in TEST_AW, then everything works as expected.
    DEFINE PERMIT_READ PROGRAM BOOLEAN
    PROGRAM
    if aw(attached 'test_aw')
    then do
    show global.global!units_cube_stored
    doend
    return true
    END

  • How to Install Analytic Workspace Manager 10.1.0.4.

    Hi,
    how to Install Analytic Workspace Manager 10.1.0.4.?
    Many thanks before.

    Thank you, we have this :
    SELECT COMP_NAME, VERSION, STATUS FROM DBA_REGISTRY WHERE COMP_NAME LIKE '%OLAP%';
    COMP_NAME VERSION STATUS
    OLAP Analytic Workspace 10.2.0.1.0 VALID
    Oracle OLAP API 10.2.0.1.0 VALID
    OLAP Catalog 10.2.0.1.0 VALID
    Is Analytic Workspace Manager installed ? How to know its version ?
    Thank you.

  • Oracle 10g Analytic Workspace Manager 10.1.0.4( where to download?)

    Guys,
    I'm looking for a link to install Oracle 10g Analytic Workspace Manager 10.1.0.4.
    Can someone help me with the link?.
    Thanks,
    Bhagat

    Thank you, we have this :
    SELECT COMP_NAME, VERSION, STATUS FROM DBA_REGISTRY WHERE COMP_NAME LIKE '%OLAP%';
    COMP_NAME VERSION STATUS
    OLAP Analytic Workspace 10.2.0.1.0 VALID
    Oracle OLAP API 10.2.0.1.0 VALID
    OLAP Catalog 10.2.0.1.0 VALID
    Is Analytic Workspace Manager installed ? How to know its version ?
    Thank you.

  • Install Analytic Workspace Manager 10.1.0.4.

    Hi,
    how to Install Analytic Workspace Manager 10.1.0.4. ?
    We are in DB 10g R2.
    It is urgent please help.
    Many thanks before.

    Thank you, we have this :
    SELECT COMP_NAME, VERSION, STATUS FROM DBA_REGISTRY WHERE COMP_NAME LIKE '%OLAP%';
    COMP_NAME VERSION STATUS
    OLAP Analytic Workspace 10.2.0.1.0 VALID
    Oracle OLAP API 10.2.0.1.0 VALID
    OLAP Catalog 10.2.0.1.0 VALID
    Is Analytic Workspace Manager installed ? How to know its version ?
    Thank you.

  • Analytic Workspace Manager 9.2.0.4

    Hi
    When I attempt to create a workspace in Analytic Workspace Manager an error message is displayed saying that the database I am using is not a 9.2.0.2 compatible database and the DBMS_AWM package cannot be found.
    I have, however, patched my database to 9.2.0.5. Is Analytic Workspace Manager version 9.0.4 incompatible with Oracle DB version 9.2.0.5?
    My environment setup is as follows:
    Analytic Workspace Manager (9.2.0.4)
    Oracle DB 9i Rel 2 (9.2.0.5)
    Windows XP Professional SP 2.
    Thanks
    Ryan

    AWM 9.2.0.4.1 is forward compatible on the 9.2 code stream. It works with the current 9.2.0.5.0 and 9.2.0.6 patch sets. My guess is that the Post Installation steps for the 9.2.0.5.0 patch set were not performed. For example, did the catpatch.sql script run? A lot of people overlook this required step in the readme.
    In order to check to see if your patch set was installed correctly, perform the following query:
    SQL&gt; select comp_name, version, status from dba_registry;
    You should see 9.2.0.5 and VALID for the OLAP components.

Maybe you are looking for