How to do this in the scheme star

Hi experts

I have 4 tables I want to turn in a star schema.

Table1 (FACT) has a n: 1 to table2 (Sun)

Table2 (Sun) also has 1:1 table3 (Sun) and 1:1-table4 (Sun)

Is it possible to reproduce this in a star schema where table1 (fact) is a relationship n: 1 for all tables (dimensions)?

I have that modeled in the administration tool and all queries between table1 and table 2 work, but they are not if I involved table 3 and 4.

Not sure how to define the relationships of 1-to-1 in the physical layer.

see you soon

Tim

Hello, Tim! :)

I hope this helps...

If you really want to make a star from the physical layer schema, I would say that you consolidate your tables in one dimension only, if they do not contain a lot of data. If it contains a large amount of data, however, I would also say that you treat your fact table so that it contains foreign keys to those of all the three dimension tables, so it could connect to them on its own. Given all the dimension tables are 1-1 relationships, the two suggestions can be relatively easy to map.

See you soon!

-Cha :)

Tags: Business Intelligence

Similar Questions

  • I want images in CMS format, but it only helps to px, how can do this, on the publishing server?

    Hello

    I want images of size by bu cemtimeters it only lets px, how can do this, on the publishing server? Thank you

    Daisy

    Original title: size

    You can do it with this freeware tool.
     
  • How do connect me to the schemas human_resources 12 c?

    Hi, I had no hr user, I had no schemas, so I download the oracle downloads example schemas. Moved to F:\app\product\12.1.0\dbhome_1\demo\schema\human_resources

    That is the question, should I now HR user? or must create a new? And, if I have to create a new, how can I grant him the privilege of access to these patterns

    In SQL Developer for SYSTEM user, show me other tables that I have right now. So, how can I solve this problem?
    Please write commands to SQL I liked because I am new in this. Thank you.

    Database Oracle 12 c Enterprise Edition Release 12.1.0.1.0 - 64 bit Production

    PL/SQL Release 12.1.0.1.0 - Production

    "CORE 12.1.0.1.0 Production."

    AMT for 64-bit Windows: Version 12.1.0.1.0 - Production

    NLSRTL Version 12.1.0.1.0 - Production

    Hello

    Try

    Select the table table_name from dba_tables where owner = 'HR ';

    This should give you the paintings she owns.

    choose one of those, then try

    Select * from hr.table_name_you_picked;

    See you soon,.

    Rich

  • How to work directly with the schemas imported or included xml db?

    Hello Forum,

    + [my system: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0, windows 7, 8 GB of RAM, Enterprise edition of altova xmlspy 2007] +.

    Help, please? I browsed this forum. I googled like crazy. I have read and reread the db xml docs. for 16 hours straight, I tried everything I can think of to fix this. but I can not yet understand what goes wrong.

    After you have added annotations that are appropriate to the hierarchially-dependent five (imported and/or included) third patterns, I registered successfully the schemas in the xml db repository. all patterns and their associated with successful instance documents validate in Altova XMLSpy.

    I was able to insert a xml instance doc successfully in an auto-generated XMLType table ("+ ct - valid.xml + ') which was based on one of the patterns (" + envelope-v2 - 0.xsd + '). However, when I tried to insert in its corresponding XMLType table, one other instance doc ("+ cis - valid_irenvelope_request_0.xml + '), based on another of patterns (' + AgentAuthRequest-v1 - 2.xsd + '), I got:

    ERROR at line 1:
    ORA-30937: No schema definition for 'PeriodEnd' (namespace
    'http://www.govtalk.gov.uk/taxation/AgentAuthRequest/1') in parent
    '/IRenvelope/IRheader'
    ORA-06512: at "SYS.XMLTYPE", line 295
    ORA-06512: at line 1
    the "+ IRenvelope +" element (defined in "+ AgentAuthRequest-v1 - 2.xsd + ') refers to her child" + IRheader + "element of a schema included (" + base-v2 - 0.xsd + "); ' + IRheader / PeriodEnd + "is set to" + base-v2 - 0.xsd + ".

    Please, help me understand what I need to do to make this work? the above patterns are in this zip file .


    Thanks in advance for your help.


    the following files are included in this zip file :


    AgentAuthRequest-v1 - 2.xsd
    Core-v2 - 0.xsd
    Sun - certified_registerSchema_calls_0.txt
    CIS - valid_irenvelope_request_0.xml
    CT - valid.xml
    trace udump files

    I reproduced the problem on 10.2.0.4 (the closest I can get to your version) and 11.2.0.2 too.

    I call it a bug that I may be missing something, but it seems that "Design Chameleon" is not supported.

    Most of the time, xs: include is used to include another scheme which is in the same namespace as the includer target.
    But it should also work when you include a diagram in no namespace (core-v2 - 0.xsd in this case), its definitions are then "imported" names within target.

    In this case, included base-v2-0 definitions are apparently not moved to namespace 'http://www.govtalk.gov.uk/taxation/AgentAuthRequest/1' and are in no namespace, where the error.

    For example, the way space default namespace for elements included work:

    
    
    
     
      1967-08-13
      Individual
     
     
     ...
    

    Declaring the same target namespace in core-v2-0 works as well.

  • How udpate parameters instance in the scheme of cloud level

    While adding a SQL section on a page in a new application websheet, it gives me error saying:-"access SQL and PL/SQL is not enabled for this instance."

    At the application level, this option is enabled, as can be seen in the screenshot below. I want to know how to upgrade the settings at the level of the instance on cloud diagram.

    In the case of apex on site, we can connect you to the workspace IN-HOUSE as an administrator and to do this. But when it comes to cloud scheme, how can this be achieved?

    Please guide me.

    Hi Seb,

    It is not possible to activate this feature in database schema Service today (APEX 4.2). This feature was revised in APEX 5.0 and we will consider allowing it when instance scale absorption APEX 5.0 the service of database schemas.

    Thank you

    Vlad

  • Tecra S2: Using FN + F8 - how to do this in the software?

    Hello
    I was wondering if anyone has found a way of software utility to turn on the power switch (NOT the switch h/w) Radio.

    It's easy on some other Toshiba laptops not - I checked on TaskMgr and he told me EXACTLY what the program is short, which can be called directly to the extension for active / disable Radio (as another shortcut).

    Of course, by telling users to use the FN + F8 is perhaps one thing... but how about a shortcut in our set of cordless tools?

    And why confuse with a HARDWARE switch and then also a SOFTARE option as well!
    If at least the Fn + F8 could be emulated, it would be possible for a reminder on forcing the h/w switch is off, or the s/w radio is turned off, or maybe it is not disabled at all!

    Anything either would be useful... a vb send the keys like a piece of code, or the mobile extensions or a specific utility that could be called to turn.
    So far, all I can do is say "make sure you press FN + F8".

    I found various tools that control the ability to receive service (E - Key and TfncKy) entries, but no documentation on any way I could manipulate them.

    It relates to a business for the mobile and wireless strategy that may affect our to forward to the future with Toshibas as well any help appreciated.
    That's the problem with WiFi stuff... much too complex for its own good and that you omit things easy.

    I just need a way to turn the radio power at the level of the system. Help, please.
    Any help kindly received if Toshiba officially or not.

    [Edited by: admin]

    Hello

    Usually, Toshiba Hotkey utility is responsible for the use of the FN keys.
    I think Toshiba programmers have designed this utility for Toshiba laptops and the FN key utility can only be used on Toshiba laptops. Do not think that the 3rd party application will work.

    Maybe it of possible to write an application that can change the FN key, but you will not be able to find any caregiver of this forum.
    You should visit a programmer forum.

  • I just installed an additional printer. How to make this printer the DEFAULT printer

    Just installed an additional printer. How do I do this the DEFAULT printer.

    I moved your question in the comments of answers box, even if you do not specify your version of Windows.

    Control Panel configuration/Printers (or printers and devices)
    Right click on the new printer, select set as default.
    -steve
  • [OBIEE 11 g] Apply the scheme star without security filter?

    I imported my first OLAP cube, by following the instructions here < /a > < a href = "http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/olap/biee/createbieemetadata.htm" > and apply the security filter required to force the star join between views of dimension and cube. However, the security filter does not apply to users in the user administrator of BI Group. Is it possible to do this without a security filter, or somehow apply the filter of security even when the user is an administrator?

    Published by: Fabrice on 22 January 2013 07:56

    Published by: Fabrice on 22 January 2013 07:57

    You seem to have found a good document to start from.

    The use of OLAP with OBIEE is a two-step process.

    (1) you set (and building) the cubes of AWM.

    (2) tell you these cubes OBIEE.

    Before OBIEE 11.1.1.5, the only way to make (2) was to use the AWM plugin and card views OBIEE cube generated. But from 11.1.1.5 you can "import" instead, the cubes using a dialog box in OBIEE administration tool. OBIEE will generate different SQL depending on the approach you take.

  • How to calculate this column (the last week of the month)?

    I have a request where it shows a few months of calculations of sage

    ex. This report is for Dec-2010

    statement line. A reduced rate. Approved rate. Last week declined the rate |
    -------------------------
    Asia report | ------20%----- | -----45%-------- | --------4%------ |
    Africa report | ------44% -----| -----21%-------- | ------12%-------|

    I'm figuring the column rate declined last week . The logic is simply not coming to my mind.
    Can someone suggest me how can I calculate this?

    We'll see. This report at any time after the previous month running has closed...

    (1) TIMESTAMPADD (SQL_TSI_DAY, (DayOfMonth (CURRENT_DATE)) *-1, CURRENT_DATE) will give you the last day of the previous month.

    (2) TIMESTAMPADD (SQL_TSI_DAY, DAYOFWEEK (TIMESTAMPADD (SQL_TSI_DAY, (DayOfMonth (CURRENT_DATE)) *-1, CURRENT_DATE)) *-1, TIMESTAMPADD (SQL_TSI_DAY, (DayOfMonth (CURRENT_DATE)) *-1, CURRENT_DATE)) will give you the Saturday before the last week of the month.

    (3) TIMESTAMPADD (SQL_TSI_DAY, 1, TIMESTAMPADD (SQL_TSI_DAY, DAYOFWEEK (TIMESTAMPADD (SQL_TSI_DAY, (DayOfMonth (CURRENT_DATE)) *-1, CURRENT_DATE)) *-1, TIMESTAMPADD (SQL_TSI_DAY, (DayOfMonth (CURRENT_DATE)) *-1, CURRENT_DATE))) will give you the Sunday of the last week of the previous month.

    Now that you have the start of the last day of the previous week, you can create your filter... It will be "(between 3) and 1)" above... "

  • I can't download my pictures from my camera or from disk. I get an error code. Someone knows how to fix this? The error code is 0 x 80010108

    I can't download my pictures from my camera or from disk.
    I get an error code. Ox80010108
    Any help? Enjoy

    Hello

    1 when you download the pictures?

    I suggest that you put the computer to boot and then try to upload the image, follow step 1 to set the computer to boot.

    How to troubleshoot a problem by performing a boot in Windows Vista or in Windows 7 http://support.Microsoft.com/kb/929135
    Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.

  • How to solve this error "the game met a fatal DirectX issue while trying to start. Try a different screen resolution or bit depth. If this does not work, try new video drivers. »

    Hi all

    I get the following error every time I try and start Asherons call on a new Dell Latitude E5510 laptop.

    The game has encountered a fatal DirectX problem trying to start.
    Try a different screen resolution or bit depth. If this does not work, try new video drivers.

    This error occurs just after clicking the world to enter.

    • I have a fresh install of Win7 64 bit (entirely the window update)
    • The latest Intel HD - v8.15.10.2622 01/10/2012 graphic card driver.
    • A sweet DX 9 and DXDiag and 11 installation reports no errors.

    I lowered res video and depth of color, but without result.

    Digitized internet and found others with the issue but no resolution, I could see.

    Anyone have any ideas/suggestions?

    I love a solution restored for the following driver and the problem resolved.

    V8.15.10.2599 21/10/2011

  • How to achieve this using the sql query?

    Hello gurus,

    I have a table like this
    id    name
    1       a
    2       b
    3       c
    4       d
    5       e
    6       f
    7       g
    8       h
    9       i
    10     j
    11     k
    12     l
    13     m
    now my result should be like this
    id    name  id   name   id   name 
    1       a     6       f      11     k
    2       b     7       g     12     l
    3       c     8       h     13     m
    4       d     9       i
    5       e     10      j
    How to achieve by sql query?

    Thank you and best regards,
    friend

    Edited by: most wanted! February 22, 2012 05:55

    Hello

    Did you mean this:

    with a as
    (select 1 id ,'a' name from dual
    union all select 2 id ,'b' name from dual
    union all select 3 id ,'c' name from dual
    union all select 4 id ,'d' name from dual
    union all select 5 id ,'e' name from dual
    union all select 6 id ,'f' name from dual
    union all select 7 id ,'g' name from dual
    union all select 8 id ,'h' name from dual
    union all select 9 id ,'i' name from dual
    union all select 10 id ,'j' name from dual
    union all select 11 id ,'k' name from dual
    union all select 12 id ,'l' name from dual
    union all select 13 id ,'m' name from dual
    )
    
    select
      id_1
      ,name_1
      ,id_2
      ,name_2
      ,id_3
      ,name_3
    
    from
      (
      select
        id id_1
        ,name name_1
        ,lead(id,5) over (order by id) id_2
        ,lead(name,5) over (order by id) name_2
        ,lead(id,10) over (order by id)  id_3
        ,lead(name,10) over (order by id) name_3
        ,rownum r
      from
        a
      )
    where
      r <=5
    
    D_1                   NAME_1 ID_2                   NAME_2 ID_3                   NAME_3
    ---------------------- ------ ---------------------- ------ ---------------------- ------
    1                      a      6                      f      11                     k
    2                      b      7                      g      12                     l
    3                      c      8                      h      13                     m
    4                      d      9                      i
    5                      e      10                     j 
    

    Kind regards

    Peter

  • Captivate 5 Mac: How to get rid of the little star associated with each mouse click

    Hello

    I recorded a new project and only use the mouse, without noises from klick or select box before you click.

    When I look at the saved project, Captivate shows me before each mouse click on a small star, which I don't want to see.

    Unfortunately, I can't do a screenshot of it, because it is not visible on the slide at the beginning. It shows the second just before the mouse clicks. I'm sure, I can turn it off, but I don't know where.

    Thanks for any help, Miriam

    Hello

    If you click on the object of the mouse to select and look at the properties panel, is there that something set to display the mouse click?

    See you soon... Rick

    Useful and practical links

    Begin to learn Captivate 5 times now! $29.95

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcererStone blog

    Captivate eBooks

  • Old computer with Photoshop is dead, had to buy a new computer.  How to install this on the new computer?  I do not have a disk, I bought online.  I looked in my account shows, I bought it, but don't see an option for installation.

    I do not have a disk, I bought online.  I looked in my account shows, I bought it, but don't see an option for installation.

    You can do so here:

    Download Photoshop Elements products | 10, 11, 12, 13

  • How to import in different Oracle schemas using the same model? Physical schema is different every time, so, how is this a handles that?

    Experts of the ODI,

    I use ODI 11.1.1.7.0 and transfer data to an Oracle database. So far, everything is OK, but...

    I want to reuse my current interfaces for import into different schemas in the same database.

    At the moment all the table data were imported into a single scheme under topology/Physical Architecture / Oracle / Data Server / physical schema I chose the pattern and check the "default."

    If I import now to other patterns (300 different ones), how should I configure the physical schema values for:

    Schema (schema)

    Scheme (scheme of work)

    Default checkbox? (I assume must be deselected)

    On a quick test, I left schema & schema of blank and disabled by default check box. Two interfaces work (one per table), but the third failed (my guess is the way in which the model was reverse engineering has to do with it, but don't know how to fight against it) I know how to debone a model, but if I use a pattern to do the other schemes do not work because ODI will give me a table not found. How do I work around this problem. Here is an example of the error I get after removing the default schema of the physical schema definition.

    ODI-1226: step CON_TY fails after 1 attempt.

    ODI-1240: Flow CON_TY fails during an operation of integration. This flow of charge table target CON_TY.

    ODI-1228: task failed CON_TY (integration) on the ORACLE connection signal target.

    Caused by: java.sql.BatchUpdateException: ORA-00942: table or view does not exist

    Your help is appreciated. Thank you.

    Here's how, to work around the problem of schema change the mask object Local of the physical schema on the server target %SCHEMA.%O OBJECT to % OBJECT in this way the schema is not part of the SQL at all.

    And these are the values that I use in the physical schema definition

    Schema (schema) - undefined

    Scheme (scheme of work) - undefined

    Check box default - select

    Given each user has permissions for objects it is clean and it doesn't have the schema name to reference the object, it works very well.

Maybe you are looking for