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

Similar Messages

  • 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 πμ

  • Good document for creating cube using AWM wih oracle 10.1.0.2 version

    Can anyone provide some good guide for implementing the OLAP cubes using ORACLE ver 10.1.0.2.0 with AWM Release 1.
    Also, please let me know whether I need to apply any patches.
    The demo provided under this link has some differences when trying to implement.
    http://www.oracle.com/technology/products/bi/olap/viewlet/awm10g_viewlet_swf.html
    Your help is appreciated.

    Well, if some of the required componets were missing, I would imagine you getting an error when trying to connect?
    Where is this ASP application actually running?
    Is it running on your localhost IIS web server?
    If not, any setup on your computer will be irrelevent.
    If it is, you need to install MDAC components, and 2.8 is the latest.
    If running on your local IIS, did you try to create a very basic ASP page which just creates a connection to the database in question? Does that work?
    Do you have ON ERROR statements in your code to bypass any/all SQL errors?
    If you create a simple UDL file on your desktop and specify the server/user/password (ater selecting Oracle OLEDB driver), does the connect button work?

  • Error in using AWM "Create Aggregation Plan Wizard"

    HI,
    I have 9205 database with OLAP option running on Linux ES3. I created 2 cubes & 7 dimensions using OWB and deployed it using the OWB Bridge. From there, I created AW & enabled the cubes using AWM. It also loaded data into dimensions and cube in AW and everything is visible in JDeveloper. Then I tried to create an aggregation plan for one of the cubes using the wizard & it gave me following error at the GET_LEVEL step. It is disconnecting the AW from AWM upon getting this error.
    Can someone help?
    regards
    Suresh
    java.sql.SQLException: ORA-03113: end-of-file on communication channel
    at oracle.olap.awm.util.jdbc.SQLWrapper.execute(SQLWrapper.java:225)
    at oracle.olap.awm.businessobject.aw.LevelBO.getOrderedLevelsForDimensionInAW(LevelBO.java:199)
    at oracle.olap.awm.wizard.aggplanner.AggPlanSelectLevelPanel.initialiseDimensionLevelHashtable(AggPlanSelectLevelPanel.java:210)
    at oracle.olap.awm.wizard.aggplanner.AggPlanSelectLevel.onEnterPage(AggPlanSelectLevel.java:125)
    at oracle.olap.awm.ui.wizard.Wizard.wizardSelectionChanged(Wizard.java:157)
    at oracle.bali.ewt.wizard.BaseWizard.processWizardEvent(Unknown Source)
    at oracle.bali.ewt.wizard.BaseWizard.processEventImpl(Unknown Source)
    at oracle.bali.ewt.LWComponent.processEvent(Unknown Source)
    at oracle.bali.ewt.wizard.BaseWizard.selectPage(Unknown Source)
    at oracle.bali.ewt.wizard.BaseWizard.doNext(Unknown Source)
    at oracle.bali.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source)
    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.plaf.basic.BasicButtonListener.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.Dialog.show(Unknown Source)
    at java.awt.Component.show(Unknown Source)
    at java.awt.Component.setVisible(Unknown Source)
    at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
    at oracle.olap.awm.ui.wizard.Wizard.showInDialog(Wizard.java:95)
    at oracle.olap.awm.wizard.aggplanner.AggPlanWizard.showInDialog(AggPlanWizard.java:129)
    at oracle.olap.awm.app.AwmFrame.showAggPlanWizard(AwmFrame.java:1263)
    at oracle.olap.awm.navigator.node.olapcatalog.AwCubeNode.actionPerformed(AwCubeNode.java:164)
    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$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.run(Unknown Source)

    Whenever you see "end-of-file on communications file" it means something bad happened (A crash) and a trace file should have been generated in your dump directory. You'll need to open a TAR with that trace file to get development to look at it.

  • 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!

  • 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.

  • 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/

  • 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

  • Can I Re-Map Cube using XML template ?

    Hi,
    I'm running the latest versions of olap 10g (Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 ) and AWM (10.2.0.1).
    I have a cube built with compressed composites partioned on time.
    I am loading 4 different hierarchies on the location dimension. (the lowest level
    are different cuts of data and not related). I can successfully load and aggregate the cube by re-mapping a different relational table to the cube and maintaining the cube in AWM . This requires 4 passes. Everything works fine and I get the desired result.
    The issue is that when I try to automate this ..the load (sql script I saved in AWM) doesn't know that the cube was re-mapped even though I saved a new sql script for each of the 4 passes. It takes the initial mapping on each load.
    I need to re-map a different relational table to the cube in between loads. (Can't use a view because I'm mapping to a different level in the cube each time).
    Is there a way I can use part of the XML template to accomplish this ? I can save
    an XML template for each mapping but don't know how to read it back in with out
    blowing away the existing cube.
    Thanks & A Verry Merry Christmas and Happy Holiday to All !!
    Mike

    watrost,
    thanks for your reply...
    I did infact try what you describe thru olap DML. It worked fine when the cube was not defined with compressed composites. When using compressed composites the load of the measures into the cube worked fine but the aggregation was so slow ... On my test cube it took over 1 hour to aggregate 1 variable that took 2 minutes using the script that AWM generated and about 5 minutes with the olap dml and no compressed composites. On a larger cube with production data I canceled the OLAP dml aggregation after 24 hours. The AWM script ran in 1 hour. I need the compressed composites because of the sparsity and size of the cube without them. Do you know if there is any additional code needed for aggregation when compressed composites are involved. I used the aggmap generated by AWM for the aggregation
    thanks
    Mike

  • Error while creating AW using AWM

    I am using AWM version 10.2.0.3.0, Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod.
    Using the user apps when trying to create an AW using AWM. Schema->apps-> Analytic Workspace -> Create Analytic Workspace
    I get an error
    oracle.express.ExpressServerException
    java.sql.SQLException: ORA-33292: insufficient permissions to access analytic workspace SYS.AWXML using the specified access mode.
    ORA-06512: at "SYS.GENCONNECTIONINTERFACE", line 70
    ORA-06512: at line 1
    what permission should I set get this working?

    Not a good idea to grant OLAP_DBA role as this can cause a lot or problems, it is about the same as granting DBA to a user but when you connect an OLAP query tool the schema you may get additional problems.
    In terms of the original system error it does sound as if you do not have sufficient privileges to create an AW. Hence, Ragnar's suggestion to use assign OLAP_USER is a great way to start.
    Also as the SYS user try issuing GRANT SELECT TO PUBLIC on SYS.AW$XML. It could be your OLAP installation is somehow incorrectly configured?
    I am assuming you have applied the 10.2.0.3 patchset (all the steps - the installation via the Universal Installer and the post installation scripts) and applied the 10.2.0.3A patchset?
    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/

  • 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!

  • Creating a cube using OEM

    I have an Oracle 10g database that has 5 tables in it. these tables are linked together through keys. Now, I am curious to know if I can create a cube with two or more dimensions based on columns from the same table, and also have the measure(s) for that cube be from the same table?? Would I need to create a view of that table and use that view as the "fact table"?
    It seems like the cubes built in a lot of these samples use dimensions where each of those dimensions each come form a separate table. Does it always have to be that way?
    Thanks for any input.

    I'm not sure exactly why you want to do this.
    I guess I didn't explain very clearly :)
    We (i.e. the company I work for) creates software (in C++) which needs to work with a lot of data which is in an Oracle-DB.
    As the analysis done by the SW would profit (performance-wise) from the layout of the data in an cube, we want to get the data in a cube.
    But information like the number of dimensions isn't known beforehand (as that's sth. that's dependent on the site the customer uses the SW on, and can
    change with time), the software has to do the creation of dims and the cube itself.
    (For the curious ones: http://www.centerpoint.eu.com/ )
    And as OLAPI isn't available for C++ (at least afaics), I'd really want to do this in PL/SQL.
    If you do use standard form, you then allow yourself the
    option of using the various tools later
    That's really not needed :)
    You can always build the original AW using
    AWM, then save the build script it generates, and use
    that to do subsequent builds.
    Is that build-script in OLAP DML? How do I save it?
    BTW, in addition to the SPL INFILE command, there is
    the DBMS_AW.INFILE plsql routine, which saves you
    some quotes :-).
    dbms_aw.execute('infile ''work_dir/my.inf''') vs
    dbms_aw.infile('work_dir/my.inf')
    I hate superfluous quotes :)
    Thanks Jim!

  • Creating a Cube using pure OLAP DML

    This should be quite simple, but neither reading OLAP_*.pdf nor googling helped me, so maybe you can give me a hint where to look:
    I want to create dimensions, populate them, create a cube, and finally populate it, using just OLAP DML (i.e. no DBMS_AW or CWM/CWM2 packages).
    1) How can I execute OLAP DML? Right now I'm using sqlplus, wrapping each line in execute dbms_aw.execute(...);
    There's some better way, right? :)
    2) Can someone give me a link to a simple tutorial, showing how to create a cube et c.? Right now I'm as far as
    AW CREATE olaptest1
    DEFINE dimfoo DIMENSION TEXT AW olaptest1
    DEFINE dimbar DIMENSION TEXT AW olaptest1
    SQL SELECT DISTINCT(foo) FROM footable ORDER BY 1 INTO :dimfoo
    (the latter one fails, telling me that "quux is not a vaild olaptest1!dimfoo")
    3) Have I understood this correctly: I only need an Catalog if I want to work with AWM or DBMS_AWM, not if I just use DML?

    I'm not sure exactly why you want to do this.
    I guess I didn't explain very clearly :)
    We (i.e. the company I work for) creates software (in C++) which needs to work with a lot of data which is in an Oracle-DB.
    As the analysis done by the SW would profit (performance-wise) from the layout of the data in an cube, we want to get the data in a cube.
    But information like the number of dimensions isn't known beforehand (as that's sth. that's dependent on the site the customer uses the SW on, and can
    change with time), the software has to do the creation of dims and the cube itself.
    (For the curious ones: http://www.centerpoint.eu.com/ )
    And as OLAPI isn't available for C++ (at least afaics), I'd really want to do this in PL/SQL.
    If you do use standard form, you then allow yourself the
    option of using the various tools later
    That's really not needed :)
    You can always build the original AW using
    AWM, then save the build script it generates, and use
    that to do subsequent builds.
    Is that build-script in OLAP DML? How do I save it?
    BTW, in addition to the SPL INFILE command, there is
    the DBMS_AW.INFILE plsql routine, which saves you
    some quotes :-).
    dbms_aw.execute('infile ''work_dir/my.inf''') vs
    dbms_aw.infile('work_dir/my.inf')
    I hate superfluous quotes :)
    Thanks Jim!

  • Problems maintaining network connectivity in hotels

    I have a problem maintaining internet connectivity when I use hotel WiFi services where you have to "login" first via the web browser. I don't have a problem with the WiFi per se and I have no problems with initial connectivity -- I can login and browse the Web without problems. But if my MacBook goes to sleep, I can't browse, get email, etc when it wakes up.
    I don't have this problem at home - only when I travel to places where I have to first "login". This has been happening consistently since I got the MacBook 10 months ago and at various hotel chains around the country. Also when I have another laptop with me ( Windows ) I don't see this problem. Sometimes on the Windows machine I have to "login" again after it wakes up but I never have this opportunity on my MacBook -- the browser just hangs there, "loading" indefinitely.
    The only way I've found to fix this is to reboot my MacBook. I've tried Googling for a solution or even anybody else who has this problem and I've turned up nothing! I am really the only person having this problem?!? LOL...

    Unfortunately this is a fact of life with these types of hotel systems. Live with it or set your Mac to "Computer never sleep" when you are traveling and that occurs.

Maybe you are looking for

  • Urgent: SQLException: Internal Error: Image is not in 8.1 format

    Hello there, I have never come accross such error. Scenario 1 using JDeveloper EA1, Database 9i (9.2.0.6) 2 calling Oracle package procedure with in/out parameters. 3 Package has been imported into jDeveloper (jPublisher) with defaults settings. 4 pr

  • Minimize, re size & exit icons missing from top right of screen

    After upgrading to 5.3 I don't have minimize, resize or exit icons at top right of screen. Any help getting them back would be appreciated. Steve

  • Screen sharing to windows xp

    hi i was looking on the system preferences and i found out that i can screen share on my local network but i am not sure exactly how to. if anyone knows how to please help me. thanks

  • Property Node

    Hi Devchander: I have a question I would like to ask. I have a property node question. For some reason. I could not send the vi file. I make a word document. The one that is on the left is the property node I created from waveform graph.  You can see

  • I can't seem to connect my N97 with sony Ericson b...

    I have tried to connect it for a few days now...still doesn't connect. I tried searching for the device but every time it says "No device found". It can connect with other people's phone but not the bluetooth.  It's so frustrating.  Can anyone help m