Creating variables in OLAP DML - 11g

Hi Experts,
My understanding is that the OLAP metadata is exposed to GUI via formulas only. if I create a variable in OLAP DML worksheet, is it possible to expose it to cube view, and awm by formulas/programs etc?
Kind Regards

In OLAP Worksheet you can select 'SQL Mode' from the Options menu and run the SELECT statement there. Alternatively you can run the SELECT statement from inside an olap dml PROGRAM. Here is an example.
DEFINE LIST_AWS PROGRAM
PROGRAM
  VARIABLE _owner    TEXT
  VARIABLE _aw       TEXT
  VARIABLE _errortext TEXT
  VARIABLE _id_width INTEGER
  TRAP ON HADERROR NOPRINT
  " SQL Names are 30 characters long
  _id_width = 30
  " Declare a SQL cursor to get the list of AWs
  SQL DECLARE AW_SQL CURSOR FOR -
  SELECT OWNER, AW_NAME FROM ALL_AWS
  " Open the cursor
  SQL OPEN AW_SQL
  " Loop through the results
  WHILE SQLCODE EQ 0
  DO
    IF _aw EQ NA
    THEN DO
           " First loop, so print report headings
           SHOW JOINCHARS(RPAD('OWNER', _id_width) ' ' 'AW')
           SHOW JOINCHARS(RPAD('-' _id_width '-' ) ' ' RPAD('-' _id_width '-'))
         DOEND
    ELSE DO
           " Print aw and owner names
           SHOW JOINCHARS (RPAD(_owner, _id_width) ' ' _aw)
         DOEND
    " Fetch next row into local varialbes
    SQL FETCH AW_SQL INTO :_owner, :_aw
  DOEND
  " A SQLCODE of 100 is OK,since it means end of records
  IF SQLCODE EQ 100
  THEN DO
         SQL CLOSE AW_SQL
         SQL CLEANUP
         RETURN
      DOEND
  HADERROR:
   SHOW SQLERRM
   SQL CLEANUP
ENDAnd here is what I see when I call it as the GLOBAL user.
call list_aws
OWNER                      AW
SYS                      EXPRESS
SYS                      AWMD
SYS                      AWCREATE
SYS                      AWCREATE10G
SYS                      AWXML
SYS                      AWREPORT
GLOBAL                      GLOBAL

Similar Messages

  • Creating KPI using OLAP DML

    Hi all,
    How do we develop KPI (Key Performance Indicators) using OLAP DML in AWM 10g R2 (Analytical Workspace Manager)? I am new to this tool. Can anybody help me with a sample code. If there is any other way of implementing KPI in Oracle BI, kindly quote that example as well.
    Kieth, if you can answer my question and give me a sample OLAP DML code, i will be more than happy.
    Thanks in advance

    In 10g this is not quite as simple as 11g. To create a custom measure that calls an OLAP DML program you need to either:
    1) Download the Excel Utility from the OLAP home page on OTN:
    http://download.oracle.com/otn/java/olap/SpreadsheetCalcs_10203.zip
    but check the readme first:
    http://www.oracle.com/technology/products/bi/olap/OLAP_SpreadsheetCalcs.html
    or
    2) Use Warehouse Builder to manage your AWs. OWB allows you to automatically create custom calculations that call OLAP DML programs.
    If you look at this posting on the Oracle OLAP Blog you will find an example of how to create an OLAP DML program and reference it from a calculated measure:
    http://oracleolap.blogspot.com/2008/03/creating-calculated-measure-cube.html
    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

  • Creating CUBE through OLAP DML

    Hi
    We have a relational database in which we had build cubes . Now we want to convert this into multi dimensional database format . Is it possible to make cubes through OLAP dml and are these cubes accessible via OLAP access packs .
    Amar

    So far, it has been my understanding and experience that you can't start from "nothing" and have an AW that is capable of using the OLAP API (Java-based access). It always needs the presence of a valid ROLAP cube, and the wizard really does nothing more than create from that the MOLAP equivalent in an AW. I haven't seen anything that lets you do this from only OLAP DML commands. I would love to be wrong, and have a method presented, but all my searching says you can't get there from here.

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

  • XOQ-01600: OLAP DML error "ORA-33858: 11g Cube

    Hi All ,
    I was trying to apply the cube changes after changing the sparsity definition against one of the dimension under Storage tab and it is throwing below error .
    Any reason ?
    An error has occurred on the server
    Error class: Express Failure
    Server error descriptions:
    DPR: cannot create server cursor, Generic at TxsOqDefinitionManager::generic<CommitRoot>
    INI: XOQ-01600: OLAP DML error "ORA-33858: The value of the ampersand-substitution expression is NA." while executing DML "SYS.AWXML!R11_MANAGE_CUBE('MARKET_SALES_CUBE_WORKING.CUBE' 'ALTER' 'NUMBER' SYS.AWXML!___R11_LONG_ARG_VALUE(SYS.AWXML!___R11_LONG_ARG_DIM 1) SYS.AWXML!___R11_LONG_ARG_VALUE(SYS.AWXML!___R11_LONG_ARG_DIM 2) 'TIME.DIMENSION' 'TIME.CALENDER.HIERARCHY' 'TIME.MONTHLY.LEVEL' 'COMPRESSED' 'YES' 'YES' 'MARKET_SALES_CUBE_WORKING.SOLVE.AGGREGATIONDEFINITION' 'NO')", Generic at TxsOqStdFormCommand::execute
    Thanks in advance,
    DxP

    I have seen this kind of error show up if you rename an object (e.g. a measure) and then make further modifications. Did that happen in your case? If you export the cube to XML, delete it from AWM, and then recreate it from XML, then it may resolve the problem. If not, and if it is preventing your from making progress, then I would open a service request since we usually need to enable tracing to resolve this class of error.

  • 11g - Listing Workspaces in OLAP DML

    Hi All,
    Is there a way in OLAP worksheet, to list all the workspaces accessible to the user?
    It can be done by querying the data dictionary - "select * from all_aws;" but this information should be available in AW and OLAP DML too?
    Regards, Neelesh

    In OLAP Worksheet you can select 'SQL Mode' from the Options menu and run the SELECT statement there. Alternatively you can run the SELECT statement from inside an olap dml PROGRAM. Here is an example.
    DEFINE LIST_AWS PROGRAM
    PROGRAM
      VARIABLE _owner    TEXT
      VARIABLE _aw       TEXT
      VARIABLE _errortext TEXT
      VARIABLE _id_width INTEGER
      TRAP ON HADERROR NOPRINT
      " SQL Names are 30 characters long
      _id_width = 30
      " Declare a SQL cursor to get the list of AWs
      SQL DECLARE AW_SQL CURSOR FOR -
      SELECT OWNER, AW_NAME FROM ALL_AWS
      " Open the cursor
      SQL OPEN AW_SQL
      " Loop through the results
      WHILE SQLCODE EQ 0
      DO
        IF _aw EQ NA
        THEN DO
               " First loop, so print report headings
               SHOW JOINCHARS(RPAD('OWNER', _id_width) ' ' 'AW')
               SHOW JOINCHARS(RPAD('-' _id_width '-' ) ' ' RPAD('-' _id_width '-'))
             DOEND
        ELSE DO
               " Print aw and owner names
               SHOW JOINCHARS (RPAD(_owner, _id_width) ' ' _aw)
             DOEND
        " Fetch next row into local varialbes
        SQL FETCH AW_SQL INTO :_owner, :_aw
      DOEND
      " A SQLCODE of 100 is OK,since it means end of records
      IF SQLCODE EQ 100
      THEN DO
             SQL CLOSE AW_SQL
             SQL CLEANUP
             RETURN
          DOEND
      HADERROR:
       SHOW SQLERRM
       SQL CLEANUP
    ENDAnd here is what I see when I call it as the GLOBAL user.
    call list_aws
    OWNER                      AW
    SYS                      EXPRESS
    SYS                      AWMD
    SYS                      AWCREATE
    SYS                      AWCREATE10G
    SYS                      AWXML
    SYS                      AWREPORT
    GLOBAL                      GLOBAL

  • OWB 11g  Process Flow - How to see variables and how to create variables

    Dear All,
    I have recently migrated from 10g to 11g rel 2.
    In 10g when I open a proces flow I can see all the parameters and variables I created on each activities on "Explorer" window. this allows me to craete new parameters and variables as well.
    But ones after I migrated to 11g, I cant see explorer window and there is no place to enable it as well.
    How Can I create variables, parameters in processes flow on 11g?
    Thanks in advance.
    Alex

    Hi,
    In 11g "Explorer" window renamed as "Stucture" and same details as 10g shows in Structure window. This window can enable and dissable (Show and Hide) using Menu => View=> Stuture option.
    Thanks

  • Where I can find examples with OLAP DML to update the cube cells?

    Hi,
    Where I can find examples with OLAP DML to update/calculate the cube measure/cells?
    I would like to insert data into the cube by OLAP DML.
    Regards,
    TomB

    Not sure about examples but this is how you should proceed
    1. Limit all your dimension to the leaf level values.
    lmt financialperiod to '200901'
    lmt geography to 'XYZ'
    lmt product to 'LAPTOP'
    2. Limit your measure variable to one measure(this is applicable if you have more than one stored measure in the cube).
    for 10g
    lmt <cube name>prtmeasdim to '<MEASURE NAME>'
    for 11g
    lmt <cube name>measuredim to '<MEASURE NAME>'
    3. Write into the variable.
    for 10g
    <cube name>prttopvar = 100 -- this variable is created for a compressed & partitioned cube. for uncompressed cube the variable name is <cube name>_stored.
    Thanks
    Brijesh

  • How do I view data from OLAP DML program or statement?

    Hi
    I'm struggling to find any information on this topic anywhere on the net:
    How to view data produced by an Oracle OLAP DML program or statement.
    Background :
    I am using the latest AWM to create and maintain dimensions, cubes and measures. However, I've noticed that AWM, Discoverer OLAP, BI Beans, Excel Plug-In et al only provide a fixed set of formula and expressions.
    For example, I wanted to created a Standard Deviation (STDEV) on measure. After much searching I learnt that I could do this by creating a custom measure in AWM by importing a measure defined in an XML dcoument as it's not provided by AWM. The output in Discoverer OLAP on the surface seems to give the correct results, however when drilling from high level to lower level of time time dimension hierarchy Discoverer includes the parent value in the calculation and renders the values incorrect.
    My alternative is to use OLAP DML, as it provides a richer range of formuale and calculations possibilities and I was hoping to use this functionality to do create the measures. I have the distinct impression, however, that OLAP Worksheet is the only interface out there to do this.
    It seems very primitive and limited with regards to data output, almost like SQL*Plus in many ways.
    The burning questions I have are :
    1) Do I need to write DML programs to perform these custom measure calculations and add them to cubes or do I import the custom measures via AWM and XML?
    2) If the answer to question 1 is DML programming, is there a way of viewing the OLAP data output through a GUI interface without embedding the statements in SQL.
    3) Has anyone experienced or noticed the same problem with Discoverer OLAP, AWM Viewer that I mentioned above? i,e, statistical functions performed on whole dimension hierarchy rather than lower levels.
    I'm hoping someone out there knows what I am trying to do or get at. Keith, any ideas or suggestions?
    Thanks
    Kind Regards
    Greg

    Hi Greg,
    There are two ways to achieve what you want. Both require the use of custom calculations which cannot be created via the calculation wizard within AWM. To do this the easiest way is step outside of AWM and use the Excel Calculation utility that is on the OLAP OTN home page:
    Creating OLAP Calculations using Excel
    http://download.oracle.com/otn/java/olap/SpreadsheetCalcs_10203.zip
    Readme
    http://www.oracle.com/technology/products/bi/olap/OLAP_SpreadsheetCalcs.html
    (Oracle OLAP DML Reference contains a list of all the OLAP functions that can be used to create a custom calculation. http://www.oracle.com/technology/products/bi/olap/OLAP_DML_10.2.zip)
    The Excel tool lets you assign your own formula to a measure and then uploads that measure definition into your AW. It is possible to import a custom calculation template into AWM using the menu option on the Calculated Measure node of each cube, but it is safer to use the Excel Worksheet as this directly uses the public XML API and is always best to use a public API rather than hacking XML templates.
    There are two types of custom calculation:
    1) Formula: using a formula you can directly call any of the OLAP functions. For example to create a measure that returns the standard deviation for a measure then you would enter the following as the formula for your calculated measure:
    stddev(sales_revenue, time)
    The easiest way to test if the measure is working as expected is to use the data viewer within AWM.
    2) Programs - if the function you need is not provided or you want to do special processing to return a result you can create an OLAP DML program which can return a result. To do this use OLAP Worksheet to define the program and add a datatype to the DEFINE statement, such as :
    DEFINE PRG_SD_SALES PROGRAM DECIMAL
    In the program return the value you have calculated within your program. Within the program you can do just about anything but be aware that your program is going to fire for every cell within your virtual cube so it must be efficient and fast to execute. For a measure then you would enter the following as the formula for your calculated measure:
    prg_sd_sales(time, products, geographies, channels).
    The actual program code would look something like this:
    DEFINE PRG_SD_REVENUE PROGRAM DECIMAL
    PROGRAM
    argument T_TIME TIME
    argument T_PRODUCT PRODUCTS
    argument T_GEOGRAPHY GEOGRAPHIES
    argument T_CHANNEL CHANNELS
    variable D_RETURN decimal
    TEMPSTAT TIME, PRODUCTS, GEOGRAPHIES, CHANNELS
    do
    limit PRODUCTS to T_PRODUCT
    limit CHANNELS to T_CHANNEL
    limit GEOGRAPHIES to T_GEOGRAPHY
    limit TIME to T_TIME
    limit TIME add descendants using TIME_PARENTREL
    limit TIME keep TIME_LEVELREL 'CAL_MONTH'
    D_RETURN = stddev(SALES_REVENUE)
    doend
    return D_RETURN
    END
    This code computes a standard deviation the all months within the specified time range, at year level for all 12 months, at quarter level for the three months within the quarter ans returns NA at the month level.
    As the code executes within a implicit loop you can only change the status fo dimensions that for part of that implicit by using the TEMPSTAT command. To test the program at the command line use the OLAP Worksheet and the SHOW command to just return one cell of data, DO NOT SIMPLY USE THE RPR COMMAND because you will have to wait for the whole cube to be returned. If you want to use the RPR command make sure you limit your base dimensions first! You can use PRGTRACE to debug your program code it is not working as expected. Again, the easiest way to test if the measure is working as expected is to use the data viewer within AWM, although this will not return debug information so send all your debug output to a file to capture any errors and/or trace the execution flow.
    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/

  • Whitepaper/Info Budgeting/Planning/Writeback via Oracle OLAP DML

    Hi,
    does anyone know of any whitepaper, manual section, general information regarding writeback, planning, budgeting using Oracle OLAPs DML API? We would like to upgrade our proprietary DataAccess-Layer, which interfaces to Oracle OLAP via the DML-API, to allow writeback.
    As said the documentation for this topic seems to be scarce to none.
    Just to give an example: it is not possible to write back values to the base measures UNITS_CUBE_SALES/COST/UNITS of the UNITS_CUBE in global AW, since all of them are FORMULA objects. The underlying variable to which you can assign values is in 10g UNITS_CUBE_SALES_STORED, whereas in 11g you would limit the ALL_MEASURES_DIM object to the SALES measure and assign a value to a variable named UNITS_CUBE_STORED. Basically this is information I was fishing out of this forum, but didn't find documented in the Oracle manuals.
    Therefor I am wondering, if writeback via the Oracle OLAP DML API is something, which is officially not supported? Or maybe I just didn't look in the right places to find documentation.
    BTW: I am looking at this topic from an ISV point of view.
    Best regards
    Ralf
    Edited by: Ralf Steinstraesser on Aug 18, 2009 5:15 AM

    hello,
    i can only speak about 10 G
    There are 2 modes to attach an aw for writing data.
    http://download.oracle.com/docs/cd/B19306_01/olap.102/b14346/dml_x_arcsin011.htm#i1016126
    1)In rw mode
    Only one user can have an analytic workspace open in read/write at a time
    2)in multi mode
    A workspace that is attached in multiwriter mode can be accessed simultaneously by several sessions
    you find documentation for multi write
    http://download.oracle.com/docs/cd/B19306_01/olap.102/b14346/dml_appcats003.htm#CHDJFJHD
    hope this help you
    jean marc

  • Tip: Improving The Performance Of OLAP DML Table Inserts

    Quick Oracle OLAP Tip:
    If you need to write the contents of a variable, or a group of variables, to a relational table, you would normally use the SQL INSERT command. Normal practice is to loop round all of the variables' dimension values, inserting the variable values into the relational tables one by one, until the variable has been completely loaded into your database table.
    Oracle 9i OLAP however introduces two new commands, SQL PREPARE and SQL EXECUTE (http://download-west.oracle.com/docs/cd/B10501_01/olap.920/a95298/sql5.htm#1027902) , that allow us to prepare our INSERT statement in such a way that it uses bind variables to pass values to the Oracle tables. Bind variables are generally a 'good thing' and reduce the amount of time Oracle has to spend parsing your SQL insert statements. In addition, you can specify additional options with SQL PREPARE to specify 'direct path' insertions (quicker as they bypass the normal SQL engine and directly load data into Oracle blocks), nologging (to eliminate redo log generation), and to nominate individual partitions to load data in to. It's worth noting that there's an error in the current OLAP DML documentation that suggest that any OLAP DML insert operation into an Oracle table locks the entire table, preventing other AW processes from inserting into the table until you commit. This is actually incorrect, and full-table locking only occurs if you use the DIRECT=YES option, which locks the table in the same way that SQL*Loader locks the table as they both use the Direct Path API.
    However, an even better solution than using SQL EXECUTE and SQL PREPARE is to use the OLAP_TABLE feature in Oracle 9i (http://download-west.oracle.com/docs/cd/B10501_01/olap.920/a95295/olap_tab.htm#73729) to create a view against your AW variable, then use this view as the source for a "INSERT INTO table SELECT * FROM source" SQL statement, optionally using the /*+ INSERT APPEND */ option if you want to carry out direct path insertions. By using OLAP TABLE and having the SQL engine insert multiple variable values into our target table, rather than having an OLAP DML program loop through the variable and carry out multiple single-row insertions, we were able to increase our write performance by an order of magnitude compared to our earlier SQL INSERT command. One thing to bear in mind though is that, if you are running many copies of the program concurrently, using direct path insertions may well cause lock contention, as each process will obtain an exclusive table lock while the direct insertion takes place. In the case of concurrent processes, it may be better to use conventional path insertions (but still use SQL PREPARE and EXECUTE, or OLAP TABLE) as these only require row-level exclusive locks.

    you can use Execution plain
    http://stackoverflow.com/questions/7359702/how-do-i-obtain-a-query-execution-plan
    and add index.
    Index according to the fields you ask queries can improve performance greatly larger!
    You can use the statistics for building indexes:
    http://www.mssqltips.com/sqlservertip/2979/querying-sql-server-index-statistics/
    Tzuri Ben Ezra | My Certifications:
    CompTIA A+ ,Microsoft MCP, MCTS, MCSA, MCITP |
    FaceBook: Tzuri FaceBook | vCard:
    Tzuri vCard | 
    Microsoft ID:
    Microsoft Transcript 
     |

  • Anyone know of a good OLAP DML/DDL  tutorial?  (and NOT reference guide)

    In addition to Analytic Workspace, I am trying to learn how to build cubes using just the OLAP DML / DDL language.
    Oracle and others have published a great deal of reference material on the language of OLAP DML / DDL but I can't find any real tutorials that guide me logically thru the process of creating cubes and all that goes with it (defining dimensions, hierarchies, measures, calculations etc..) All the reference material is spread out in bits and pieces and difficult to efficiently learn from. Does anyone have any good OLAP DML / DDL tutorial links they could recommend? Thanks.

    John W wrote:
    Oracle and others have published a great deal of reference material on the language of OLAP DML / DDL but I can't find any real tutorials that guide me logically thru the process of creating cubes and all that goes with it (defining dimensions, hierarchies, measures, calculations etc..) All the reference material is spread out in bits and pieces and difficult to efficiently learn from. Does anyone have any good OLAP DML / DDL tutorial links they could recommend? Thanks.This is a very difficult task. The OLAP DML/DDL only supports basic multidimensional variables, dimensions (very primitive), and relations. The externally visible cubes and dimensions are a construct of a lot of component objects (a dimension has many primitive dimensions and relations put together to create the higher level DIMENSION that goes with a cube; a cube has multiple variables and other pieces that get put together) in the AW, plus a bunch of metadata objects in the Oracle dictionary.
    You really don't want to try to create your own and expect them to interact with the OLAPI interfaces. It is possible to construct your own version of things, but you'd also have to do your own view generation, etc. There are applications out there that are created from scratch, but they are completely from scratch (including whatever interactions they have via SQL). Whatever you create will not work with any of the Oracle-provided interfaces, nor the recently-announced Simba MDX package.
    Jim

  • XOQ-00703: error executing OLAP DML command "(SYS.AWXML!R11_INITIALIZE_AW

    Hello!
    Just upgraded from 10.2.0.4 64 bit Windows to 11.2.0.2 64 bit OEL it test environment. DB Compatibility = 11.2.
    SQL> select comp_name,version,status from DBA_REGISTRY where comp_name like '%OLAP%';
    COMP_NAME
    VERSION STATUS
    OLAP Analytic Workspace
    11.2.0.2.0 VALID
    Oracle OLAP API
    11.2.0.2.0 VALID
    OLAP Catalog
    11.2.0.2.0 VALID
    Problem 1: We had 2 AWs in PROD on 10.2.0.4.We can not open any of them in 10g mode.
    Problem 2: When we are trying to create AW in 11G mode we receive this error: XOQ-00703: error executing OLAP DML command "(SYS.AWXML!R11_INITIALIZE_AW
    We have tried to rerun xumuts.plb under sys.
    Log contains following errors:
    =============================================
    BEGIN dbms_aw_build.build('EXPRESS', FALSE); END;
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [xspg: RSALPAGE01], [8128], [], [],
    ORA-06512: at "SYS.DBMS_AW_BUILD", line 107
    ORA-06512: at line 1
    BEGIN dbms_aw_build.build('AWMD', TRUE); END;
    ERROR at line 1:
    ORA-34738: A severe problem has been detected. Analytic workspace operations
    have been disabled.
    ORA-06512: at "SYS.DBMS_AW_BUILD", line 107
    ORA-06512: at line 1
    ==========================================
    and so on for each system AW
    should we raise a SR or somebody has any idea?
    Big thx in advance!
    Regards,
    Kirill
    Edited by: Kirill on Jun 16, 2011 1:34 PM

    I think you should raise an SR on this issue.

  • XOQ-01600: OLAP DML error while executing DML "SYS.AWXML!R11_LOAD_DIM"

    hi all,
    I am trying to do the tutorial Building OLAP 11g Cubes (http://st-curriculum.oracle.com/obe/db/11g/r1/olap/cube/buildicubes.htm), but when I try to "Maintain Cube SALES_CUBE" I get the following error:
    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: ORA-35571: The maximum number of load errors has occurred. No changes from this step were committed to the database.
    XOQ-01600: OLAP DML error while executing DML "SYS.AWXML!R11_LOAD_DIM", Generic at TxsOqStdFormCommand::execute
    INI: XOQ-01601: error while loading data for Cube Dimension "OLAPTRAIN.PRODUCT" into the analytic workspace, Generic at TxsOqStdFormCommand::callR11LoadDim
    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$2.construct(Unknown Source)
    at oracle.olap.awm.ui.SwingWorker$2.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:662)
    Can anyone help me?
    Thanks,
    Carlos

    I have seen this (in 11.1.0.7, I believe) when the metadata cache ("kgl") gets out of synch with the data dictionary. Specifically there is a flag that determines if prefixes get added to dimension members ("use surrogates" in AWM terms) that becomes false instead of true. If you look at the generated SQL in the OUTPUT column of the CUBE_BUILD_LOG you may find that sometimes a prefix is added to dimension members (e.g. "LEAF_LEVEL_" || dim_table.leaf_column) and othertimes it is not (e.g. just dim_table.leaf_column). A workaround if this is the case may be to execute the following (as dba) before building the dimension.
    alter system flush shared_pool;

  • Problem with OLAP DML

    Dear All,
    We are using OLAP DML to work with multi-dimensional data on an Analytic workspace. How do you access pre-stored multi dimensional variables set up in a analytic workspace, using OLAP API's.
    How/Is it possible to load Cube data from a multi-dimensional variable ?
    How or from where do we setup OLAP WORKSHEET to work with OLAP DML ??
    Regards,
    Subhankar

    Jean-Marc,
    I had an email from one of my colleagues in development and has kindly explained some errors in my previous posting. In 10.2 and earlier, relational import/export should do as good a job as EIF, except that these utilities are slower (due to the need to text encode the EIF data) and less granular (you can only export an entire schema at a time).
    Fortunately, there is no need to worry about the various objects that comprise and AW. We manage all that for you directly inside the database.
    However, the performance overhead is enough that for clients with the know-how, it's usually recommended to use EIF instead. That being said, the particular problem you are having seem extreme since you should not see a "15 minutes" to "hangs" slowdown when using relational import.
    Have you tried monitoring the export job via Enterprise Manager to check the wait events which might be occuring when the system hangs? Are there any messages in the alert log?
    It might be a good idea to open a TAR with Support to try and diagnose this issue.
    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

Maybe you are looking for