Saturday, February 23, 2019

Datawarehouse overall



Monday, February 11, 2019

Datawarehouse Variations - Bigdata, Temporal Data, Etc


https://www.researchgate.net/publication/317229839_Herding_the_elephants_Workload-level_optimization_strategies_for_Hadoop

https://www.researchgate.net/publication/330798405_Temporal_Dimensional_Modeling

http://www.anchormodeling.com/?author=1

Friday, February 8, 2019

Oracle Refrences


<<Temporal Data Samples.pdf>>


Discussion about Max size of a varchar2 in Oracle
Needs to have a initialization parameter MAX_STRING_SIZE to be able to use that

Datatype Limitations in Oracle

Oracle Technology Network

Oracle SQL Reference


Migrating from 11g to 12C


What is a Virtual Column

Restful Data Services


Column level Collation and case insensitive database

https://oracle-base.com/articles/12c/column-level-collation-and-case-insensitive-database-12cr2

Regular Expressions

Python References


How to Convert Camel Case to Snake Case or reverse in Python

CamelCase to Snake_Case Conversionin Python


Excel References




How do I know if a Vlookup returns a value?

Select cell B2, copy and paste formula =IF(ISNA(VLOOKUP(A2,$D$2:$D$185,1,FALSE)), "No", "Yes") into the Formula Bar, then press the Enter key. See screenshot: 2. Drag the Fill Handle down to the range you need to vlookup and return yes or no.



Excel funtion to truncate the column names to 29 characters + number if the name of the column repeats

Macro to create spaces in CamelCase names
<<Unity_Stage_Glossary_MACRO.xlsm>>

--Formula to rename stage tables
=IF(EXACT(LEFT(F2),UPPER(LEFT(F2))),"BT_"&F2,"CT_"&F2)

how to get table name from a string
=SUBSTITUTE(RIGHT(F2,LEN(F2)-3),"_Stg","")

how to match the values of 2 cells (case sensitive)
=(EXACT(H2,I2))




How to Call a Function in an Excel Cell

Overview - VBA in Excel

CamelCase to Snake_Case in Excel

Datawarehouse - Date dimension


Date Dimensions Generation Articles
MSSQL
Multiple Countries (Holidays and Fiscal Year Info)

PL/SQL Date Dimension


--Holiday in Date Dimension

Consider adding a special row for the unknown date or TBD date as well

Kimball for Time Dimensions

Various Data ModelingLinks



How to load facts - contd

https://stackoverflow.com/questions/21606750/is-there-a-concept-of-slowly-changing-fact-in-data-warehouse

https://it.toolbox.com/question/efficient-way-to-update-fact-tables-in-warehouse-101110

https://dwbi1.wordpress.com/2015/02/09/populating-fact-tables/

http://www.dbta.com/Columns/Database-Elaborations/Updating-Fact-Rows-In-a-Star-Schema-Set-of-Tables-is-Not-a-Good-Practice-118541.aspx

https://dwbi1.wordpress.com/2015/02/09/populating-fact-tables/


HR DataModel Sample from www.databaseanswers.org

Visit following site for details

Borrowed from : http://www.databaseanswers.org/data_models/hr_platform/index.htm

An Access Database is available. If you have any comments or suggestions I'd be glad to hear them.
The Specifications for the Data Model have been defined as an example of our Best Practice.


Conceptual Data Model
Conceptual Data Model for HR - Human Resources 


Our Approach :-
  • Step 1. Create a draft Conceptual Data Model to show the important 'Things of Interest'.
  • Step 2. Request Stakeholder feedback on the Conceptual Data Model.
  • Step 3. Update the Conceptual Data Model to reflect the Stakeholder feedback.
  • Step 4. Obtain Stakeholder agreement to the updated the Conceptual Data Model.
  • Step 5. Produce the cost estimate for Phase 1.
  • Step 6. Discuss the cost estimate with the Stakeholder.
  • Step 7. Plan the next Steps.

  • We agree with Stakeholders what are the most important
    functional areas that should appear in this High-level Data Model.

    Complete Layered Data Architecture 


    Dezign Logical Data Model



    ERwin Logical Data Model