Fragmentation in OBIEE

Version = OBIEE 10.1.3.3
I need some help getting fragmentation to work correctly.
I have two tables SALES and SALES_HIST.
SALES has all date after 2/1/1998
SALES_HIST has all data before 2/1/1998
I have created a logical table "SALES" in the BMM and set the sources to SALES and SALES_HIST. In the fragmentation field on the content tab, this is what I have entered -
For SALES = "Sales History (SH)".Times."Time ID" >= '01/01/1998' AND "Sales History (SH)".Times."Time ID" <= '01/31/1998'
For SALES_HIST = "Sales History (SH)".Times."Time ID" > '01/31/1998' AND "Sales History (SH)".Times."Time ID" < '12/31/2008'
When I query for data in Answers without any filter, Answers returns all data from SALES and SALES_HIST. That is great because thats what I expect OBIEE to do. When I look in the NQuery.log, I see a UNION ALL between SALES and SALES_HIST which is what I expected.
However, when I add a filter a filter for example -
TIME_ID >= '01/20/1998' AND TIME_ID <= '2/25/1998'
and run the query it returns data only upto 1/31/2008. When I look at NQuery.log, I only see a query against SALES_HIST table.
The SALES table is not being queried at all. I would appreciate it if someone can give me some pointers about what could be wrong.
Thanks

Suppose you have 1 million rows fact table, but 20% are requested 80% of time, by 80% of users.
For example : these 20% represents the current and previous year facts (interesting data for analyst), and the 80% left are old data.
You don't want to "read" these 1 million rows each time a report wants to display the 20%.
So, in your ETL, you split the data into 2 tables (or more). The first one (we'll call it Fact_main) has the 20% data, and the second one (Fact_old) the 80% old data.
Now, in OBIEE :
- in the physical layer : you insert all the tables. Each of the 2 fact table are linked to the correct dimensions.
- n the logical layer : only 1 logical fact table with 2 sources.
BUT, OBIEE has to choose the right source depending on the request. And, sometimes, OBIEE has to do use the 2 sources at the same time (if you want to request data for the 3 or more last years, for example).
So, in the logical source definition, in "content" page, you'll define the "fragmentation" option by putting : "dim_time.year in (2010, 2009)" (or use variable like current year) in one, and dim_time.year <= (2008) in the second one. Then, active the option : "this source will be combined...".
In Answers :
- if you do a report with a filter "year > 2009", only the first source will be used
- if you do a report with a filter "year <= 2008", only the second source will be used
- if you do a report without any filter on the year, the 2 sources will be used (thanks to a Union)
Another case : an international company has a big fact table and a big customer table, with fact and clients from all the world. But you know that in 80% of case, end-users analysts will be focus on 1 country based on their organization. So you will fragmente data : 1 table for France, 1 table for USA, 1 table for Spain etc. Or, 1 table for Europe, 1 for North America, and so on... But only 1 logical table in your logical layer.

Similar Messages

  • Aggregate navigate or Fragmentation in OBIEE

    Whats the better approach aggregate navigate or Fragmentation in OBIEE BMM layer and how ? What are the pros and cons of each one of them

    I still cannot understand the original question:  "aggregate navigate or Fragmentation.."
    Searching the documentation I can find:
    Setting Up Fragmentation Content for Aggregate Navigation
    When a logical table source does not contain the entire set of data at a given level, you need to specify the portion, or fragment, of the set that it does contain. You describe the content in terms of logical columns in the Fragmentation content box in the Content tab of the Logical Table Source dialog.
    and
    Setting Up Aggregate Navigation by Creating Sources for Aggregated Fact Data
    Aggregate tables store precomputed results from measures that have been aggregated over a set of dimensional attributes. Each aggregate.....

  • Reg:fragmentation in OBIEE

    Hi All,
    I query, we are trying to use Aggregate tables in our design by Materialized views as option. When we want to use these MVs should these MVs not contain any operators like MINUS, UNION ALL etc?
    Does OBIEE support fragmentation??
    Any pointers would be of great help.
    Thanks in advance.
    \Cheers

    Hi
    thank you for the quick reply.
    I will rephrase my question here
    If I go for aggregate table and Materialized Views as option which contains. UNION,MINUS operators.
    Does OBIEE support Aggregates and Fragmentation on same table source?
    \Cheers

  • OBIEE Fragmentation using Essbase as data sources

    Hi-
    How can we create a fragmentation on OBIEE taking data sources from 2 cubes? For example:
    I have 3 dimensions (same outline on both cubes):
    Account:
    - Account 1
    - Account 2
    Product:
    - Product 1
    - Product 2
    Year:
    - Y2008
    - Y2009
    And how can we set the fragmentation, if we want to take Y2008 data from cube 1, and Y2009 data from cube 2?
    I've tried to set:
    on BMM:
    Account:
    -source:
    --cube1
    aggregation content, group by: Logical level
    fragmentation content: cube1."year"."Gen2,year" = 'Y2008'
    --cube2
    aggregation content, group by: Logical level
    fragmentation content: cube1."year"."Gen2,year" = 'Y2009'
    Year:
    -source:
    --cube1
    aggregation content, group by: Logical level
    Mapped Year to Gen2,year
    fragmentation content: cube1."year"."Gen2,year" = 'Y2008'
    --cube2
    aggregation content, group by: Logical level
    Mapped Year to Gen2,year
    fragmentation content: cube1."year"."Gen2,year" = 'Y2009'
    It still only taking the data from cube 1.
    And when I tried to check the: "This source should be combined with other sources at this level" it returned error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 42043] An external aggregate is found in an outer query block. (HY000)
    Please advise,
    Kind regards

    Hello,
    I'm having the same problem as you.
    Have you found a solution?
    Can you share
    Thank you

  • What is the use of Fragmentation Content

    Hi All,
    I need some clarifiration on Fragmentation content on OBIEE RPD side, for what purpose we can use these fragmentation in OBIEE.

    Hi Deva,
    Thanks for You are Quick Response...
    Actually in my project we have total 9 tables are there in these 9 tables 3 were FACT tables remaining are the Dimensional Tables.
    For each day we are getting around 7 to 8 lacks data into our DB.
    When ever client to see or to pull one month data its taking around 9 to 10 mins , but for pulling one day or one week its taking less then 20 sec only .
    So for improving response time what are the steps i need to follow, could you please guide me.
    For each Fact and each Dimensional tables i'm using single logical source only and am not using multiple logical sources .In each fact table for 10 or 15 colums am using sum function only, at max am doing sum claculations for 20 columns in both fact tables..
    why its taking time to show results ..is there any way to reduce these response time..
    Culd you pls suggest me..we are working on OBIEE 10.1.3.4

  • Aggregation and Fragmentation

    Hi Gurus,
    what is meant by aggregation and fragmentation in OBIEE .Do we use these only when we want to improve the performance of the report if no in which type of scenarios when will go for these.Please any one help me with exact scenario.
    Regards,
    Rafi

    Hi,
    As per the below link
    http://108obiee.blogspot.com/2009/01/fragmentation-in-obiee.html
    In fragmentation after fragmenting the table in database and reimporting the tables and making the joins in Physical layer. we have to drag the table in BMM layer .
    When we generating the report on channels table with channel id greater than 5 then how the biserver will go to the particular table(i.e.Channels_Other). How the biserver will follow the link between two tables(i.e. CHENNELS and CHENNELS_OTHERS) when fetching the data in the report.
    In logical table source why we have to enable the option This source should be combined with other source at this level if we won’t enable this option what it will happens.
    Thanks,
    Edited by: Rafi.B on Aug 2, 2012 1:06 AM

  • Best ways to create rpd or reports if we have data in more fact tables

    I have fact and dimensional data in one or more different tables. Then each logical table source represents one data segment.Please suggest me some methods or ways like fragmentation through which i can use them in creating rpd and report and main problem here is facts too large contains 25 million records.But adding tables in BMM layer effecting performance so can anyone other ways doing it in database side.
    Thanks in advance
    Edited by: user2989722 on Dec 3, 2009 3:09 PM

    hi,
    For the fragmentation you can create on dimension .The procedure is clearly explained in this blog
    http://108obiee.blogspot.com/2009/01/fragmentation-in-obiee.html
    http://www.rittmanmead.com/2007/06/19/obiee-data-modeling-tips-2-fragmentation/
    For the performance point of view you can create a Materialized view (based on columns that your report is using) so that it will hit that particluar view instead of hitting whole table(25million records table) please look into this post
    Re: Materialized views in OBIEE
    thanks,
    saichand.v

  • How to do Fragmentatiom of Two Essbase cubes.

    Hi
    How can we create a fragmentation on OBIEE taking data sources from 2 cubes? For example:
    I have two cubes basreg(current year) and basreg09(history) .Their is a minor change in cube structure for that reason they created a new cube for year 2010.
    I need to pull both cubes data inorder to show report result. Is their any method or way through which i can use both cubes in obiee in creating report.
    Regards
    Sandeep Artham

    Hi Everyone
    Please respond to this request. Help me out how to solve this issue.
    Thanks
    Sandeep

  • COMPLEX PARTITIONING between an EXCEL and a DATABASE (Datasource)

    I want to make a complex partitioning between an excel and a Database.
    *In the Excel File :
    - I have the Data summarized at Month Level,
    -Time sales is between 1993 UNTIL 1996.
    *In the Database:
    -I have my DB Source at Day Level .
    -Time sales is between 1993 until NOW.
    In the BMM:
    -In my Database's SALES LOGICAL TABLE SOURCE Content:
    I put in WHERE SECTION :
    " CAST ( EXTRACT( YEAR FROM TRANSACCIONAL."".OLTP.ORDER_HEADER.ORDERED_DATE) AS INTEGER ) > 1996"
    To constraint the data from 1996 until NOW.
    -And I specify at the level content:
    To SALES LOGICAL TABLE SOURCE EXCEL FILE: MONTH DAY LEVEL
    To SALES LOGICAL TABLE SOURCE DB : DAY LEVEL
    I want to make a COMPLEX PARTITIONING(Value-Based and Level-Based).
    When I try to make the query:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14023] None of the fact sources for Times.Calendar_year_cal_year_code are compatible with the detail filter []. (HY000)
    SQL Issued: SELECT Times.Calendar_year_cal_year_code saw_0, Sales.Amount_sold saw_1 FROM "Sales BI DataMart" ORDER BY saw_0
    Can any1 help me?
    Thanks in advance..

    Hi,
    Actually value based partitioning works fine on the data sources which are stored on RDBMS. I haven't try it with a excel source. There is a detailed description in the link below.
    http://108obiee.blogspot.com/2009/01/fragmentation-in-obiee.html
    Hope this helps,
    Cheers.
    Cuneyt

  • Oracle Data Warehouse DB and OLAP_OBIEE DB [OBIEE11g]

    Hi Experts,
    I have a problem regarding joining the 2 DB in an Analysis report.
    The scenario is this:
    Oracle Data Warehouse is DB_1 and OLAP_OBIEE is DB_2
    DB_1
    -col1
    -col2
    DB_2
    -col3
    In Analysis report when they are queried or run separately, obviously there will be a report generated.
    But when this 2 DB columns are joined together in one Analysis report, I always get 'No Results'.
    Please help how do I fix this issue :(
    Thanks,

    Hi,
    check the following links:
    http://www.rittmanmead.com/2007/10/reporting-against-multiple-datasources-in-obiee/
    http://108obiee.blogspot.com/2009/01/fragmentation-in-obiee.html
    http://gerardnico.com/wiki/dat/obiee/multiple_subject_area

  • Data from three instances

    I have view that is same in all the three instances. I want to be able to pull data from all the three instances into the same subject area. Basically do a UNION of all the data. Here are the issues:
    1. Physical layer, i created three connection pools and dragged the views (they are all named sample_view) in. I am trying to do a join, but by default i am only able to do 1 to N relationship only. I went ahead created it.
    2. BMM layer, i created a new LTS to pull the views from other connection pools. But i dont want to do a join, which will pop up an error/warning if i dont.
    This may not be the best way, but i was giving it a try in OBIEE before i ask my DBA to create a view with all data from all three instances in the same one. Please advise if anyone has experienced this situation before.
    Thx!

    Why don't you use fragmentation?
    http://108obiee.blogspot.com/2009/01/fragmentation-in-obiee.html
    If you need similar to UNION why do you need join?
    Explain a little bit more please..
    Regards
    Nicolae

  • VALUE BASED  PARTITIONING BETWEEN AN EXCEL AND DATABASE

    Can any1 help I have an EXCEL FILES and DATABASE. I want to make partitioning value-based between these sources.
    Thanks you in advances.

    Hi,
    Actually value based partitioning works fine on the data sources which are stored on RDBMS. I haven't try it with a excel source. There is a detailed description in the link below.
    http://108obiee.blogspot.com/2009/01/fragmentation-in-obiee.html
    Hope this helps,
    Cheers.
    Cuneyt

  • Fragementation with Time series calculation

    Hi,
    I have three 3 tables
    Table1 for Region 1 , Frag Logic =Region = Region 1
    Table 2 for Region 2 Frag Logic =Region = Region 2
    Table 3 for Region 3 Frag Logic =Region = Region 3
    we use fragementation to query based on the region.Now i have duplicated Table 1 to calculate the Previous date for time series
    Table1 for Region 1 , Frag Logic =Region = Region 1
    Table1 for Region 1 Prev ?
    Table 2 for Region 2 Frag Logic =Region = Region 2
    Table 2 for Region 2 Prev ?
    Table 3 for Region 3 Frag Logic =Region = Region 3
    Table 3 for Region 3 Prev ?
    After adding prev tables i am almost lost,Do i need to add the Fragmentation for Prev tables also ,else we dont need as main and Prev tables are created as Alias from the base tables.Please share your thoughts.

    To use TimeSeries on Fragmentation in OBIEE, is identified as a bug
    http://obieetalk.com/time-series-and-fragmentation

  • Single presentation layer attribute from 2 LTSs

    Hi,
    I have a presentation layer attribute say, Country. The Country info is coming from 2 separate physical tables. So, in BMM layer I created a single table and added 2 LTSs pointing to 2 physical tables.
    Can I have a single attribute in presentation layer which is coming from both the LTSs of BMM layer?
    Thanks,
    Anilesh

    Hi,
    You can go for fragmentation in RPD in BMM, which will create a union of both the sources.
    Refer
    http://108obiee.blogspot.in/2009/01/fragmentation-in-obiee.html
    Hope this helped.
    Regards
    MuRam

  • Fragmentation vs where clause obiee 10g rpd

    fragmentation vs where clause
    In obiee we can do fragmentation of table.
    for example if i have data from a to z. iam fragmenting data
    from a to m in on LTS and M to Z in another.
    this we can do with the where clause like in one LTS
    data from A to Z by using where clause .. what is difference.
    please help me.. any performance issues.
    thank you.

    In an enterprise world, data is often partitioned into multpile physical sources for a single logical table. This helps in organised data set with faster query results fetching. In such cases, BI server should know where to go for what type of data and under what conditions. Hence the fragmentation is defined to to handle efficient access by navigation to the appropriate physical source as per the request.
    e.g. there may be an aggregate table and a detailed table being accessed for different requests appropriately.
    This helps in performance improvement.
    Adding a where clause will still refer to the same table source hence no benefit of this feature is exhibited in this scenario.

Maybe you are looking for

  • How to Create a Page LOV Template and a Region LOV Report Template in APEX

    Hi All, Thanks in advance .. I am new to APEX , Currently working in APEX 3.2 Can any one please guide me How to Create a Page LOV Template and a Region LOV Report Template in APEX So that I can create dynamic Multi column LOV in APEX Cheers Sachin

  • Windows feature page blank

    Hi everyone. I got a envy h8-1513c running on windows 8 64-bit. I went on my windows feature page and I mistakenly unchecked all the features. At this time, no applications or programs were working. I paniqued and I went back to the windows features

  • Best strategy for archiving some of your calendar

    I'd like to archive all events in my calendar pre-2004. I'd also like to be able to re-import these events at a later date both as a separate calendar (which can be deleted again) and/or back into the calendar that they came from. What is the best st

  • Reg Condtion Types

    Hello Experts, I need to check how many condition records are created for one country for a product i mean by sales org how can i check this, and also i need to check how many of them are manually modified , and how many of them are header and item c

  • Ejecting USB sends Mac Pro to sleep

    Love my Mac. Except that occasionally when I pull out a USB device from one of the front ports, it goes to sleep which is extremely irritating. Happens only intermittently, but has already done it 3x this morning. I thought it was a power issue at fi