Why does OWB 9.2 generate UK's on higher levels of a dimension?

When you specify levels in a dimension, OWB 9.2 generates unique key constraints in the table properties for every level, but only the UK on the lowest level is visible in the configuration properties. Why then are these higher level UK's generated? Is this a half baked attempt to implement the possiblility to generate a snow flake model in OWB?
Jaap.

Piotr, Roald and others,
This is indeed a topic we spend a lot of our time on these past months. We are addressing this as (in my old days I had the same problem as a consultant) we know that this is a common problem.
So the solution is one that goes in 2 directions:
- Snowflake support
- Advanced dimension data loading
Snowflake is obvious, may not be desired for various reasons but we will start supporting this and loading data for it in mapping.
If you want a star table, you will know that a completely flattened table with day at the lowest level will not be able to get you a unique entry for month. So what people tend to do is one of the following:
- Proclaim the first of the month the Month entry point (this stays closest to the star table and simply relies on semantics on both ETL and query side).
- Create extra day level entries which simbolize the month, so you have a day level with extra entries
- Create views, extra tables etc to cover the extra data
- Create a data set within the tables that solves the key problem
We have opted for the last one. What you need to do for this is a set of records that uniquely identify any record in any level. Then you add a key which links to the dimension at the same point (a dimension key), so all facts always use this surrogate key to link (makes life in query tools easier).
For a time dimension you will have a set of day records with their months etc in them (the regular star). Then you add a set of records with NULL in the day having months and up. And you go up the hierarchy. For this we will have the ETL logic (in other words you as a designer do not worry about this!). On the query tool you must be a little cautious on counts but this is doable and minor.
As you can see none of the solutions are completely transparent, but we believe this is one that solves a lot of problems and gives you the best of all worlds. We will also support the same data structure in the OLAP dimensions for the database as well in the relational dimension. NOTE that there are some disclaimers with this as we are doing software here...
In principal however we will solve your problem.
Hope this explains some of our plans in this area.
Jean-Pierre

Similar Messages

  • Why does OWB generate merge statement when target type = Update

    Hi there
    getting problem message cannot generate merge. I don't undretand why even trying to ctreate a merge when should be an update and then sql would be fine.
    trying to update a table whose expiry date = '31-DEC-4000' (via raget filter for update
    and also put value from src into this field.
    This would be ok in sql
    update table
    set col = new_value
    where col = 31-dec-4000'
    Any thoughts - it seems strange why OWB generate a merge when set target type to Update since other target types of Update/Insert and Insert/Update available to generate merge.
    Many Thanks

    I understand what you are trying to say...
    One simple workaround for this is: In the mapping, add one more column in the target table eg: match_val. Set the bound name to match column eg: col.
    Set the one match_val attribute properties to "match column when updating" & actual column eg: col attribute properties to "Load column when updating".
    This will generate merge statement for your requirements. This will help u.

  • Why does a LabVIEW executable generate two taskbar buttons on the taskbar?

    When a LabVIEW executable is run, it generate two taskbar buttons (with the same name) in the task bar each of them pointing to the same window (panel). Is there a way to prevent it from creating two buttons?
    thanks
    ~Vipin

    viper 159 wrote:
    When a LabVIEW executable is run, it generate two taskbar buttons (with the same name) in the task bar each of them pointing to the same window (panel). Is there a way to prevent it from creating two buttons?
    Add the following line to your executable's .ini file
    HideRootWindow=True
    There's a KnowledgeBase item here.
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."

  • Why does deleting bookmarks content generate Internet traffic

    Deleting the content of Bookmarks generates outgoing Internet traffic, verified by Kaspersky Internet Security and a traffic monitor.
    It appears that Firefox not only keeps a html copy of Bookmarks content in the Profile but store a copy some place out there on the Internet. If this is so surely that is an invasion of privacy.
    Anyone know nore on this?

    All versions of Firefox by default will try to connect to the internet, for details see https://support.mozilla.com/kb/Firefox+makes+unrequested+connections

  • Why does my safari make my fans un so high on my macbook?

    i keep having to go to the activity monitor to close down the safari prosessor to get my fans to keep from running on high, normally when i have to quit the prossesor it says it is running in the high 90's and sometimes even at 100,
    why is it doing this and how can i make it stop (if possible)?

    This is something that keeps coming up--some process runs wild and hogs the CPU and you have to quit it. Often it's a printer process, but it could be anything. Usually quitting it once is enough. But if it is happening repeatedly with Safari, there must be a reason. You could try emptying the cache and see if this helps. If not, you could try resetting Safari. If no joy you could even consider reinstalling Safari.
    It sounds like Safari is going into some sort of loop and hanging up. With luck, emptying the cache will clear it.
    Good luck!

  • Why does my 10GB iSCSI setup seem see such high latency and how can I fix it?

    I have a iscsi server setup with the following configuration
    Dell R510
    Perc H700 Raid controller
    Windows Server 2012 R2
    Intel Ethernet X520 10Gb
    12 near line SAS drives
    I have tried both Starwind and the built in Server 2012 iscsi software but see similar results.  I am currently running the latest version of starwinds free
    iscsi server.
    I have connected it to a HP 8212 10Gb port which is also connected via 10Gb to our vmware servers.  I have a dedicated vlan just for iscsi and have enabled
    jumbo frames on the vlan.
    I frequently see very high latency on my iscsi storage.  So much so that it can timeout or hang vmware.  I am not sure why.  I can run IOmeter and
    get some pretty decent results.
    I am trying to determine why I see such high latency 100'ms.  It doesn't seem to always happen, but several times throughout the day, vmware is complaining
    about the latency of the datastore.  I have a 10Gb iscsi connection between the servers.  I wouldn't expect the disks to be able to max that out.  The highest I could see when running IO meter was around 5Gb.  I also don't see much load
    at all on the iscsi server when I see the high latency.  It seems network related, but I am not sure what settings I could check.  The 10Gb connect should be plenty as I said and it is no where near maxing that out.
    Any thoughts about any configuration changes I could make to my vmware enviroment, network card settings or any ideas on where I can troubleshoot this.  I
    am not able to find what is causing it.  I reference this document and for changes to my iscsi settings 
    http://en.community.dell.com/techcenter/extras/m/white_papers/20403565.aspx
    Thank you for your time.

    I have a iscsi server setup with the following configuration
    Dell R510
    Perc H700 Raid controller
    Windows Server 2012 R2
    Intel Ethernet X520 10Gb
    12 near line SAS drives
    I have tried both Starwind and the built in Server 2012 iscsi software but see similar results.  I am currently running the latest version of starwinds free
    iscsi server.
    I have connected it to a HP 8212 10Gb port which is also connected via 10Gb to our vmware servers.  I have a dedicated vlan just for iscsi and have enabled
    jumbo frames on the vlan.
    I frequently see very high latency on my iscsi storage.  So much so that it can timeout or hang vmware.  I am not sure why.  I can run IOmeter and
    get some pretty decent results.
    I am trying to determine why I see such high latency 100'ms.  It doesn't seem to always happen, but several times throughout the day, vmware is complaining
    about the latency of the datastore.  I have a 10Gb iscsi connection between the servers.  I wouldn't expect the disks to be able to max that out.  The highest I could see when running IO meter was around 5Gb.  I also don't see much load
    at all on the iscsi server when I see the high latency.  It seems network related, but I am not sure what settings I could check.  The 10Gb connect should be plenty as I said and it is no where near maxing that out.
    Any thoughts about any configuration changes I could make to my vmware enviroment, network card settings or any ideas on where I can troubleshoot this.  I
    am not able to find what is causing it.  I reference this document and for changes to my iscsi settings 
    http://en.community.dell.com/techcenter/extras/m/white_papers/20403565.aspx
    Thank you for your time.
    If both StarWind and MSFT target show the same numbers I can guess it's network configuration issue. Anything higher then 30 ms is a nightmare :( Did you properly tune your network stacks? What numbers (x-put and latency) you get for raw TCP numbers (NTtcp
    and Iperf are handy to show)?
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

  • Why does Find not see a visible file at Volume level?

    I recently searched (Find) my iMac's internal hard drive for a file that I knew I had created ("MAC addresses.doc"), but it found no such file, either by File Name or Contents. I had to try to remember where I filed it, and then I found it in [Macintosh HD] > Library > Documentation > User Guides and Information. Searching (Find) again at the level of any folder within the volume, even Library, finds the file immediately, both by File Name and Content. The file has no unusual properties, and its Permissions allow everyone to at least Read it. This occurs even after repairing permissions of the volume. Why should the OS be unable to Find this file for me when searched on the volume name? Should I change some setting/preference in order to allow that (all files to be found at Volume level)?

    Thanks Frank,
    SYSTEM_PARAMETER is a table owned by X.  If I qualify the select statement by adding the owner it works, but of course I do not want to do that.  Here is the DDL for creating SYSTEM_PARAMETER:
    create table SYSTEM_PARAMETER
      name         VARCHAR2(256) not null,
      date_value   DATE,
      number_value NUMBER,
      string_value VARCHAR2(512),
      comments     VARCHAR2(512)
    alter table SYSTEM_PARAMETER add constraint PK_SYSTEM_PARAMETER primary key (NAME);
    Again, if I rewrite the procedure to the following (only difference is the red X.), it works:
    create or replace  procedure ztm_get_debug_level is
      vc_pkg_name  system_parameter.name%TYPE := 'DEBUG_LEVEL_PKG_BASE_KEYS';
      vn_error     services.debug_log_level.debug_level_id%TYPE := 30;
      v_debugLevel   system_parameter.number_value%TYPE;
      function get_owner return varchar2 is
        cursor c1 is
        select owner from all_tables where table_name = 'SYSTEM_PARAMETER';
        v_Ret_Val VARCHAR2(30);
      BEGIN
        OPEN C1;
        FETCH C1 INTO v_Ret_Val;
        CLOSE C1;
        RETURN v_Ret_Val;
      END;
    begin
      DBMS_OUTPUT.PUT_LINE('AAAA - ' || get_owner);
      select s.number_value
      into   v_debugLevel
      from   X.system_parameter  s
      where  s.name = vc_pkg_name;
      DBMS_OUTPUT.PUT_LINE('BBBB');
    exception
      when no_data_found then
        NULL;
      when others then
       DBMS_OUTPUT.PUT_LINE('p_get_debug_level.WHEN OTHERS');
       raise;
    end;
    This procedure exists in 4 other environments where there are no issues.  It can't be a privileges issue as the table is owned by user X and as you can see by the lookup (which was added for debug) against ALL_TABLES the owner is clearly X.  So, why can X not select from it's own table unless we include the owner?
    Thanks,
    Thomas

  • OWB !0g R2: Does OWB create records for higher levels in a dimension?

    For example, if there are two levels PRODUCT_CATEGORY and PRODUCT, it looks like OWB populates the PRODUCT_CATEGORY records too in the dimension. Is this the default behaviour? Is there a way to turn this off, and only have the lowest level records populated?

    I will expand on the prior example to ask another dimension related question.
    ROW - 1
    PRODUCT_CATEGORY - DAIRY, FARM_NAME
    PRODUCT - NULL
    ROW - 2
    PRODUCT_CATEGORY - DAIRY, FARM_NAME
    PRODUCT - 2L MILK, FAT_CONTENT
    Q1: I need to join to another table on DAIRY, and to pull the FARM_NAME and the attributes from the second level (2L MILK, FAT_CONTENT). How do you guys do something like this in practical terms - check where the surrogate key for the second level is not null? One could also join on DAIRY where 2L MILK or FAT_CONTENT are not null?
    Q2: The other area where I am unclear is whether to use in the mapping the dimension object or the bound table. If I try to use the dimension then OWB will not let me do this because you can not source from more than level at the same time. I guess I will have to use a join? The other option is to use the table, but witht a complex large dimension that can get messy. So ... what is the correct approach in general - use dimensions or the underlying tables in a mapping?

  • Why does CC desktop app keep my macbook in high power mode?

    I own Master Collection CS6 and I have creative cloud desktop app installed. The Adobe Updater updated itself as expected. What is unexpected is that the new CC desktop app keeps my laptop (MacBook Pro) in high power mode, even when there are no applications running. Does CC desktop app need my GPU? Really?
    Adobe please fix this!
    Macbook Pro 17" 2.3GHz
    Mac OSX 8.4

    Hi R-Sharp,
    Do you have a Creative Cloud membership? The Creative Cloud desktop app should only be installed if you have a membership. I would expect you to have the Adobe Application Manager instead.
    -Dave

  • Anyone who plays Eternity Warriors 2, why does the game crash right after I complete a level, Could anyone help me out please?

    I use a iPod 4th generation with IOS 6 and I am not Jailbroken.

    You are having kernel panics. Can be hardware, often RAM related, or software.
    Suggested reading
    http://www.thexlab.com/faqs/kernelpanics.html
    Third party programs can be responsible, as they may be incompatible. I would try uninstalling any of these, starting with any that you have installed around the onset of the KPs.
    loaded kexts:
    net.telestream.driver.TelestreamAudio          1.0.3
    com.Cycling74.driver.Soundflower          1.5.2
    com.DataRobotics.driver.iSCSIInitiator          1.4.31
    MonitorControl.drv          1.0d3
    com.TrustedData.driver.VendorSpecificType00          1.3.7
    If it's happening only now and then, it will be difficult to troubleshoot. Did this start after the 10.6.8 update? Might be one of them is incompatible with 10.6.8. See if any of these programs need updating.

  • Why does adobe keep crashing for no reason on higher versions of Firefox than Firefox 13?

    Any idea for this? This is very annoying and a waste of time. I even have hardware acceleration turn off on Firefox.

    Download the  Flash Player uninstaller.
    Save it - DO NOT run it yet.
    Download the Adobe Flash Player installer directly by right clicking the following link and selecting "Save Link as".
    Flash Player Plug-in (All other browsers)
    Save the installer to your downloads folder - DO NOT run it yet.
    Close your browser completely (check the Task Manager to be sure the Firefox process is no longer running).
    Run the uninstaller to completely remove Flash Player.
    Reboot your system.
    BEFORE you run anything else, locate and run the installer to replace Flash Player.

  • Why does my 4S stay warm and display very high usage?

    I have an iPhone 4S and the battery life is unbelievably poor. Sitting in my pocket on standby it drains 7-10% per hour. However, if I go to settings > general > usage it shows a very high amount of usage - say 40 minutes usage for every 1 hour standby. On top of this the phone is almost always warm to the touch. Obviously it's not meant to be this way.
    I have tried restoring to factory settings. I have tried recovery/dfu restoring. Even with adding no data or apps to the basic restore, I'm still seeing the same strange usage and battery drain.
    On top of this I've also installed iOS 5.0.1 betas 1 and 2. Again I saw no improvement.
    Any ideas on what further I can try? I'd really love to be able to get through a day without having to constantly have the phone on charge.

    Just in case anyone comes here wondering about the answer to my issues. I got the phone replaced and the replacement has much better battery life with the exact same software, so I'm guessing that I just had a defective phone.
    It's weird though as all the signs pointed to it being a software issue. Oh well, it's not like I hadn't tried everything, so I just got it replaced (gotta love that customer service). It was interesting watching the Genius say stuff like "ah but you can fix the battery life problem by turning off X..." [goes through settings] "oh, you already have that turned off"
    The usage numbers still seem a bit high on the new one, but on day 1 it's managed 14h27m standby, 4h24m usage (real usage is more like 2h) and it's on 33% battery remaining at nearly midnight. That's just about acceptable, and an upgrade to 5.0.1 should get it running even better I presume. The old phone would probably have died a good few hours ago, so this one is about twice as good.

  • Why does this cause error (ORA 01008: Not all variables bound)

    When I assign values to parameters for a command object, I used the following code with the .NET provider:
    If oReq.CritSpec = Nothing Or oReq.CritSpec = "" Then
    cmdReq.Parameters.Add(":po5", DBNull.Value)
    Else
    cmdReq.Parameters.Add(":po5", oReq.CritSpec)
    End If
    This works fine, but when I switch to using ODP it generates the 'not all variables bound' error. I checked the parameter's status and it was Success. However, if I change the second line of the statement to
    If oReq.CritSpec = Nothing Or oReq.CritSpec = "" Then
    cmdReq.Parameters.Add(":po5", OracleDbType.Varchar2, DBNull.Value, ParameterDirection.Input)
    Else
    cmdReq.Parameters.Add(":po5", nReq.CritSpec)
    End If
    It seems to be OK. So my question is - why does the first statement generate the error? Am I misinterpreting the overloaded constructor or it it a bug in my code? Thanks.
    ck

    No need to answer, I solved it.
    For anyone else who might run into this, there were two issues:
    1. Assigning DBNull.Value to a parameter without specifying the parameter's type causes the Value property for that parameter to not be initialized. If you reference it, it will come back as a runtime error (check it first by testing for IsNot Nothing).
    2. In my update code, I have a lot of where clauses like "WHERE (COL1 = :1 OR COL1 IS NULL AND :1 IS NULL)". The default binding for parameters treats these two references to :1 as two different parameters. Setting BindByName to true solves the problem.
    ck
    Edited by: user536671 on Feb 15, 2009 7:04 PM

  • Why does Contribute generate extraneous HTML code?

    Why does Contribute CS4 generate so much extraneous HTML code that is either redundant or conflicts with styles specified in our style sheet?  Below are examples of what we've encountered in the first two weeks of using the product.  It seems that, if we keep using Contribute, our website will soon be cluttered with junk code.  (Some of the special characters listed below and generated by Contribute do not display correctly in this forum.)
    1.       This simple Heading 1 tag: <h1>Heading 1</h1>
    gets replaced with this code:
    <p style="margin-top:0;"><span style="font-family:times new roman;font-size:16px;"><strong><span style="font-family:verdana; font-size:15px;">Heading 1 </span></strong></span></p>
    2.       This simple Heading 2 tag: <h2>Heading 2</h2>
    gets replaced with this code:
    <p><span style="font-family:times new roman;font-size:16px;"><strong><span style="font-family:verdana; font-size:13px;">Heading 2</span></strong></span></p>
    3.       This simple Paragraph tag: <p>Text</p>
    gets replaced with this code:
    <span style="font-family:verdana;"> </span><p style="margin-top:0;margin-bottom:0;"><span style="font-family:times new roman;font-size:16px;">Text<span style="font-family:verdana;font-size:13px;">Text</span></span></p>
    4.       The standard straight quote symbol (&quot;) gets replaced with left and right quotes (&ldquo;) (&rdquo;)
    5.       Apostrophe’s get replaced with “&rsquo;”.
    6.       Odd, non-visible (in some browsers) characters are inserted, like: “”.
    7.       Dashes get replaced with these special characters, which may not display in all browsers: “—”.
    8.       This non-standard style tag gets inserted at the top of some pages:
    <!--
    .style1 {font-size: 15px}
    -->
    </style>
    9.       Trademarks, which are reliably denoted with just ”&trade;”, get replaced with this code and these special characters, which may not display in all browsers: “<span style="font-size:12px;">â„¢</span>”.
    10.   The simple Heading 1 tag: : <h1>Heading 1</h1>
    gets overridden with this code:
    <h1><span style="font-family:times;font-size:16px;"><span style="font-family:arial;font-size:15px;color:black;">Heading 1</span></span></h1>
    11.   This simple Paragraph tag: <p>Text</p>
    has the inappropriate “ServNAV” navigation style applied to it:
    <p class=”ServNAV”>Text</p>
    12.   This simple Paragraph tag: <p>Text</p>
    gets replaced with this code:
    <p style="margin-top:0;"><span style="font-family:Times New Roman;font-size:15px;"><span style="font-family:verdana;font-size:12px;color:#333333;">Text</span></span></p>
    13.   Extra filler space gets inserted at the bottom of a page with this code:
    <p style="margin-bottom: 0;"> </p>
    14.   Internal links are created as absolute (<a href="http://www.company.com/subfolder/Client-One.html">) rather than relative links ()<a href="../subfolder/Client-One.html">.
    15.   Links to other sites are coded incorrectly,
    as in “<a href="www.company.com">www.company.com</a>”
    instead of: “<a href="http://www.company.com">www.company.com</a>”.
    16.   This simple bold Paragraph tag: <p><strong>About Company</strong></p>
    gets replaced with this
    <p style="margin-bottom: 0;"><strong>About Company</strong></p>
    17.   This simple Paragraph tag: <p>Text</p>
    gets replaced with this code:
    <p style="margin-top:0;"><span style="font-family:times new roman;font-size:16px;"><span style="font-family:verdana;font-size:13px;">Text</span></span></p>
    Message was edited by: JerryWeb

    I've just written a detailed list of editing tips for our internal use that, in addtion to using "Paste Text Only", describe how to avoid or re-key Microsoft Office curly quotes and apostrophes, use only Contribute's Insert | Special Characters, etc.
    In addition, I created a new role in which I made the following changes:
    Under Editing, under“General editing restrictions”, checked the “Prevent users from inserting images (except shared assets); under “Paragraph spacing, changed so “Enter key moves insertion point down:” “Two lines, as in web page editors (uses standard <p> tags”; under “Other editing options”, unchecked “Allow multiple consecutive spaces”
    Under Styles and Fonts, under “Styles and Fonts”, unchecked “Include CSS styles in the Style menu; unchecked “Allow users to apply fonts and sizes”; and unchecked “Allow users to apply font color and background color”.
    Under New Pages, unchecked “Create a blank page”
    Our initial experimentation indicates this eliminates most of the extraneous and junk HTML code that Contribute otherwise introduces. Time will tell. However, it requires contributors to be pretty rigorous.

  • Why does good disk utility image generate error message?

    I created a disk image of a data cd using disk utility. When I open the dmg file I get the message:
    "The disk image you are opening may be damaged and could damage you system. Are you sure you want to open this image?"
    When I open the image there are no issues and the content is correct. Why is this message being generated and what can I do to keep it from happening?

    Hi Burkely,
    "The disk image you are opening may be damaged and could damage you system. Are you sure you want to open this image?"
    This is a standard message ...
    Dimaxum

Maybe you are looking for

  • Help for a not so smart computer user on Time Mach and hard drive

    Am sure this is a simple solve but I have tried everything so hoping someone out there can stop me from more frustration. Am running time capsule with no problem. Bought a Seagate Free Agent portable drive which I want to use to store all my photos a

  • Login gets stuck -- only volume keys get it unstuck

    On two of my computers (iMac and Mac Mini -- both recent and both running Lion), the login screen often gets stuck.  I click the user to login or start typing a password and the computer just stops responding.  The only thing that fixes it is raising

  • Markup tool properties error, Acrobat closes

    Every time I try to access the markup tool properties (ie: trying to change the color of a rectangle) Acrobat encounters an error and closes. Same error occurs with other markup tools and also cropping. This problem pretty much makes my Acrobat marku

  • Resolving errors ORA-01652 and ORA-04031

    Hi, My database is 8.1.7 i am frequenty getting this error. suggestion required.

  • Launchctl

    Loaded Samsung Reis Software to move pictures to MacBook Pro OSX 10.6.8.  After install said to reboot.  Got blue screen. Booted in safe mode and removed the software but still the blue screen.  Crash report shows Exception Type:  EXC_BAD_ACCESS (SIG