Maintain cube error in AWM

I am getting this error when in Analytic Workspcae Mangaer 10.2.0.3 and databaser version is 10.2.0.4 I am maintaining the dimension immediately I have tried all the solution but still could not able to fix this please help me..
oracle.AWXML.AWException: Action BUILDDATABASE failed on object BATCHDASHBOARD.BD
at oracle.AWAction.BuildDatabase.Execute(BuildDatabase.java:737)
at oracle.olap.awm.wizard.awbuild.BuildWizardHelper$1.construct(BuildWizardHelper.java:184)
at oracle.olap.awm.ui.SwingWorker$2.run(SwingWorker.java:109)
at java.lang.Thread.run(Unknown Source)
Caused by: oracle.AWXML.AWException: ***Error Occured: Error Validating Dimension Mappings DIVISION.DIMENSION. Key Expression BATCHDASHBOARD.BUSINESSDIVISIONS.DivisionId for Mapping Group DIVISION.STANDARD.ALL_DIVISION.MAPGROUP1.DIMENSIONMAPGROUP, Level DIVISION.ALL_DIVISION.LEVEL, Hierarchy DIVISION.STANDARD.HIERARCHY is Incorrectly Mapped to RDBMS.
at oracle.AWAction.BuildDatabase.Execute(BuildDatabase.java:604)
... 3 more
Edited by: user8991853 on 10-Feb-2010 12:48

RDBMS
Id
Long Name
ShortName
Cube
Dimension
Region
Level (All_Region)
Hierarchy
Standard (Above Level and it is level based hierarcy)
Mapping
RDBMS Cube
Id Member
LongName LongDesc
ShortName ShortDesc
Now after creating this I am right clicking and maintaining the dimension and getting the error as mentioned in my first messgae.
Edited by: user8991853 on 11-Feb-2010 05:25

Similar Messages

  • ORA-37999: Serious OLAP error - while running Maintain Cube...

    While running "Maintain cube..." I'm getting error
    "Action BUILDDATABASE failed on object TEST_DB.NPE"
    Below is the stack trace. It states its a "ORA-37999: Serious OLAP error". Am I missing something or should I contact Oracle support like the statement said?
    oracle.AWXML.AWException: Action BUILDDATABASE failed on object TEST_DB.NPE
    at oracle.AWAction.BuildDatabase.Execute(BuildDatabase.java:530)
    at oracle.olap.awm.wizard.awbuild.BuildWizardHelper$1.construct(BuildWizardHelper.java:185)
    at oracle.olap.awm.ui.SwingWorker$2.run(SwingWorker.java:109)
    at java.lang.Thread.run(Unknown Source)
    Caused by: oracle.AWXML.AWException: oracle.express.ExpressServerException
    java.sql.SQLException: ORA-37999: Serious OLAP error: UPDATE. Please contact Oracle Technical Support.
    ORA-03238: unable to extend LOB segment HPMP_WH.SYS_LOB0000043088C00004$$ subpartition SYS_LOB_SUBP73 by 64 in tablespace USERS
    ORA-06512: at "SYS.GENCONNECTIONINTERFACE", line 70
    ORA-06512: at line 1
    at oracle.AWXML.AWConnection.executeCommand(AWConnection.java:279)
    at oracle.AWAction.BuildDatabase.Execute(BuildDatabase.java:513)
    ... 3 more
    Caused by: oracle.express.ExpressServerException
    java.sql.SQLException: ORA-37999: Serious OLAP error: UPDATE. Please contact Oracle Technical Support.
    ORA-03238: unable to extend LOB segment HPMP_WH.SYS_LOB0000043088C00004$$ subpartition SYS_LOB_SUBP73 by 64 in tablespace USERS
    ORA-06512: at "SYS.GENCONNECTIONINTERFACE", line 70
    ORA-06512: at line 1
    at oracle.express.spl.SPLExecutor.executeCommand(SPLExecutor.java:155)
    at oracle.AWXML.AWConnection.executeCommand(AWConnection.java:268)
    ... 4 more

    Well... it was indeed a tablespace error...no need to contact Oracle.
    Worked fine after the DBA's added more tablespace!

  • Help me! AWM "maintain cube ... " performance: too slow with a small cube

    Hi all,
    I have 3 dimensions: TIMES, PRODUCTS, STORES
    The hierarchy of TIMES, is in the order: year, quarter, month, week, day
    The hierarchy of Products is in the order: sector, family, sub-family, product
    The hierarchy of STORES is in the order: area, department, store
    each hierarchy is mapped with a data set and the size is
    730 lines (days) for the TIMES dimension
    282 lines (products) for the PRODUCTS dimension
    237 lines (stores) for the STORES dimension
    With these dimensions, I create a cube and 2 measures: QUANTITY, BENEFIT
    My measures used all 3 dimensions : TIMES, PRODUCTS, STORES.
    I mapped in the end my cube with a dataset contains: store, day, product, quantity, benefit
    This data set has 3921 lines.
    I chosed the rule to aggregate all dimensions is SUM.
    So when I do "maintain cube...", AWM takes much time to do it! (approximately 2h to maintain my cube)
    Some one knows why it's long?
    How can I do to accelerate it?
    Due I modify the parameters in AWM or in my cube?
    Thanks in advance!

    thanks all for your reply!
    I done maintain cube already in following your advice. I increased the rollback and tmp space and changed "NUMBER to DECIMAL" as type of data of cube.
    But I have other question. I hope you can help me!
    1. What's the effect of the option "Choose the regions of the cube to be presummarized and stored in the analytic workspace" in the table "Summarize To" when you create a cube? If I check this option for all hierarchy level, the next time, when I do the request,
    the time of calcul will be optimize so fastest?
    (I check this option in creating my cube but when I make a request for level of a particular hierarchy, it's so long to have the result. I use a software this can connect and do request from Oracle Olap DataBase.)
    2. I done maintain cube last week. Today I created a new cube and added more data set. But I cant maintain cube again. This is the message error. Can you explain to me why?
    ( I increase already the rollback and tmp space. To know how and what I done, view this thread please!
    Error when I do "Maintain Cubes ..." )
    --------------------------------------java.sql.SQLException: ORA-00933: SQL command not properly ended
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:287)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:742)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:206)
    at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:789)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1030)
    at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:829)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1123)
    at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1678)
    at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1644)
    at oracle.olap.awm.dataobject.dialog.olapcatalog.TableDialog.populateTableDataModel(TableDialog.java:164)
    at oracle.olap.awm.dataobject.dialog.olapcatalog.TableDialog.initialiseAndPopulate(TableDialog.java:68)
    at oracle.olap.awm.dataobject.dialog.olapcatalog.TableDialog.<init>(TableDialog.java:57)
    at oracle.olap.awm.wizard.awbuild.BuildWizardHelper.runBuild(BuildWizardHelper.java:252)
    at oracle.olap.awm.navigator.node.modeler.cube.ModelerMeasureNode.actionPerformed(ModelerMeasureNode.java:226)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Thanks in advance!

  • Error when attempting to maintain cube by submitting task to Job Queue

    Hi,
    I've been working with Cubes/Dimensions on AWM 10.2.0.3 for the last little while and have been maintaining cubes by selecting the Run maintenance task immediately in this session. This has been working reasonable well for me.
    I am now looking at how this can be put into production and trying to use the Submit the task to the Job Queue selection. When I choose this option and select the Run immediately radio item I have no problems. However when I choose to run this in the future I receive the following error:
    Action BUILDDATABASE failed on object OLAPBI.DUBDEV_OLAPBI
    oracle.AWXML.AWException: Action BUILDDATABASE failed on object OLAPBI.DUBDEV_OLAPBI
    at oracle.AWAction.BuildDatabase.Execute(BuildDatabase.java:737)
    at oracle.olap.awm.wizard.awbuild.BuildWizardHelper.runBuild(BuildWizardHelper.java:275)
    at oracle.olap.awm.navigator.node.modeler.cube.ModelerCubeNode.actionPerformed(ModelerCubeNode.java:480)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: oracle.AWXML.AWException: ***Error Occured in BUILD_DRIVER:
    at oracle.AWAction.BuildDatabase.Execute(BuildDatabase.java:731)
    ... 27 more
    I am only setting the time to be a couple of minutes in the future in order to verify that it is working but I receive this error for the GLOBAL_AW schema as well as my own AW Schema.
    Any ideas??
    Thanks in advance,
    LM

    Hi LM,
    I have not seen this specific issue before but there are a few things you can check:
    1) Did you exit AWM before the scheduled job started? You must exit AWM before the jobs starts as the job will try to attach the AW in read-write mode which is the default mode used by AWM. Therefore, if you are still in AWM when the job starts the job will fail. Usually you will get a more helpful error message that says something like "unable to attach AW".
    2) Try scheduling the job one hour in the future. Then start Enterprise Manager and look at the job queue. You should find a job with the prefix AW$ which will be your job. Look at the details for the job and make sure the program to be executed looks correct, ie it actually contains a program and a name of a cube/dimension. I created a job once, that for some reason did not contain a PL/SQL command block. No idea why.
    3) If the PL/SQL block is present try running it from the command line and see what happens, login in to SQLPlus as the same user as you use for AWM.
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • Problem Maintaining CUBE using AWM

    when i am trying to maintain cube using AWM. Primarily there was no problem the maintain task is running well. But now after 3 or 4 days when i am trying to maintain my Cube. I am getting an error massage "ORA-00933: SQL command not properly ended". this error massage is generated for new cube and previously maintained cube too. I don't understand why this error has been generated? Please . help me if anyone recover this error.

    Hi,
    You are probably hitting a bug 5757454. Please do the following to solve the problem:
    1. delete * from olapsys.xml_load_log;
    2. drop SEQUENCE "OLAPSYS"."XML_LOADID_SEQUENCE" ;
    -- This is how the sequence was defined in OH/olap/admin/cmwinst.sql originally
    --create sequence XML_LOADID_SEQUENCE;
    -- In testing, we used the following explicit statement instead of the above one:
    create SEQUENCE "OLAPSYS"."XML_LOADID_SEQUENCE" MINVALUE 1 MAXVALUE
    999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE ;
    3. The following line is VERY important:
    grant select on olapsys.XML_LOADID_SEQUENCE to public;
    4. Now try to maintain a dimension, cube or AW.
    It worked for me :)
    Regards,
    Jarek Przybyszewski

  • AWM maintain CUBE not refreshing data

    Hi,
    I have refreshed the data that feeds my CUBE and it seems as if AWM is not deleting old CUBE data, when I view the source table for the CUBE in the mapping I can see there is only 1 row but after I maintain CUBE and tick the delete dimension members checkboxes and run process immediately in this session the original data exists. Any help appreciated.
    Cheers,
    Brandon

    hello brandon,
    my solution is quite awkward but it works:
    you have to maintain the cube's measure data where the result would be 0 processed data(wierd huh?).
    To do that you, you can empty one of the dimension's data(members) by emptying the table/view that it is mapped to, giving you a memberless dimension. Then maintain the cube's measures(do not include dimensions). This will give you a result of 0 processed data, and all records are rejected, all the while emptying the cube.
    Then fill back the table/view that is mapped to the memberless dimenstion with data again so it will have its members back when you re-maintain it, then maintain cube data again.
    There's probably a more elegant solution out there, but this one works for sure.

  • Analytic Workspace Manager possible bug: Maintain Cube hangs

    Hi All,
    I am a newbe, I have been following the tutorial "Building OLAP 11g Cubes". http://www.oracle.com/technology/obe/olap_cube/buildicubes.htm
    After the step "Maintain Cube SALES_CUBE", I got the information box "Loading facts for cube SALES_CUBE"...on the screen for the last 4 hours.
    Is this normal? Should I kill the process and start again?
    I am running Oracle 11g Enterprise Edition Release 11.1.0.7.0 on a Virtual Machine with Windows Server 2008 Standard SP1 with 1GB RAM.
    The Analytic Workspace Manager is 11.2.0.1.0 running on a Windows XP SP3.
    Any help is much appreciated

    I'm getting a similar problem, I cannot maintain cubes that worked fine yesterday:
    An error has occurred on the server
    Error class: Express Failure
    Server error descriptions:
    INI: error creating a definition manager, Generic at TxsOqConnection::generic<BuildProcess>
    INI: XOQ-01706: An unexpected condition occurred during the build: "TxsOqLoadCommandProcessor::generatePartitionListSource-unsupported join condition-table"., Generic at xsoqBuild
    at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
    at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
    at oracle.olapi.data.source.DataProvider.executeBuild(Unknown Source)
    at oracle.olap.awm.wizard.awbuild.UBuildWizardHelper$1.construct(Unknown Source)
    at oracle.olap.awm.ui.SwingWorker$2.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    It all started after I tried to add a calculated measure to an existing cube (something I have done before in 11g...a feature I love).
    This is too bad, so far I've been loving 11g Olap as compared to 10g Olap. But now 11g is starting to crop up these bullshit bugs as well. I guess OLAP is still too crappy to rely on for production....good thing I won't recommend a rollout of this product to my clients. It's a great tool for having fun with development, but using Oracle Olap + AWM in a real company is career suicide.
    AWM 11.2.01

  • Maintain Cube Not Working

    Brijesh,
    I built my dimensions, levels and heirarchies successfully and also created cube. Now that I've built my measures and run the maintainance, I'm not seeing any values in them even though I know I should.
    Based on my mapping, the keys from the fact are going to the right dimensions (and I even made a simplier, just one dimension --> measure cube as well), but no success. There are cases where I know I shouldn't get any data (based on selected values), but when I make valid selection I see only 0.00 being displayed.
    Can you tell where I may have gone wrong here? Are the values made available for selection (the attributes) ONLY supposed to be the same one-to-one values available in the fact table?
    **I'm using the simple SUM aggregate function for my measures, and pretty much all the default configurations given.
    Brijesh Gaur
    Posts: 416
    Registered: 04/03/08
    Re: where are dimension attributes in AWM - cube viewer?
    Posted: Nov 10, 2009 3:21 AM in response to: mikeyp Reply
    Attribute is something related to dimension. They are purely the property of the dimension and not the fact. Now you said the data is not visible in the cube and you are getting 0.00 even with a simplier case(one dimensional cube). There are many causes of the value not shown in the cube and some are mentioned below
    1. All records are rejcted in the cube maintaince process. For this you can check olapsys.xml_log_log table and see if you can find any rejected records.
    2. There is some breakage in the hierarchy of the dimension. It also prevents data from summing up.
    Did you tried with the global sample available on OTN? That should be good starting point for you.
    You can check the cube as below to find out it is loaded or not. Consider your one dimensional cube. Find out a member which is existing in the dimension and also has some fact value associated with it.
    1. Now limit your dimension to that value like this
    lmt <dim name> to '<value>'
    For compressed composite cube
    2. Now check data in the cube like this
    rpr cubename_prt_topvar
    for uncompressed cube you should do
    rpr cubename_stored
    #2 should show the same value which is available in the fact.
    Thanks,
    Brijesh
    mikeyp
    Posts: 14
    Registered: 09/22/09
    Re: where are dimension attributes in AWM - cube viewer?
    Posted: Nov 13, 2009 1:24 PM in response to: Brijesh Gaur Edit Reply
    Brijesh,
    Thanks for your suggestions, and here are my results based on that.
    1. No records rejected after running cube maintenance
    2. I didn't limit my dimension to specific value as you recommended, but made my member the same as my Long and Short description attributes using AWM. (Its a flat dimension i.e. no level or hierarchy since the dimension only has one value/meaningful field.
    Based on those steps, I still didn't get the results I was looking for. The fact table has five values for that one dimension and I'm seeing 0.00 for 4 of them, and an inaccurate value for the last one. (this after doing comparison with simple aggregate query against fact)
    Do you have any other possible reasons/solutions?
    **Loading the Global Schema into our dev environment is out of my hands unfortunately, so that's the reason for the prolonged learning curve.

    Brijesh,
    Here's the results of what you suggested:
    1. Creating test dim and fact table with simple case you provided was successful, and AWM was able to map the same values to cube which was created on top of that model.
    2. I took it a step further and changed dim values to be same like existing dim table
    2.b. Also replaced test fact table values to mimic existing values as well so it would match what's available in dim table, and here's where the fun / mystery begins
    Scenario 1:
    I created fact like this...........select dim value, sum(msr) from <existing fact table>
    As you can easily tell, my values were already aggregated in the table, and they also match perfectly in cube created by AWM - no issue.
    Scenario 2:
    Created fact like this............select dim value, msr from <existing fact table>
    Quite clear is that my values are no longer aggregated, and broken down across multiple occurences of dim values; did this so that I can verify that the "sum" will actually work when used in AWM.
    The results from scenario 2 lead me back to same issue being faced before - i.e. the values weren't being rolled up when the cube was created. No records were rejected, and there was only ONE measure value showing up (and it was still incorrect), and everything else was 0.00
    I retrieved this error from the command program that runs in the background. This was generated right after running the maintain cube:
    <the system time> TRACE: In oracle.dss.metadataManager.............MDMMetadataProviderImpl92::..........MetadataProvider is created
    <the system time> PROBLEM: In oracle.dss.metadataManager.........MDMMetadataProviderImpl92::fillOlapObjectModel: Unable to retrieve AW metadata. Reason ORA-942
    BI Beans Graph version [3.2.3.0.28]
    <the system time> PROBLEM: In oracle.dss.graph.GraphControllerAdapter::public void perspectiveEvent( TDGEvent event ): inappropriate data: partial data is null
    <the system time> PROBLEM: In oracle.dss.graph.BILableLayout::logTruncatedError: legend text truncated
    Please tell me this helps shed some light on the main reason for no values coming back; we really need to move forward with using Oracle cubes where we are.
    Thanks
    Mike

  • Problem maintaining cube

    Hi there,
    I have a 2 dimensions with the following levels and hierarchies
    CALENDAR_YEAR:
    Levels:
    YEAR
    Hierarchy CALENDAR:
    YEAR
    LOCATION:
    Levels:
    ALL_LOCATIONS
    CONTINENT
    COUNTRY
    Hierarchy PLACE:
    ALL_LOCATIONS <--- CONTINENT <--- COUNTRY(default)
    I created a star schema by sqlplus commandline using create table scrypts. The star schema consists of 2 dimensions as tables locations,*years* with primary keys NUMBER type ids and a fact table with primary key 2 foreign keys:
    1) year pointing to primary key of years and
    2) country pointing to primary key of locations.
    This fact table has only 1 measure.
    I already created the dimensions and the cube on awm.
    I also did the mappings as they should be.
    But, when i try to maintain the cube, an error occurs saying this:
    An error has occurred on the server
    Error class: Express Failure
    Server error descriptions:
    INI: Error creating a definition manager, Generic at TxsOqConnection::generic<BuildProcess>
    INI: XOQ-01711: Aggregation path for hierarchies on a dimension "LOCATION" is inconsistent, Generic at TxsOqStdFormCommand::execute
    at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
    at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
    at oracle.olapi.data.source.DataProvider.executeBuild(Unknown Source)
    at oracle.olap.awm.wizard.awbuild.UBuildWizardHelper$1.construct(Unknown Source)
    at oracle.olap.awm.ui.SwingWorker$2.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Any ideas on how to solve this?
    Note: I don't have a Metalink and i don't need to have one!

    i created the tables locations,years with the scrypts:
    CREATE TABLE LOCATIONS
    (COUNTRY_KEY varchar2(44) NOT NULL,
    COUNTRY_NAME varchar2(54),
    CONTINENT_KEY varchar2(20) NOT NULL,
    CONTINENT_NAME varchar2(30),
    COUNTRY_ID NUMBER,
    CONTINENT_ID NUMBER NOT NULL,
    PRIMARY KEY(COUNTRY_ID)
    CREATE TABLE YEARS
    (CALENDAR_YEAR_KEY NUMBER NOT NULL,
    CALENDAR_YEAR_NAME varchar2(40),
    CALENDAR_YEAR_TIME_SPAN NUMBER,
    CALENDAR_YEAR_END_DATE DATE,
    PRIMARY KEY(CALENDAR_YEAR_KEY)
    I also created a name table as the fact table with this scrypt:
    CREATE TABLE NAME
    (SALES NUMBER,
    YEAR NUMBER,
    COUNTRY NUMBER,
    PRIMARY KEY(YEAR,COUNTRY),
    FOREIGN KEY (YEAR) REFERENCES YEARS(CALENDAR_YEAR_KEY),
    FOREIGN KEY (COUNTRY) REFERENCES LOCATIONS(COUNTRY_ID)
    Then i loaded my data (It is certain that they are loaded as i checked it). All these are done by sqlplus on user olaptrain(from tutorial).
    After these i created on 11.1.0.7B AWM THE 2 DIMENSIONS: CALENDAR_YEAR,LOCATION
    The mappings for them are:
    CALENDAR_YEAR:
    Member --> OLAPTRAIN.YEARS.CALENDAR_YEAR_KEY
    Long Desc --> OLAPTRAIN.YEARS.CALENDAR_YEAR_NAME
    Short Desc --> OLAPTRAIN.YEARS.CALENDAR_YEAR_NAME
    time_span --> OLAPTRAIN.YEARS.CALENDAR_YEAR_TIME_SPAN
    end_date --> OLAPTRAIN.YEARS.CALENDAR_YEAR_END_DATE
    LOCATION:
    ALL_LOCATIONS
    Member --> 'ALL_LOCATIONS'
    Long Desc --> 'All locations'
    Short Desc --> 'All locations'
    CONTINENT
    Member --> OLAPTRAIN.LOCATIONS.CONTINENT_ID
    Long Desc --> OLAPTRAIN.LOCATIONS.CONTINENT_NAME
    Short Desc --> OLAPTRAIN.LOCATIONS.CONTINENT_NAME
    COUNTRY
    Member --> OLAPTRAIN.LOCATIONS.COUNTRY_ID
    Long Desc --> OLAPTRAIN.LOCATIONS.COUNTRY_NAME
    Short Desc --> OLAPTRAIN.LOCATIONS.COUNTRY_NAME
    For the levels and hierarchies look on previous post. Also here are the mappings for the cube:
    SALES
    Sales --> OLAPTRAIN.NAME.SALES
    DIMENSIONS
    CALENDAR_YEAR
    Year --> OLAPTRAIN.YEARS.CALENDAR_YEAR_KEY
    join condition --> OLAPTRAIN.NAME.YEAR=OLAPTRAIN.YEARS.CALENDAR_YEAR_KEY
    COUNTRY
    ALL_LOCATIONS
    CONTINENT
    COUNTRY --> OLAPTRAIN.LOCATIONS.COUNTRY_ID
    Join condition --> OLAPTRAIN.NAME.COUNTRY=OLAPTRAIN.LOCATIONS.COUNTRY_ID
    When i press maintain cube the following error appears:
    Error class: Express Failure
    Server error descriptions:
    INI: Error creating a definition manager, Generic at TxsOqConnection::generic<BuildProcess>
    INI: XOQ-01711: Aggregation path for hierarchies on a dimension "LOCATION" is inconsistent, Generic at TxsOqStdFormCommand::execute
    Could you help me solve this? I have been working on this for 3 days but still i cannot find a solution!
    Edited by: spiros on 1 Ιουν 2009 4:46 πμ

  • Excessive time when maintaining cube

    Hi there,
    I have a star schema with:
    a) 2 dimensions:
    year with hierarchy : CALENDAR_YEAR ------------>all_years
    location with hierarchy : COUNTRY -------------> CONTINENT -----------> ALL_COUNTRIES
    b) 6 partitioned cubes (uncompressed)
    Each cube contains measures with diffirent data types. In particular, each measure may have 1 of the following 3 data types:
    varchar2 ------------> with aggregation maximum
    int or dec ------------> with aggregation SUM (cube's aggregation)
    date ------------> with aggregation Non additive
    When i execute maintain cube (for 1 of the cubes i have) I leave my pc for 2 hours to load the data and after that it doesn't end but it continues to load data. So, data loading is never done. I have been on my pc for a week trying to solve the problem but nothing has changed. What could the problem be?
    Notes:
    (A)
    I checked vls parameters and tha data's format and they are both compatible. See for yourself:
    SQL> select value from V$NLS_Parameters;
    VALUE
    AMERICAN
    AMERICA
    $
    AMERICA
    GREGORIAN
    DD-MON-RR
    AMERICAN
    WE8MSWIN1252
    BINARY
    HH.MI.SSXFF AM
    VALUE
    DD-MON-RR HH.MI.SSXFF AM
    HH.MI.SSXFF AM TZR
    DD-MON-RR HH.MI.SSXFF AM TZR
    $
    AL16UTF16
    BINARY
    BYTE
    FALSE
    19 rows selected.
    (B)
    Mappings are also ok. I checked them. As for each hierarchy, I gave on each attribute, values that prevent data conflict. I think `all_years` and `all_countries` levels are also ok as they include everything.
    (C)
    My computer is an Intel Pentiium 4 with 2x 512mb ram. I am running oracle 11g home on windows xp professional service pack 2.
    Thanks in Advance

    I need uncompressed cubes because as i said i have non-numeric data types in my data. I have dates, nums and varchar2.
    Anyway.
    i don't understand what you mean by saying dimensional members, but i suppose you are refering to the levels and the hierarchy of each dimension. I have already included that on my previous post. Check it! If you mean something else inform me!
    As for the amount of data:
    YEAR:2 RECORDS (1990 and 1991)
    CREATE TABLE YEARS
    (CALENDAR_YEAR_KEY NUMBER NOT NULL,
    CALENDAR_YEAR_NAME varchar2(40),
    CALENDAR_YEAR_TIME_SPAN NUMBER,
    CALENDAR_YEAR_END_DATE DATE,
    PRIMARY KEY(CALENDAR_YEAR_KEY)
    LOCATION : 256 RECORDS (It also contains a CONTINENT_ID whose value range from 350 to 362 REPRESENTING all oceans, continents and the world. COUNTRY_ID ranges from 1 to 253)
    CREATE TABLE LOCATIONS
    (COUNTRY_KEY varchar2(44) NOT NULL,
    COUNTRY_NAME varchar2(54),
    CONTINENT_KEY varchar2(20) NOT NULL,
    CONTINENT_NAME varchar2(30),
    COUNTRY_ID NUMBER,
    CONTINENT_ID NUMBER NOT NULL,
    PRIMARY KEY(COUNTRY_ID)
    MEASURES : 498 RECORDS (249 records for 1990 and 249 records for 1991)
    CREATE TABLE MEASURES
    (GEOGRAPHY_total_area DEC(11,1),
    GEOGRAPHY_local_area DEC(11,1),
    GEOGRAPHY_arable_land DEC(5,4),
    GEOGRAPHY_permanent_crops DEC(5,4),
    . (various other measures)
    MEASURES_YEAR NUMBER,
    MEASURES_COUNTRY NUMBER,
    PRIMARY KEY(MEASURES_YEAR,MEASURES_COUNTRY),
    FOREIGN KEY (MEASURES_YEAR) REFERENCES YEARS(CALENDAR_YEAR_KEY),
    FOREIGN KEY (MEASURES_COUNTRY) REFERENCES LOCATIONS(COUNTRY_ID)
    TOTALLY : 268 measures
    But to make data loading easier i created 6 cubes on Analytical Workspace Manager each one containing:
    GEOGRAPHY : 51 attributes
    PEOPLE : 24 attributes
    ECONOMY : 40 attributes
    GOVERNMENT : 113 attributes
    COMMUNICATION : 28 attributes
    DEFENSE FORCES : 11 attributes
    (If i made any number counting error, forgive me. I only wanted to show you that there are many measures.)
    So, Is there anything I can do to solve the problem?

  • Error when I try to maintain cubes

    Hi all,
    I have this error when i try to maintain some cubes with dimensions.
    Failed to Build(Refresh) OLAP_BUILD.MAIN Analytic Workspace.
    ***Error Occurred in BUILD_DRIVER: In __XML_SEQUENTIAL_LOADER: In __XML_UNIT_LOADER: In __XML_RUN_CC_AUTOSOLVE:
    Someone knows how I can learn more about this error.
    Best Regards

    I think this might be an issue with 10.2.0.2 version, I would try applying the 10.2.0.3 patchset and then apply the additional the OLAP A patch for your specific platform. The patches can be downloaded from Metalink.
    Regards
    Keith Laker
    Oracle EMEA Consulting
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • Error in AWM

    Hi,
    I am working on AWM 10.2.0.1. I have built cubes and measures. When ever there is a change in the underlying data (I am changing values in the underlying database for test purpose) and I re-maintain the cube I get the following error :
    "Action BUILDDATABASE failed on object MAR2AW.MARSDW_CUB"
    Once I disconnect the database in AWM and reconnect, it works fine.
    Any ideas please?
    Thanks,
    Maruthi

    Hi,
    I am working on AWM 10.2.0.1. I have built cubes and measures. When ever there is a change in the underlying data (I am changing values in the underlying database for test purpose) and I re-maintain the cube I get the following error :
    "Action BUILDDATABASE failed on object MAR2AW.MARSDW_CUB"
    Once I disconnect the database in AWM and reconnect, it works fine.
    Any ideas please?
    Thanks,
    Maruthi

  • XML Parse Error in AWM

    OS: Oracle Database 11.1.0.7.0 on Windows XP
    Analytic Workspace Manager: 11.1.0.7.0A
    When expanding the Analytic Workspace in AWM I am getting the error below. I was able to create and populate the dimensions/cubes using XML Template and did not come across any errors during that process.
    I tried deleting the schema and recreated the AW but still get the same error. Are there any solutions to fix this problem?
    Errors have occurred during xml parse
    <Line 105, Column 22>: Encountered "(" at line 1, column 175.
    Was expecting one of:
    "DIMENSION" ...
    at oracle.olapi.xml.TagHandler.createRootException(Unknown Source)
    at oracle.olapi.xml.TagHandler.getRootException(Unknown Source)
    at oracle.olapi.xml.TagHandler.reportException(Unknown Source)
    at oracle.olapi.xml.TagHandler.processException(Unknown Source)
    at oracle.olapi.metadata.BaseMetadataXMLReader.resolveDeferredProperties(Unknown Source)
    at oracle.olapi.metadata.MetadataXMLReaderMetadataInitialState.exit(Unknown Source)
    at oracle.olapi.metadata.MetadataXMLReaderMetadataInitialState.exit(Unknown Source)
    at oracle.olapi.xml.TagHandler.endElement(Unknown Source)
    at org.xml.sax.helpers.ParserAdapter.endElement(ParserAdapter.java:626)
    at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:211)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1326)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:340)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:307)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:212)
    at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:405)
    at oracle.olapi.xml.XMLProcessor.parse(Unknown Source)
    at oracle.olapi.metadata.MetadataFetcher.processXML(Unknown Source)
    at oracle.olapi.metadata.MetadataFetcher.fetchBaseMetadataObjects(Unknown Source)
    at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObjects(Unknown Source)
    at oracle.olapi.metadata.MetadataListProperty.getObjects(Unknown Source)
    at oracle.olapi.metadata.BaseMetadataObjectState.getPropertyListValues(Unknown Source)
    at oracle.olapi.metadata.BaseMetadataObject.getPropertyListValues(Unknown Source)
    at oracle.olapi.metadata.mdm.MdmSchema.getCubes(Unknown Source)
    at oracle.olapi.metadata.deployment.AW.getCubes(Unknown Source)
    at oracle.olapi.metadata.deployment.AW.getPersistentLanguages(Unknown Source)
    at oracle.olap.awm.dataobject.aw.WorkspaceDO.getULanguages(Unknown Source)
    at oracle.olap.awm.dataobject.olapi.ULanguageDO.<init>(Unknown Source)
    at oracle.olap.awm.navigator.node.WorkspaceNode.getUnifiedChildren(Unknown Source)
    at oracle.olap.awm.navigator.node.WorkspaceNode.getChildren(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNodeModel.refreshData(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNodeModel.dTreeItemExpanding(Unknown Source)
    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(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNode.access$400(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNode$ExpansionThread.run(Unknown Source)

    I am also experiencing this error when attaching an AW:
    Errors have occurred during xml parse
    <Line 43, Column 47>: Error during parse: "java.lang.NullPointerException"
    <Line 159, Column 19>: Error during parse: "Errors have occurred during xml parse
    <Line 41, Column 34>: Error during parse: "java.lang.NullPointerException"
    <Line 44, Column 55>: Error during parse: "java.lang.NullPointerException"
    <Line 50, Column 55>: Error during parse: "java.lang.NullPointerException"
    <Line 60, Column 34>: Error during parse: "java.lang.NullPointerException"
    <Line 63, Column 55>: Error during parse: "java.lang.NullPointerException"
    <Line 69, Column 55>: Error during parse: "java.lang.NullPointerException"
    <Line 79, Column 34>: Error during parse: "java.lang.NullPointerException"
    <Line 82, Column 55>: Error during parse: "java.lang.NullPointerException"
    <Line 88, Column 55>: Error during parse: "java.lang.NullPointerException"
    <Line 98, Column 34>: Error during parse: "java.lang.NullPointerException"
    <Line 101, Column 55>: Error during parse: "java.lang.NullPointerException"
    <Line 107, Column 55>: Error during parse: "java.lang.NullPointerException""
    <Line 396, Column 47>: Error during parse: "java.lang.NullPointerException"
    <Line 694, Column 47>: Error during parse: "java.lang.NullPointerException"
    at oracle.olapi.xml.TagHandler.createRootException(Unknown Source)
    at oracle.olapi.xml.TagHandler.getRootException(Unknown Source)
    at oracle.olapi.xml.TagHandler.reportException(Unknown Source)
    at oracle.olapi.xml.TagHandler.processException(Unknown Source)
    at oracle.olapi.metadata.BaseMetadataXMLReader.resolveDeferredProperties(Unknown Source)
    at oracle.olapi.metadata.MetadataXMLReaderMetadataInitialState.exit(Unknown Source)
    at oracle.olapi.metadata.MetadataXMLReaderMetadataInitialState.exit(Unknown Source)
    at oracle.olapi.xml.TagHandler.endElement(Unknown Source)
    at org.xml.sax.helpers.ParserAdapter.endElement(Unknown Source)
    at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:211)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1326)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:340)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:307)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:212)
    at org.xml.sax.helpers.ParserAdapter.parse(Unknown Source)
    at oracle.olapi.xml.XMLProcessor.parse(Unknown Source)
    at oracle.olapi.metadata.MetadataFetcher.processXML(Unknown Source)
    at oracle.olapi.metadata.MetadataFetcher.fetchBaseMetadataObjects(Unknown Source)
    at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObjects(Unknown Source)
    at oracle.olapi.metadata.MetadataListProperty.getObjects(Unknown Source)
    at oracle.olapi.metadata.BaseMetadataObjectState.getPropertyListValues(Unknown Source)
    at oracle.olapi.metadata.BaseMetadataObject.getPropertyListValues(Unknown Source)
    at oracle.olapi.metadata.mdm.MdmSchema.getCubes(Unknown Source)
    at oracle.olapi.metadata.deployment.AW.getCubes(Unknown Source)
    at oracle.olapi.metadata.deployment.AW.getPersistentLanguages(Unknown Source)
    at oracle.olap.awm.dataobject.aw.WorkspaceDO.getULanguages(Unknown Source)
    at oracle.olap.awm.dataobject.olapi.ULanguageDO.<init>(Unknown Source)
    at oracle.olap.awm.navigator.node.WorkspaceNode.getUnifiedChildren(Unknown Source)
    at oracle.olap.awm.navigator.node.WorkspaceNode.getChildren(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNodeModel.refreshData(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNodeModel.dTreeItemExpanding(Unknown Source)
    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(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNode.access$400(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNode$ExpansionThread.run(Unknown Source)
    This is on DB 11.1.0.7.0 with CPU 25 (9392335) using AWM 11.1.0.7.0B with all components VALID
    Oracle Enterprise Manager     11.1.0.7.0     VALID
    OWB     11.1.0.7.0     VALID
    Oracle Application Express     3.0.1.00.12     VALID
    Oracle Ultra Search     11.1.0.7.0     VALID
    OLAP Catalog     11.1.0.7.0     VALID
    Spatial     11.1.0.7.0     VALID
    Oracle Multimedia     11.1.0.7.0     VALID
    Oracle XML Database     11.1.0.7.0     VALID
    Oracle Text     11.1.0.7.0     VALID
    Oracle Expression Filter     11.1.0.7.0     VALID
    Oracle Rules Manager     11.1.0.7.0     VALID
    Oracle Workspace Manager     11.1.0.7.0     VALID
    Oracle Database Catalog Views     11.1.0.7.0     VALID
    Oracle Database Packages and Types     11.1.0.7.0     VALID
    JServer JAVA Virtual Machine     11.1.0.7.0     VALID
    Oracle XDK     11.1.0.7.0     VALID
    Oracle Database Java Packages     11.1.0.7.0     VALID
    OLAP Analytic Workspace     11.1.0.7.0     VALID
    Oracle OLAP API     11.1.0.7.0     VALID

  • Error importing AWM XML Schema in OWB repository

    Hi, as you suggest me I downloaded the OWB expert "AW XML Import Expert" on this page:
    http://www.oracle.com/technology/products/warehouse/htdocs/OWBexchange.html?cat=ALP&submit=search
    I correctly installed it on OWB, I created a module linking to the GLOBAL sample location with the tables, but when I try to import an AWM XML file (for example PRICE_CUBE.xml) I get this error:
    EXP00008: error during expert execution:
    java.net.MalformedURLException: no protocol: OLAP METADATA
    while executing
    "$saxparser parse $parserInput"
    invoked from within
    And so with any other dimension or cube file exported from Global Sample in AWM.
    Also using IE8 and Firefox 3 I can't open this file, and in IE I get
    System: -2146697211. Error during elaboration of resource "OLAP METADATA". Error during the elaboration...
    %BIND_VALUES;
    Is there a problem in the XML? Or in my procedure?

    Hello, all the errors you've been given are related to missing objects.
    You should re-create/import the location for you process flows before importing the process flows themselves.
    Also verify that you have imported the procedures FLSTG.PROC_GET_ETL_DATA_DATE and FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL because you use them in your process flows so you need them: OWB refuses to import a process flows if some objects are missing because it would break some links.
    In general process flows should be imported where you have all the other objects in the repository because they are the final step and they reference many other objects.
    Hope this helps - Antonio

  • Refresh Cube Error

    Oracle Analytic Workspace Manager 9.2.0.4
    Oracle database 9.2.0.6
    I have a cube with data pre-aggregated using NASKIP2. Everything worked fine until we needed to update our data (already updated in the relational tables). I tried to refresh the analytic workspace using the wizard in AWM but came up with the following error:
    Preparing
    Processing cube MY_CUBE
    Processing Defining Load for Cube: MY_CUBE
    Could not add measure NA to load. It is either not defined or deleted from the relational cube
    Could not add measure NA to load. It is either not defined or deleted from the relational cube
    Could not add measure NA to load. It is either not defined or deleted from the relational cube
    Could not add measure NA to load. It is either not defined or deleted from the relational cube
    Could not add measure NA to load. It is either not defined or deleted from the relational cube
    Could not add measure NA to load. It is either not defined or deleted from the relational cube
    Could not add measure NA to load. It is either not defined or deleted from the relational cube
    Could not add measure NA to load. It is either not defined or deleted from the relational cube
    Could not add measure NA to load. It is either not defined or deleted from the relational cube
    Could not add measure NA to load. It is either not defined or deleted from the relational cube
    Processing MY_CUBE Refresh
    Error Message from Server = Problem generating and executing sql to read cube data
    MY_CUBE
    MY_CUBE
    (LXSUBST02) The value of the ampersand-substitution expression is NA.
    In SYS.AWCREATE!___GEN.CUBE.SQL PROGRAM:
    &obj(property 'MEASCOLS' meas) lastcol)
    ^
    SqlException = ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "OLAPSYS.DBMS_AWM", line 1130
    ORA-06512: at line 1
    Error Code = 6510
    Sql State = 65000
    REFRESH_WIZARD.PAGE.IMPORT_FAILURE.COULD_NOT_REFRESH
    REFRESH_WIZARD.PAGE.IMPORT_FAILURE.CUBES_NOT_REFRESHED
    java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "OLAPSYS.DBMS_AWM", line 1130
    ORA-06512: at line 1
    Tidying Up
    Any help would be much appreciated.

    It appears to be a result of AWM 9.2.0.4 generating invocations to dbms_awm.add_awcubeload_spec_measure, to specify which measures are going to be included in the load (i.e. the run of dbms_awm.refresh_awcube).
    Did you add any standard form measures manually to your analytic workspace which were never in the CWM1/CwMLite ROLAP cube?
    Did you delete any measures from your CWM1/CwMLite ROLAP cube in between building/refreshing the analytic workspace copy?
    AWM attempts to figure out which measures are candidates to be added to the load (i.e. which measures should have an invocation to dbms_awm.add_awcubeload_spec_measure added) by SQL against all_olap2_cube_measures (CwMLite measures) as well as all_olap2_aw_cube_measures (active catalog for analytic workspace measures.)

Maybe you are looking for