How and when to create a fact table

hi every1,
I am new to oracle and specially to Data Warehousing. I am using OWB 11g on windows XP.
I have created the dimensional for a database, now i am in the implementation phase.
i have the following questions.
1. I don't know how and when to create a fact table. I have already created the dimensions (ROLAP).
2. Do i need to create a mapping for a Cube. if yes, then how to load them from 4 different dimensions. how will be the join condition, they don't match?
3. I will also try for aggregation, do i need to use MOLAP for the dimensions or ROLAP works?
Please, give a quick reply.
regards
RF

You should ask your question here:
Warehouse Builder
where it is on topic.

Similar Messages

  • How and When Sub-Ledger Data is populated into XLA_DISTRIBUTION_LINKS Table

    Hello Gurus
    I have been working on a Sub-Ledger Accounting and I could get a fair idea of how data is being transferred from XLA_DISTRIBUTION_LINKS to XLA_AE_LINES and XLA_AE_HEADERS. As per my understanding, During "Create Accounting" process, data from XLA_DISTRIBUTION_LINKS will be summed up based on JOUNRAL_LINE_TYPES rules and conditions to load into XLA_AE_LINES and XLA_AE_HEADERS. Then during "Transfer to GL" process, data from XLA_AE_LINES and XLA_AE_HEADERS is transferred to GL Tables. What I didn't understand is how and When data gets loaded into XLA_DISTRIBUTION_LINKS. What are the rules and conditions and during which step data will be loaded to XLA_DISTRIBUTION_LINKS table? Can somebody please explain me how data is transferred from Sub-Ledger Distribution Tables to SLA Distribution Table?
    Thanks,
    Sunny.

    Above Notes are good.
    But I just wanted to add a staight point.
    xla_distribution_links and xla_ae_lines will get populated at the same time.
    Both goes on JLTs and their conditions. One is detailed and the other is summarized / merged.
    xla_ae_lines will have extra balancing lines and xla_distirbution_links will have extra gain / loss lines, which end up with zero amount.
    Also check the links for the setup of distribution identifiers.
    http://docs.oracle.com/cd/E18727_01/doc.121/e13420/T193592sdextchap.htm#sdextacattg
    http://docs.oracle.com/cd/E18727_01/doc.121/e13420/T193592sdextchap.htm#sdextdisidg
    By
    Vamsi

  • How and when the table will go STALE ?

    Hi,
    I want to check how and when a table will be marked as STALE.
    I have done following steps
    ---- Created a table --------------------
    SQL> create table t1 (id number, name varchar2(100)) ;
    Table created.
    ---- Inserted decent amount of data --------------
    SQL> declare v1 number; begin for i in 1..25 loop
    2 insert into t1 select object_id, object_name from all_objects ; commit; end loop;
    3 end;
    4 /
    PL/SQL procedure successfully completed.
    SQL> select table_name, status, num_rows, last_analyzed, monitoring from user_tables where table_name='T1';
    TABLE_NAME STATUS NUM_ROWS LAST_ANAL MON
    T1 VALID YES
    ---- Gather stats -----------------
    SQL> exec dbms_stats.gather_table_stats( user, 'T1', METHOD_OPT => 'FOR ALL COLUMNS SIZE 1');
    PL/SQL procedure successfully completed.
    SQL> select table_name, status, num_rows, last_analyzed, monitoring from user_tables where table_name='T1';
    TABLE_NAME STATUS NUM_ROWS LAST_ANAL MON
    T1 VALID 115544 18-JAN-08 YES
    ---- Insert more data ---------------------------
    SQL> declare v1 number; begin for i in 1..25 loop
    2 insert into t1 select object_id, object_name from all_objects ; commit; end loop;
    3 end;
    4 /
    PL/SQL procedure successfully completed.
    Now, after I have analyzed the table and get the stats in, I loaded good amount of data. So, in theory, this table should be marked as STALE.
    Where can I check if this table has been marked STALE? when ?
    Please guide.
    Thanks

    You need to read that manual with more caution. It has all info you need.
    1. Table modification info stays in shared pool and flushed into dictionary by Oracle automatically. You can explicity do it by calling dbms_stats.flush_database_monitoring_info.
    2. dba_tab_modifications view = How many DML are applied to target table?
    dba_tab_statistics.stale_stats = Is statistics stale?
    3. When you call dbms_stats.gather... familiy, Oracle flushed the stale info to disk. You gnerally don't need to care about that.
    4. Statistics is considered to be stale, when the change is over 10% of current rows.
    (As of 11g, this value can be customized per objects. Cool feature)
    create table t_stat(id int);
    insert into t_stat select rownum from all_objects where rownum <= 100;
    commit;
    exec dbms_stats.gather_table_stats(user, 'T_STAT');
    select * from sys.dba_tab_modifications where table_name = 'T_STAT';
    No row selected
    select stale_stats from sys.dba_tab_statistics where table_name = 'T_STAT';
    NO
    insert into t_stat select rownum from all_objects where rownum <= 20;
    select * from sys.dba_tab_modifications where table_name = 'T_STAT';
    No rows selected <-- Oops
    select stale_stats from sys.dba_tab_statistics where table_name = 'T_STAT';
    NO  <-- Oops
    exec dbms_stats.flush_database_monitoring_info;
    select * from sys.dba_tab_modifications where table_name = 'T_STAT';
    TABLE_OWNER     TABLE_NAME     PARTITION_NAME     SUBPARTITION_NAME     INSERTS     UPDATES     DELETES     TIMESTAMP     TRUNCATED     DROP_SEGMENTS
    UKJA     T_STAT               20     0     0     2008-01-18 PM 11:30:19     NO     0
    select stale_stats from sys.dba_tab_statistics where table_name = 'T_STAT';
    YES

  • How to create logical fact table in BMM layer ?

    Hello,
    I have 3 Dimension table - 2 are in one schema and last is another schema. Using this 3 dimension tables, I need to create a logical fact table.
    So, my question is whether we can create this fact table by joining these 3 dimension table which are in 2 different schema s ?
    Thanks

    Fiaz,
    you are correct. We can use tables from different subject area to create a report. However, my question was related to rpd design. Sorry, I was not very clear about the queries earlier.
    Here is the whole scenario in the physical layer of the rpd
    Table name      Databse name      Connection pool name      Schema name
    AV          AV_PXRPAM     AVAILABILITY          CRMODDEV
    OUTAGE          AV_PXRPAM     AVAILABILITY          CRMODDEV
    COMPANY          PXRPAM          PXRPAM_POOL          CRMODDEV
    AV and OUTAGE have the joins already. I want to make a join between COMPANY with OUTAGE. And then I want to include a column from each of above tables to the logical fact table in the BMM layer. then I want to do a star schema with the logical fact table to the above 3 tables in the BMM layer.
    Thanks

  • Trying to create a fact table,error:unable to extend temp segement

    Using Oracle 10.2g
    SQL>
    create materialized view facts_table
    (     s_id
    ,     g_id
    ,     sb_id
    ,     sc_id
    ,     y_id)
    refresh with rowid
    as      select s.s_id
    ,     g.g_id
    ,     sb.sb_id
    ,     sc.sc_id
    ,     y.academicyear
    from      student s
    ,     grade g
    ,     subject sb
    ,     school sc
    ,     comqdhb.teachinggroup y;
    ERROR at line 3:
    ORA-01652: unable to extend temp segment by 1024 in tablespace POSTGRADSI am creating the fact table as materialized view because its specified for us.
    I am trying to create a fact table from the dimension tables and its giving this error
    what is the mistake kindly help.
    Also when creating the fact table do all the columns need to be foreign keys compulsorily.
    Edited by: Trooper on Jan 10, 2009 5:25 AM
    Edited by: Trooper on Jan 10, 2009 6:37 AM

    Well basically what your saying is absolutely right
    I realized what i am doing right now is stupendous blunder.
    Basically my aim is there are 5 dimensional tables that are created
    Student->s_id primary key,upn(unique pupil no),name
    Grade->g_id primary key,grade,exam_level,values
    Subject->sb_id primary key,subjectid,subname
    School->sc_id primary key,schoolno,school_name
    year->y_id primary key,year(like 2008)
    s_id,g_id,sb_id,sc_id,y_id are sequences
    select * from student;
    S_ID UPN FNAME COMMONNAME GENDER DOB
    ==============================
    9062 1027 MELISSA ANNE       f  13-OCT-81
    9000 rows selected
    select * from grade;
          G_ID GRADE      E_LEVEL         VALUE
            73 A          a                 120
            74 B          a                 100
            75 C          a                  80
            76 D          a                  60
            77 E          a                  40
            78 F          a                  20
            79 U          a                   0
            80 X          a                   0
    18 rows selectedThese are basically the dimensional views
    Now according to the specification given, need to create a fact table as facts_table which contains all the dim tables primary keys as foreign keys in it.
    The problem is when i say,I am going to consider a smaller example than the actual no of dimension tables 5 lets say there are 2 dim tables student,grade with s_id,g_id as p key.
    create materialized view facts_table(s_id,g_id)
    as
    select  s.s_id,g.g_id
    from   (select distinct s_id from student)s
    ,         (select distinct g_id from grade)gThis results in massive duplication as there is no join between the two tables.But basically there are no common things between the two tables to join,how to solve it?
    Consider it when i do it for 5 tables the amount of duplication being involved, thats why there is not enough tablespace.
    I was hoping if there is no other way then create a fact table with just one column initially
    create materialized view facts_table(s_id)
    as
    select s_id
    from student;then
    alter materialized view facts_table add column g_id number;Then populate this g_id column by fetching all the g_id values from the grade table using some sort of loop even though we should not use pl/sql i dont know if this works?
    Any suggestions.
    Edited by: Trooper on Jan 10, 2009 6:38 AM

  • How can build BMM with multiple fact tables

    HI Gurus,
    I have 4 fact tables and 18 Dimension table. Dimension tables have links with multiple fact tables. i have created physical joins in Physical layer. Now my questions is how can i create Business Model with multiple fact tables.
    i mean should i create 4 fact tables as logical tables and logical keys ? Then i have to move all dimension tables in to Business model?
    i am new to OBIEE. i gone through tutorial it is showing with one fact and multi dimension table. Should i do follow same style with multi fact tables.
    Please help me. Thanks in advance for your support.

    Thanks for your response.
    I had drag all tables from the phisical layer to Business Model. then i have deleted all links and recreated complex joins with default values.
    now i have some revenue amont columns in fact tables.
    my question is should i should i create aggregation ( like Sum..) for those columns? is it must ?
    please let me know thank you very much

  • How and when the database release a row lock?

    Dear experts,
    We are using the following statement to obtain a row lock in a table in the database(ORACLE of course),
    SELECT * FROM {TABLE_NAME} WHERE ID = 1 for update
    and if we succeed grabbing the row lock we will continue to issue a update statement every 30 seconds to preserve the lock as far as possible.
    here is the update statement to preserve the lock,
    UPDATE {TABLE_NAME} SET time = ? WHERE ID = 1.
    As you see more longer we keep holding the row lock , more update statements are submitted in the pending transaction.
    In normal case our application can grab the exclusive row lock and works for a long time,however sometimes a connection reset exception is thrown
    and our application will close the connection(I assume the pending transaction will be rolled back by the database) and exit the JVM.
    Since other applications will keep trying to grab the same row lock to become the master role,
    we expect one of them can succeed but they are all failed because the database has not released the row lock as expected.
    Can someone explain more details about how and when the row lock can get released in our use case?
    Thanks,
    SuoNayi
    Edited by: SuoNayi on 2013-5-30 上午8:12

    Hm. Is this part of an XA transaction by any chance? I know that Oracle maintains separate bookkeeping for such transactions which can cause rows to stay 'locked' even when the regular DBA views will indicate there is no user currently locking the record at all. I have no idea about the actual details and what you need to do to clean up such a situation, that is something a DBA should know and do.
    If not... well this is more of a question for people who know the DBMS, which makes it a target for the Oracle DBMS forums. Java developers don't tend to have DBA-level knowledge of the database, you should ask the question where you have more chance of people with expertise answering stuff:
    General Database Discussions

  • Broadband usage-how and when are you informed?

    Hi all,
    I was hoping someone could help me. I have recently been made aware that I have been going over the monthly usage allowance for my Broadband option by the fact that I have had a charge added to my account. After speaking to a BT operator today I am not really any further forward. I had asked if I should have been informed of this sooner and they said that they had sent an email to my 'primary' email address which was the BT.com one-which I don't use and don't even know how to access. I have all my bills etc sent to my usual address so I think it is disgusting that anything is sent anywhere else other than my designated email address. As far as I was concerned everything which was sent from BT went to my designated address and I wasn't informed any different at any point. Also, he told me I had been going over my allowance since January and that the way the billing works means I have only just been charged for February on this month's bill (April). I don't see how this could be right as I would have thought the charge should have been added the month after exceeding so I would have paid for February in March? This now means that because I didn't know about it, I will be paying for the amount I exceeded in March in May which I think is ridiculous.
    I have been with BT for 5 years and have never come across this problem before but I do know that I feel uninformed. The person I spoke to today was rude and aggressive and I was disgusted by the way he spoke to me as I work in positions concerning customer service and his manner was appalling.
    So basically I am hoping someone could tell me exactly how and when you should be informed of exceeding your allowance? Also, if an email is sent to the BT.com address-why is this as all my bills etc are sent to another email address?
    Thanks in advance for any replies,
    Emma

    A few people have found this out, re the primary email only issue.
    If you can get into your email account, you should be able to forward all email to an alternative email address to avoid this situation again.
    If you have an BT online account you can check your usage via their usage meter (although there have been issues with it around the Jan - Mar period). This will help you keep an eye on home much you are using.
    With the charge, the first month you go over they don't charge you. But if you go over a second time they will start to charge, hence the offset charging.
    if you require a response from BT you could try the MODS on here by completing http://bt.custhelp.com/app/contact_email/c/4951 (allow 72 hrs for a response)
    Check your exchange or major service outagesIf someone has given a helpful answer, please click on their Ratings star on the left-hand side. ***

  • How and when do applications get stored on iCloud? I play a game called injustice and it saves to iCloud but seems to do it randomly. I often lose the most recent game and it backs up to an old one. Can i do it manually? is there a way to check?

    when do games get saved? Can i do it manually? I often lose most recent game if i restore it from iCloud

    You'd need to ask the developer. How and when individual apps use iCloud is up to the developer of that particular app,

  • Usage of G/L interim Account - How and When to offset it ?

    Hello,
    To use this account, we have to specify that the payment method is connected to this type of account.
    After, we have to assign the G/L Interim account to the bank master data.
    This method is only available with payment transfer.
    But if the posting following the bank transfer is duly put onto this transitory account, how and when can you offset it against a genuine Bank Account?
    Thanks
    Stéphane

    Stéphane,
    The Checking Account clearning (Interim account) is mainly used when there is a step after the Incoming payment and before the money is actually realized in the Bank.  This is mainly true in case of Checks, Credit Card and Cash Deposits.
    The Deposit function which is performed for the above mentioned 3 types of transaction actually offsets the Interim Account.
    The JE for the Deposit function typically is
    Bank Account Debit
    Interim Account Credit
    Let me know if you have further questions
    Suda

  • How and When Does the attribute VI_ATTR_VXI_TRIG_STATUS get initialized

    How and When  Does the attribute VI_ATTR_VXI_TRIG_STATUS get initialized. Do the actual trigger lines get measured or does the attribute get initialized to a default value when the vxi resource manager is executed?

    Hey whl6868,
    According to page 157 (or 3-135) of the manual (http://www.ni.com/pdf/manuals/370132c.pdf), there is no default value for VI_ATTR_VXI_TRIG_STATUS.  If Resman is returning valid values for it, then it must be actually reading the lines.  Else, I would only expect it to return valid values when you actually call the function yourself.
    Regards,
    David R
    Applications Engineer
    National Instruments

  • I've used iPhoto to import photos from my camera.HOW and WHEN can I safely disconnect my camera for the mac mini.

    I've connected my digital camera to my 2013 mac mini and used iPhoto to import photos from the camera.
    HOW and WHEN can I safely remove the camera please?

    Dismount the camera by clicking on the unmount icon on the right in the iPhoto source pane. Once it is unmounted remove it
    LN

  • I use photoshop cs6 extended and when I create a new shortcut, it will work once and then disappear..any help on why this would happen

    I use photoshop cs6 extended and when I create a new shortcut, it will work once and then disappear..any help on why this would happen

    Sorry, no further idea what can cause this.
    Is the shortcuts file truely saved to disk? You can find in the user path, where the preferences and presets are stored for PS. Or if you go to the dialog again where you change shortcuts, is it reverted there too?

  • Composite mode (control click or right click) and how and when to use

    Hello,
    I would like to learn how and when to utilize the composite mode (control click or right click on your timeline)and all of its functions. Do you have a recommendation as to who might be able to explain what each of the composite mode functions do? Editors keep referring to how great this feature in FCP is.
    Thanks,
    Jordan

    Have a read through the manual first. It explains what Composite Mode does and the theoretical underpinnings. Book III- Chapter 18- Page 361 (in FCP 5.1) is a good place to start.
    If you have questions, come back.
    Have fun.
    x

  • How to use JSTL create a dynamic table according to a database???

    How to use JSTL create a dynamic table according to a database in a web page? Who can help me? Thanks.

    How to use JSTL create a dynamic table according to a
    database in a web page? Who can help me? Thanks.???
    Could you rephrase your quesion?
    Do you want to display records by reading from a table in DB?

Maybe you are looking for

  • How to consider the Purchase Orders in Long Term Planning

    Hi All, I wanted to include the Purchase Orders of Finished Material in Long Term Planning. I have selected the check box "Long-term planning: include firmed issues and receipts" in the Planning Scenario  but after LTP run system is not considering t

  • Using multiple taps in one firefox window

    I am using the latest version of firefox in windows 7 starter , when I open multple taps on 1 firefox window and I am trying to return to firefox after doing soemthing else on the laptob it show me list of the taps and I have to press any tap i would

  • Colors dialed in by the numbers do not stick.

    Colors dialed in by the numbers do not stick. I have a 1-color yellow logo that I open in Photoshop in RGB mode. I need the RGB values for the yellow to be specific (232/157/0). So I select the logo, dial in the RGB numbers for the yellow, fill in th

  • CS5:  Bridge not responding

    When I open the mini bridge then select browse files, my favorites, recent folders, etc do not contain any files.  In the content box below it says "waiting for bridge cs5..." and doesn't respond.  Does anybody have an idea of what is going on?

  • When I attempt to scan a document to my computer I get the following message make sure the printer s

    I have an HP Photosmart 5514 printer.  When I try to scan a document to my computer I get the following message "Make sure the printer software is installed on your printer, and that 'Scan to computer is enabled via the pronter software"