Help on OLAP 10g Cube

Hello Experts ,
Anybody has idea why simple SUM on measure group by dimension on my OLAP 10g cube performing so slow even a simple query taking lot of time and even not returning the result , Is it due to performance cause or due to some design issue or due to DB pramaters which restricting the cube data to be returned ?Is it known issue with database bug . I am on AWm 10g latest with 10g 64 bit DB 10.2.0.4 .
As we are completly stuck and not being able to progress the query on simple cube build on 20K data wiith 7 dimension However we tried with 2 dimension and it works perfectly fine .
any advice ?
Thanks ,
Debashis

Hi David ,
Even we tried to perform a query like :
Select * from mycube_view where measure1 is not null ;
also:
Select distinct measure1 from mycube_view ;
The query is running for ages without any result .
Also I can see 10g style cube views having diff structures like for 10g all the dimensions attributes present in the cube view itself . So for my OBIEE I could use single table based reorting I believe right ? But I wonder for OBIEE I need to put aggregate on my measure attribute or not ! for 11g I had put the aggregation like SUM against the measure attrbt there.
Many Thanks,
DxP

Similar Messages

  • Cube in Oracle Olap 10g

    Hi,
    We are planning to make a migration of an Existing Cube to Oracle Olap 10g.
    Can anybody tell me the complete process to load a OLAP cube, Is it possible to load Cube data from a multi-dimensional variable ?
    or, if anyone has a previous experience in this kind of migration and want to share expertice/advice/knoledge.
    Where do I get Analitical Workspace Manager?
    Is the cube managed like an object?
    Thanks

    Hi,
    This is not the forum for Analytic Workspace Manager. I would suggest to try the oracle olap forum for your questions.
    OLAP
    Regards,
    Ben

  • Integrating OBIEE with OLAP 10g??

    Hi,
    I'm working on OLAP 10g and I am trying to create cube on star schema. I have worked on the sample module Oracle has provided in the website and it was pretty much straight fwd.
    I'm confused how to model the levels, hierarchy and define attributes. As per my understanding I know that we need to define levels which are part of dimensional hierarchy and the same are selected to define hierarchies in AWM. How do we define other attributes like Address, First Name, Last Name? I dont think I can define them in the attributes as they would appear on all the levels while defining the mappings.
    Can you please let me know how to model in AWM while defining dimensions and cubes? If you have any documents other than the sample database documents which Oracle has provided please send it across. I appreciate your help in this regard.
    I'm trying to build cubes and import them in OBIEE to create start schema and generate reports. We are trying to address performance issue.

    All you need is here :
    http://www.oracle.com/technology/obe/olap_biee/index.html
    It talk about Olap 11g but you can apply it to 10g.
    Cheers
    Nico

  • Modifying existing 10g Cube

    Hi ,
    Once we build a 10g cube(10.2.0.2) using AWM is there any way to modify the existing logic inside as we can see lot of Cube parameters fields are disabled meaning that if there is in error during deisgn I need to build the entire cube from scratch .
    Thanks,
    DxP

    There are many limitations on what you can modify in a 10g cube after it is created. You can add and removed measures, for example, but you cannot add and remove dimensions. This feature is new in 11g (and through the stack to AWM in 11.2). So I'm afraid you will need to delete and recreate the cube to make this kind of change.

  • Problem In Joing AWM 10G Cube

    Hi David,
    This is in continuation of the Thread : 'Problem In Joing AWM 10G Cube' to which you have replied. But I was unable to post my reply in the same Thread. So I am opening another Thread with almost same subject line. Below are the things that you wanted from me.
    The Scenario is as below:
    CREATE TABLE W_POSITION_D
    ROW_WID NUMBER, PK and Refers to FACT.POSITION_WID
    NAME VARCHAR2(60),
    STREET VARCHAR2(60),
    CITY VARCHAR2(60),
    STATE VARCHAR2(60),
    INTEGRATION_ID NUMBER PRIMARY KEY --> Refers FK W_POSITION_DH.LVL1_ID
    CREATE TABLE W_POSITION_DH
    ROW_WID NUMBER,
    LVL1_ID NUMBER PRIMARY KEY REFERENCES W_POSITION_D(INTEGRATION_ID),
    LVL2_ID VARCHAR2(60),
    LVL3_ID VARCHAR2(60),
    LVL1_NAME VARCHAR2(60),
    LVL2_NAME VARCHAR2(60),
    LVL3_NAME VARCHAR2(60)
    CREATE TABLE FACT
    POSITION_WID NUMBER REFERENCES W_POSITION_D(ROW_WID),
    PRODUCT_WID NUMBER, -- REFERENCES Product Dim column
    SALES_UNIT NUMBER,
    CONSTRAINT fact_pk PRIMARY KEY (POSITION_WID, PRODUCT_WID)
    As a result of which I need to join FAct -> W_POSITION_D and W_POSITION_D --> W_POSITION_DH to show Fact.SALES_UNIT aggregated against W_POSITION_DH.LVL3_ID.
    Thanks..
    ChD

    Thanks for clarifying the fact join. I'm sorry to keep on at this, but table W_POSITION_D can only have one primary key. Do you mean it is a unique key?
    CREATE TABLE W_POSITION_D
      ROW_WID NUMBER UNIQUE NOT NULL ,
      NAME VARCHAR2(60),
      STREET VARCHAR2(60),
      CITY VARCHAR2(60),
      STATE VARCHAR2(60),
      INTEGRATION_ID NUMBER PRIMARY KEY
    )In any case I think you should define a view to join W_POSITION_D and W_POSITION_DH together. This can serve as the basis for your dimension in AWM.
    CREATE OR REPLACE VIEW W_POSITION_VIEW
    AS SELECT
      D.ROW_WID,
      D.NAME,
      D.STREET,
      D.CITY,
      D.STATE,
      DH.LVL1_ID,
      DH.LVL2_ID,
      DH.LVL3_ID,
      DH.LVL1_NAME,
      DH.LVL2_NAME,
      DH.LVL3_NAME
    FROM W_POSITION_D D, W_POSITION_DH DH
    WHERE DH.LVL1_ID = D.INTEGRATION_ID
    /

  • Help! Ent - 06955 "Cube name does not exist in OLAP schema"

    I get this error when I try to view data from a cube or dimension.
    From what I've searched, I have to deploy the objects to catalog, which I have done, but still I get the error. I'm stuck with this for 1 and half days...
    Any ideas?
    Regards,
    M.

    Hi,
    I have found some interseting info for you from this forum:
    This is more of an OWB question rather than OLAP specific. But there are some steps you must perform with OWB before you can view the data.
    1) Design the dimension - create the levels, hierarchies and attributes
    2) Storage mode - decide if you want to create a ROLAP or MOLAP dimension
    3) Deploy the dimension - if you opted for a ROLAP model this will create a table and a dimension object to be used by the optimiser for query rewrite. If you opted for MOLAP this will create an analytic workspace (you should see a table called AW$xxxxxxx in your target schema) and within that AW will be your dimension.
    4) Populate dimension - before you view data you must create a mapping to move data from your source table into the target dimension. Then you must deploy the mapping and finally execute the mapping to load data into the dimension.
    I would check your deployment log as I suspect you have some errors during deployment and the object has not been deployed. Personally, I find the best way to deploy objects is via Control Center rather than using the right mouse click menu options in Design Center.
    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
    Next question - do you have all the required patchsets in place to support OLAP? If you are using 10gR2 (which you really should be when using OLAP) you will need 10..2.0.3 + OLAP A patch or 10.2.0.4.
    Hope this info. will help you.
    Mandi

  • How do I clear out the measure data in a 10g cube?

    Does anyone know of an OLAP feature that I could call to zero out the measures stored in the cube before I refresh from the source data?
    I'm new to Oracle OLAP, but I have some experience with Essbase and I have quite a bit of experience with Oracle PL/SQL. The database is 10g.
    Here's my problem. My dimensions and cube are mapped to Oracle tables. I've built an Oracle procedure, using DBMS_LOB / xml_clob functionality, to refresh my cube. The procedure worked successfully to initially load the data. It works successfully when changing the dollar amounts in source data. But it's possible that a record in my source data can be totally removed. When this happens, the dollars from the removed record are still showing up in the cube total after the procedure executes. I had assumed the CleanMeasures="true" parameter would take care of this, but it is not.
    thanks,
    Nancy
    Here's the parameters I'm passing to BuildDatabase in my Oracle procedure:
    ' <BuildDatabase Id="Action2" AWName="BUDGET.BUDGETS" BuildType="EXECUTE"
    RunSolve="true" CleanMeasures="true" CleanAttrs="true" CleanDim="true"
    TrackStatus="false" MaxJobQueues="0">';

    If you are doing a reload every time then you can issue following commands to clear data from cube.
    lmt name to all
    allstat
    clear all from <cubename>prttopvar
    You can wrap above commands in pl sql procedure using dbms_aw.execute package and execute it before cube load starts. Instead of clearing it from whole cube you can clear only from one partition also. Just take a look at clear command in olap DML 10.2 reference.
    Thanks,
    Brijesh
    Edited by: Brijesh Gaur on Aug 10, 2010 6:47 AM

  • Help on OLAP DML function – "joinchars"

    Hi,
    We have built a cube called 'CubeTest' which has a measure called 'TestMeasure' of decimal data type, using Oracle AWM v10.2.0.3.0A.
    Now, I am using "Oracle OLAP Calculations v1.2.5", as available on OTN homepage, to define my own calculated measures using OLAP DML for this cube.
    I have defined the following two measures (for both, Calculation Type is 'Equation' and both are using free-form equations defined over TestMeasure):
    1. Calculated_Measure1
    2. Calculated_Measure2
    Now, I want to define a third calculated measure in a way that it represents a concatenation of the above two measures suffixed with some standard text.
    e.g. A Typical value of the third calculated measure will be like:
    Calculated_Measure1 + 'ABC' + Calculated_Measure2 + 'XYZ'
    Here, the '+' sign indicates the idea of concatenation.
    To achieve the above result, I am using the OLAP DML function "joinchars" to define a free-form equation like the one below:
    joinchars(Calculated_Measure1,'ABC',Calculated_Measure2,'XYZ')
    Now, the issue is that calculation like the one above, using joinchars is not being created successfully. I tried pre-qualifying (and not pre-qualifying) the names of the calculated measures with the cube name and also experimenting with the “Show” command. Also, once the calculation definition fails to get created, I am not even being able to attach my AW in R/W mode as I get the error as below:
    oracle.AWXML.AWException: java.lang.NullPointerExceptionat oracle.AWXML.AW.readAWDefinitions(AW.java:1339)at oracle.olap.awm.dataobject.aw.WorkspaceDO.getModelAW(WorkspaceDO.java:803)at oracle.olap.awm.dataobject.aw.WorkspaceDO.getModelAW(WorkspaceDO.java:749)at oracle.olap.awm.navigator.node.WorkspaceNode.getModelerViewChildren(WorkspaceNode.java:368)at oracle.olap.awm.navigator.node.WorkspaceNode.getChildren(WorkspaceNode.java:341)at oracle.olap.awm.navigator.node.BaseNodeModel.refreshData(BaseNodeModel.java:74)at oracle.olap.awm.navigator.node.BaseNodeModel.dTreeItemExpanding(BaseNodeModel.java:221)at oracle.bali.ewt.dTree.DTreeDeferredParent.__fireExpansionChanging(Unknown Source)at oracle.bali.ewt.dTree.DTreeDeferredParent.setExpanded(Unknown Source)at oracle.olap.awm.navigator.node.BaseNode.expandHelper(BaseNode.java:2186)at oracle.olap.awm.navigator.node.BaseNode.access$400(BaseNode.java:109)at oracle.olap.awm.navigator.node.BaseNode$ExpansionThread.run(BaseNode.java:2136)Caused by: java.lang.NullPointerExceptionat oracle.AWXML.AW.readAWDefinitions(AW.java:1313)... 11 more
    For the above issue, I have the following questions to seek your help on:
    1. First, obviously, to know what is wrong with the usage of "joinchars" in this scenario.
    2. If we use Oracle OLAP Calculations v1.2.5 to define any calculations, and if for some reason, the calculation is not defined successfully, is there any way to see what went wrong and where (this is because if your calculation definition fails, the Oracle OLAP Calculations v1.2.5 utility just exits out without giving any significant information on the reason for failures).
    3. When we create any new calculation and then click on “Define Calculations” button, the Oracle OLAP Calculations v1.2.5 utility prompts us with the message “Do you want to update the AW views after creating the calculation (Y/N)? – Can you please help me with the details on the implications of stating a Y or N to this message.
    Any help on these questions is much appreciated.
    Thanks and Regards,
    Piyush

    Piyush..
    The Error you get on using the rpr command is a display error, its not a functionality issue. Think of this as something similar to the sqlplus buffer overflow issue if you have a pl/sql program which outputs a lot of dbms_output.put_line statements.
    So if you get a display error, restrict the cube or the dimensions to a reasonable number and check your output. Example: Take every user dimension and restrict them to a few values... (say, 5 products, 1 channel, 1 location, 1 organization, 2 time periods)..
    Rpr <<expression>>
    will return the expression for every cell in status.. Depending on the dimensions that the expression is based on, for every dimension depending on the number of values (members) in status, the <<expression>> is evaluated and output'ed.
    No of cells in report is Cross product of each dimensions status (statlength).. For example above.. 5*1*1*1*2 = 10 cells.
    Shw <<expression>>
    will return the expression for the first cell in status.. 1st value (member) in status for every dimension that <<expression>> depends on.
    Hence Shw <<expressions>> does not lead to a display error since the output is restricted (small).
    Using the OLAP Calc utility to define the formula (the utility uses java olap apis), you may need to do something to protect the single quotes so that the expression gets evaluated with single quotes in the OLAP DML formula.
    You can try...
    joinchars(CUBE1_CMEAS1, \'ABC\', CUBE1_CMEAS2, \'XYZ\')
    If above doesn't work, just ask for help regd how to translate a formula expression containing single quotes (formula is correct in OLAP DML) into the AW via the Spreadheet utility.
    HTH
    Shankar

  • OLAP 10g with Excel 2007 crashing problems

    We currently have a 10g database and 10g OLAP toolset. We have a user population split between Windows XP on Excel 2003 and Windows 7 on Excel 2007. We are distributing the Excel Add-In 10.1.2.3.0.2 version, but the Windows 7/Excel 2007 users are having a lot of problems with Excel crashing unless it is the only application that is open (which is understanably frustrating to that user base). They have to go into task manager and kill the excel process (not just the application) or face doing a full reboot. Are there any settings we can change to improve performance on Excel 2007? We hope to do an 11g upgrade later this year, but it won't happen until 2nd half at the earliest due to other contstraints.

    First verify if the patch was successfully installed by checking the Xcelsius application version from the Help Menu.  It should be 4.2.5.5 or higher. 
    In addition, that might be behavior due to an Excel add-in affecting the automation between Xcelsius and Excel. You may need to remove any Excel add-ins that you have installed.

  • Has anyone setup BIEE with OLAP 10g using value-based dimension hierarchies

    I just wanted to know if it is possible to setup BIEE with 10g using multple dimensions containing multiple value-based hierarchies?
    I know this involves using the OLAP Cube View Generator to create an sql view of the cube data.
    I have been able to get this to work with nine dimensions all containing a single value-based hierarchy bar one which had four value-based hierarchies. But as soon as i have multiple hierarchies in multiple dimensions it seems to go haywire and i cannot get the sql view to return correct data.
    I thought i would post on the BI side to see if anyone has been successful in creating a BIEE setup like this?

    The simple answer to your question,
    how robust is the 11g materialised views with multiple value-based hierarchies...?is that materialized views are not supported on top of value-based hierarchies in 11g. The reason is that it is not possible to write a reasonable SQL statement that aggregates a fact over a value-based hierarchy. Such a SQL statement is necessary if we want to create a rewritable MV on top of the cube.
    But I suspect this is not what you are really asking. If you are trying to set up OBIEE on top of the cube in 10g using the view generator, then you will probably want to use the "ET VIEWS" that are generated automatically in 11g. These are generated whether or not you enable materialized views on top of your cube. I am not aware of any issues with the generated value-based hierarchy view support in 11g. Members may be shared between value hierarchies and you will not need to generate or modify limit maps.

  • OLAP Virtual cubes in PS 2010: what are their components ?

    Hi,
    I read somewhere that the 3 following OLAP Cubes in Project Server 2010 are virtual cubes built with the "aggregation" of several other cubes. What are these "primary" cubes?
    Thanks
    MSP_Portfolio_Analyzer
    MSP_Project_SharePoint
    MSP_Project_Timesheet

    To understand the Total fields and Dimensions available in the 14  OLAP cubes available in Project Server 2010, it is helpful to group the OLAP cubes based on the Total fields and Dimensions they have in common with one another. Therefore, consider
    the following logical groupings for the fourteen OLAP cubes:
    Assignment: The Assignment Non Timephased, Assignment Timephased,
    MSP Portfolio Analyzer, and MSP Project Timesheet
    OLAP cubes contain assignment data. Each of these OLAP cubes includes many of the same Total Fields (such as Actual Cost, Actual Overtime Cost, Actual Work, and Actual Overtime Work) and many of the same Dimensions (such as Assignment Owner and Project List)
    Project Workspace:The Deliverables, Issues,
    MSP_Project_SharePoint, and Windows SharePoint Services (WSS). This data includes Risk, Issues, Document, and Deliverable information about each project.
    Timesheet: The EPM Timesheet and Timesheet OLAP cubes contain timesheet
    data. You can use these two OLAP cubes to report on Actual Work Billable and Actual Work Non Billable, for example.
    Project:The Project Non Timephased OLAP cube contains project
    data. Although this OLAP cube contains some information in common with several others, the common information is so limited that I include it in its own group.
    Resource: The Resource Non Timephased and Resource Timephased OLAP cubes
    contain resource data. These two OLAP cubes do not contain any Total fields in common, but do contain several Dimensions in common (such as Booking Type and Resource List).
    Task: 
    The Tasks Non Timephased OLAP cube contains task data. This OLAP cube contains only one Total field and six Dimensions, two of which it has in common with other OLAP cubes. Because this OLAP cube contains so little information, and has so little in common
    with other OLAP cubes, I include it in its own group.
    In other way you can conclude :
    MSP_Project_Timesheet:: combines the Assignment Timephased, Resource Timephased, and EPM Timesheet cubes.
    MSP_Project_SharePoint :: combines Project Non-Timephased, Issues, Risks, and Deliverables cubes.
    MSP_Portfolio_Analyzer :: combines the Assignment Timephased and Resource Timephased cubes
    kirtesh

  • 10G Cube View hangs executing Simple Sum!!

    Hey Experts.
    I have built a 10G OLAP Cube in Oracle 10G. Also all the Dimensional and Cube views have been generated. I am querying the cube to check the data for different levels of the Entities that I have used. The cube is built on a Single Fact Table with 50K rows in the Fact.
    I am having 1 metric as Trx.
    Whenever I am trying to excute a simple Sum(Trx) on the Cube filtered to have a smaller data set the Query goes on without returning the result. I need to show this Trx in all my reports against different dimensions that I have mapped in the Cube.
    Please advice.
    Thanks..
    ChD

    Hi David ,
    Even we tried to perform a query like :
    Select * from mycube_view where measure1 is not null ;
    also:
    Select distinct measure1 from mycube_view ;
    The query is running for ages without any result .
    Also I can see 10g style cube views having diff structures like for 10g all the dimensions attributes present in the cube view itself . So for my OBIEE I could use single table based reorting I believe right ? But I wonder for OBIEE I need to put aggregate on my measure attribute or not ! for 11g I had put the aggregation like SUM against the measure attrbt there.
    Many Thanks,
    DxP

  • Help desiging a 10g Oracle Report with Matrix and Lexical Parameters - Long

    Hello all:
    I apologize in advance for this long post.... I'm using Oracle Reports 10g (9.0.4.0.33). First -- the question:
    I need to create a Matrix where the rows come from one database table
    (TABLE1) and the columns and cell contents come from a linked query (pulled from TABLE2) that is generated with lexical parameters based on the current TABLE1 row. The lexical parameters contain a WHERE clause for the TABLE2 query. Basically, I have a linked query between TABLE1 and TABLE2. I need to generate a Matrix around it.
    Does anyone know if this is even possible?
    Here's the background on the application, if that is helpful...
    I have an application where I maintain database tables containing names/addresses along with information pertaining to them. As part of the processing, I need to produce reports that contain statistics based on values in the table. For example, each row has a field RTYPE that identifies the Record Type (1-Suppress, 2-Buyer, 3-Inquirer). Each row also has a last purchase date field. The statistics produced for this field would look like this:
              2001     2002     2003     11/03     12/03 01/04     02/04 03/04     04/04     05/04 ...
    Buyer      100 150 250 30 25 15 8 9 22 83
    Inquirer     1000 800 493 ...
    Suppress ... ...
    Totals ... ...
    Each cell contains the count of the number of records that have the corresponding RTYPE and Last Purchase date. The dates across the top are determined by the most recent purchase date in the file. We count the last 12 months, month by month, and then anything older than that is grouped by
    year of purchase. So, the column headings are variable.
    The SQL query for this example looks like this:
    SELECT CASE WHEN rtype = '2' THEN 'Buyers'
    WHEN rtype = '3' THEN 'Inquirers'
    WHEN rtype = '1' THEN 'Suppress'
    END HLDESC,
    CASE WHEN MONTHS_BETWEEN(trunc(:MAXHLDATE,'MONTH'),
    TRUNC(T.HOTLINE,'MONTH')) < 12
    THEN TO_CHAR(T.HOTLINE,'YYYYMM')
    ELSE TO_CHAR(T.HOTLINE,'YYYY') || '00'
    END YYMM_8,
    CASE WHEN MONTHS_BETWEEN(trunc(:MAXHLDATE,'MONTH'),
    TRUNC(T.HOTLINE,'MONTH')) < 12
    THEN TO_CHAR(T.HOTLINE,'MM/YY')
    ELSE TO_CHAR(T.HOTLINE, 'YYYY')
    END FmtDate_8,
    COUNT(*) HLCOUNT
    FROM &TABLENAME T
    GROUP BY CASE WHEN rtype = '2' THEN 'Buyers'
    WHEN rtype = '3' THEN 'Inquirers'
    WHEN rtype = '1' THEN 'Suppress'
    END,
    CASE WHEN MONTHS_BETWEEN(trunc(:MAXHLDATE,'MONTH'),
    TRUNC(T.HOTLINE,'MONTH')) < 12
    THEN TO_CHAR(T.HOTLINE,'YYYYMM')
    ELSE TO_CHAR(T.HOTLINE,'YYYY') || '00'
    END,
    CASE WHEN MONTHS_BETWEEN(trunc(:MAXHLDATE,'MONTH'),
    TRUNC(T.HOTLINE,'MONTH')) < 12
    THEN TO_CHAR(T.HOTLINE,'MM/YY')
    ELSE TO_CHAR(T.HOTLINE, 'YYYY')
    END
    ORDER BY CASE WHEN MONTHS_BETWEEN(trunc(:MAXHLDATE,'MONTH'),
    TRUNC(T.HOTLINE,'MONTH')) < 12
    THEN TO_CHAR(T.HOTLINE,'YYYYMM')
    ELSE TO_CHAR(T.HOTLINE,'YYYY') || '00'
    END
    There might be a better way to write this, but that isn't the issue at the moment.
    I have many different tables, each with different fields. I need to produce counts on each of those fields. Some of those fields have a limited number of values where I need to count the occurrences and attach a description (like the RTYPE counts above). Others, like Last Purchase Amount, require counts within ranges (between 0 and 9.99, 10 and 19.99, etc.). Still others are "multiple choice"-style fields (such as products purchased), where we have multiple single-char flags that are not null when the corresponding products are purchased. In this case, we need to produce statistics that look like this:
              2001     2002     2003     11/03     12/03 01/04     02/04 03/04     04/04     05/04 ...
    Product 1 .........
    Product 2 .........
    The worst of the bunch is a field where I need to count the occurrence of each value within it (hundreds of values) without entering descriptions, so I don't know how many rows will appear ahead of time. This is used for "source codes" that identify where the name/address came from. They look similar to the RTYPE above, but the leftmost column contains each value from the field rather than a description. There are so many possible values and they change so often that it isn't feasible to enter a description for each one.
    Right now, I manually create an Oracle Report for each table when I design/load it. This is becoming difficult to manage, since I have over 150 of them now. Each of these reports can have any number of matrices to display (the largest right now has about 25).
    The new table structure to generate these reports consists of two tables: A COUNTHDR table and a COUNTROW table. The COUNTHDR table represents a single Matrix within the report. It contains info such as a heading for the Matrix and whether column totals should be calculated or not. The COUNTROW table contains a description for each row and an SQL Fragment that contains an appropriate WHERE clause to match the description. In the event of a "source code" style count, COUNTHDR has the name of the field to count. COUNTROWs won't exist, so I'll be handling those counts differently. But, ignoring that issue for now, the report structure looks like this:
    + Q1 +
    |
    + COUNTHDR +
    |
    + COUNTROW +
    | linked query
    + Q2 +
    |
    + COUNTDTL +
    Q2 is the query with lexical parameters for the table and "where clause" that identifies the actual statistic I need counted. I need fields from COUNTROW and COUNTDTL to form a Matrix.
    Can this be done? How?
    Of course, if anyone out there has a better idea on how to achieve my goal of not writing a report per table, please let me know!! :-)
    TIA
    Eric Raskin
    PS. This structure does not exactly duplicate my original query, since multiple Matrix rows are created by the single SQL query given in the example. Instead, I'll end up executing an SQL query for each row, which is less than desirable. The design will need some tweaking...
    PPS. I have tried handling this problem by pre-counting the target table and storing the results in a COUNTCOL table, containing the details of the matrix. This actually does work, but the performance is terrible. I have one "source code"-style count that generated over 20,000 detail cells, including all the "0" cells needed to fill out the matrix. If you don't generate the "0" cells, you get holes in the matrix presentation and/or error messages (which I can explain if you wish). I never did get Oracle Reports to print this one -- I gave up after an hour of runtime on a P4 3GHz machine connected via Gigabit Ethernet to the server. Hence the attempt to push the SQL Queries back into the Oracle Report itself.
    Eric H. Raskin Voice: 914-765-0500
    Professional Advertising Systems Inc. Fax: 914-765-0503
    200 Business Park Dr Suite 107 [email protected]
    Armonk, NY 10504

    Hi there
    here's example of my code
    Html header of the page :
    <script language="JavaScript" type="text/javascript">
    function callMyPopup (formItem1,formItem2) {
    var formVal1 = document.getElementById(formItem1).value;
    var formVal2 = document.getElementById(formItem2).value;
    var url;
    url = 'f?p=&APP_ID.:8:&APP_SESSION.::::P8_PROJECT,P8_PDRL_NO:' + formVal1 + ',' + formVal2;
    w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    </script>
    troubleshooting
    1.Test each parameter separate first - each work ?
    2.Use code above, rerig it, create multiple parameter
    3.try again...
    hope this helps...
    check your orginial source (page where items are) - what data

  • Help to fill BPS Cube with same data in a Cube with these conditions

    Hi,
    I need some help in implementing BPS in a small project. (Integrated Planning is not available).
    An existing cube, Cube1 has: Year/month, Year, char1, char2, keyfig1, keyfig2
    Keyfig1 is filled directly from R3 with actuals; keyfig2 (planned values) is  filled manually filled with a monthly flat file load.
    Now, there is a change in direction to fill keyfig2 through BPS features and bring in additional key figures all based on keyfig1.
    Cube2 has been created only for the purpose of this BPS project. Cube2 was a copy of Cube1(with no data). For Cube1, I have created a Planningarea1 and PlanningLevel1; and for Cube2, Planningarea2 and PlanningLevel2 in BPS0.
    How do I fill the BPS Cube2 with the same data as in BPS Cube1 with the following conditions:
    keyfig1 : same as source value from R3 (not modifiable)
    keyfig2 : modifiable by users only on the first and second of the month.
    keyfig3 : keyfig1 * 1.1
    keyfig4 : keyfig1 of previous Year/month 
    keyfig5 : same as source value from R3 (But modifiable)
    keyfig6 : same as keyfig5 as of last day of 20th of the current month (not modifiable)
    The goal is to create a multi planning area to join the two cubes. Hints all that will also be appreciated.
    Thanks

    Your thought of having a multi area is right.
    Create a multi area and being the basic areas to which you have assigned cube 1 and cube 2 underneath the multi area.
    UNder your planing package, create a function of type Formula and create a parameter set like this:
    = * 1.1.
    Just this one line will is enough.
    TO get keyfig 4 as previous month's key fig; you need another fox. To do this, you need to have a BPS variable to et previous month and use this variable in the parameter set.
    Your fox will be like this.
    DATA CURRMONTN TYPE 0CALMONTH.
    DATA PREMONTH TYPE 0CALMONTH.
    {KEYFIG4, CURRMONTH} = {KEYFIG1, PREMONTH}.
    To make users modify only on days 1 and 2, you need to define a dara slice.
    Ravi Thothadri

  • [help me] Oracle 10G + ASM "ORA-00376: file 5 cannot be read at this time"

    We have used Oracle 10G R2 RAC + ASM on Redhat 4 (EMC cx700 Storage)
    I found below errors on alert log and can't inserted, updated and deleted datas in database.
    Sun May 27 01:12:34 2007
    SUCCESS: diskgroup ARCH was mounted
    SUCCESS: diskgroup ARCH was dismounted
    SUCCESS: diskgroup ARCH was mounted
    SUCCESS: diskgroup ARCH was dismounted
    SUCCESS: diskgroup ARCH was mounted
    SUCCESS: diskgroup ARCH was dismounted
    Sun May 27 01:19:11 2007
    Errors in file /oracle/product/admin/DB/udump/db3_ora_15854.trc:
    ORA-00376: file 5 cannot read at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    ORA-00376: file 5 cannot be read at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    ORA-00376: file 5 cannot be read at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    ORA-00372: file 5 cannot be modified at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    So:
    I checked and recovered data file
    SQL> select name,status,file# from v$datafile where status ='RECOVER';
    NAME
    STATUS FILE#
    +DATA/db/datafile/undotbs3.257.617849281
    RECOVER 5
    RMAN> run {
    allocate channel t1 type 'SBT_TAPE';
    allocate channel t2 type DISK;
    recover datafile 5;
    recover completed.
    SQL> alter database datafile 5 online;
    Butttttttttttttttttt:
    What is going on?
    I checked EMC storage, not found any disk error.
    I checked alert log of ASM, no found anything.
    I don't know What the problem ?
    Because I had the same problem 2 days ago.
    This day error on undo datafile node 3.
    2 days aGo; error on undo node 4.
    Please please anybody
    What bug or anything wrong ?
    Please introduce me
    trace file:
    /oracle/product/admin/DB/udump/db3_ora_15854.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    ORACLE_HOME = /oracle/product/10.2.0/db
    System name: Linux
    Node name: db03.domain
    Release: 2.6.9-42.ELsmp
    Version: #1 SMP Wed Jul 12 23:32:02 EDT 2006
    Machine: x86_64
    Instance name: DB3
    Redo thread mounted by this instance: 3
    Oracle process number: 65
    Unix process pid: 15854, image: [email protected]
    *** SERVICE NAME:(DB) 2007-05-27 01:19:11.574
    *** SESSION ID:(591.62658) 2007-05-27 01:19:11.574
    *** 2007-05-27 01:19:11.574
    ksedmp: internal or fatal error
    ORA-00376: file 5 cannot be read at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    ORA-00376: file 5 cannot be read at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    ORA-00376: file 5 cannot be read at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    ORA-00372: file 5 cannot be modified at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    Current SQL statement for this session:
    INSERT INTO DATA_ALL VALUES (:B1 ,:B2 ,:B3 ,:B4 ,:B5 ,:B6 ,:B7 ,:B8 ,:B9 ,:B10 ,:B11 ,:B12 ,:B13 ,:B14 ,:B15 ,:B16 ,:B17 ,:B18 ,:B19 ,:B20 ,:B21 ,:B22 ,:B23 ,:B24 ,:B25 ,:B26 ,:B27 ,:B28 ,:B29 ,:B30 ,:B31 ,:B32 ,:B33 ,:B34 ,:B35 ,:B36 ,:B37 ,:B38 ,:B39 ,:B40 ,:B41 ,:B42 ,:B43 ,:B44 ,:B45 ,:B46 ,:B47 ,:B48 ,:B49 ,:B50 )
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x21dc2b4b8 780 package body MGR.AC
    0x21e4815b0 3 anonymous block
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    ksedst()+31 call ksedst1() 000000000 ? 000000001 ?
    7FBFFF7290 ? 7FBFFF72F0 ?
    7FBFFF7230 ? 000000000 ?
    ksedmp()+610 call ksedst() 000000000 ? 000000001 ?
    7FBFFF7290 ? 7FBFFF72F0 ?
    7FBFFF7230 ? 000000000 ?
    ksupop()+3581 call ksedmp() 000000003 ? 000000001 ?
    7FBFFF7290 ? 7FBFFF72F0 ?
    7FBFFF7230 ? 000000000 ?
    opiodr()+3899 call ksupop() 000000002 ? 000000001 ?
    7FBFFF7290 ? 7FBFFF72F0 ?
    7FBFFF7230 ? 000000000 ?
    rpidrus()+198 call opiodr() 000000066 ? 000000006 ?
    .......etc.............................
    Message was edited by:
    HunterX (Surachart Opun)

    To me it looks like your undotbs on node3 is filled and not marking old undo as expired. Use this query to find out if it is labeling old undo as expired.
    SELECT tablespace_name, status, COUNT(*) AS HOW_MANY
    FROM dba_undo_extents
    GROUP BY tablespace_name, status;
    Another thing I noticed from your alertlog is it is only doing that on undotbs3, which I assumes is on node3.
    1) try recreate undotbs on node3
    2) take node3 out of service (stop nodeapps, ASM, instance and finally CRS on node3) and see if you can do DML on your database.
    -Moid

Maybe you are looking for