Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar...

18
CRIMEWATCH CONSULTING, INC. Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala

Transcript of Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar...

Page 1: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

CRIMEWATCH CONSULTING, INC.Presentation 3: Cube and DW Implementation

• Adwait Mulye• Yuga Pawar• Floyd J. Srubar• Vidyasagar Velamala

Page 2: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

Brief Overview: A More Simplified Dimensional Model

Facts from Presentation 2 Were Too Complex○ They have been re-designed for use in a DW.○ Over 10,000 Records Were Found Having Inconsistencies

Responsible For Errors in SQL Server Analysis Services Incorrect FK entries Null values in FK fields They were deleted to save time and space.

Dimensions Have Been Altered Slightly○ A redefined scope for our DW

The Police Department organizational hierarchies were found to be beyond the scope of the original intent of the DW, and were replaced.

The focus of this DW will be “Neighborhood Crime Statistics”, and the various dimensions that relate to these facts, which should still provide adequate information to consumers of our DW. (Star Schema)

Page 3: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

Brief OverviewBrief Discussion of the New Dimensional Model

○ View the Diagram○ Discuss Relevant Dimension Table Changes

Specific Applications of the Data Warehouse Information○ [Location] x [Offense Type] x [Time of Day]

AM

○ [Location] x [Date] x [Premises]VV

○ [Location] x [Date] x [Offense Type]YP

○ [Time of Day] x [Premises] x [Offense Type]FJS

Page 4: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

REVISED DIMENSIONAL MODEL

Page 5: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

A New Dimensional Model: [Star Schema]

Page 6: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

Relevant Change Information

DimDateNow allows us to determine many useful

date measures in the DW reporting.○ Day of Week○ Day of Month○ Week of Month○ Week of Year○ Quarter of Year○ Weekend Days

Page 7: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

Relevant Change Information DimTimeOfDay

Allows for determination of common times of day based on the ‘Hour’ field from the fact table.○ Overnight [12AM – 5AM]○ Mornings [5AM – 12PM]○ Afternoons [12PM – 5PM]○ Evenings [5PM – 12AM]

Page 8: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

Relevant Change Information DimLocations (new Dimension)

Still refers to block ranges and streets, but offers more DW report generation flexibility.

Allows for measurement by the concatenated block range and street○ (e.g. 1200-1299 Bay Area)

Or…Entire Street with all block ranges○ (e.g. Bay Area, with “All” block ranges selected)

Or…Selected disjointed block ranges○ (e.g. 2600-2699 Bay Area [AND] 2800-2899 Bay

Area)

Page 9: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

SPECIFIC DW APPLICATIONS

Page 10: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

Rough View of The Cube!

Page 11: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

[Location] x [Offense Type] x [Time Of Day]

Relationships that make this possible

Page 12: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

[Location] x [Offense Type] x [Time Of Day]

And now…In SQL Server Analysis Services!

Page 13: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

[Location] x [Date] x [Premises]

Relationships that make this possible

Page 14: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

[Location] x [Date] x [Premises]

And now…In SQL Server Analysis Services!

Page 15: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

[Location] x [Date] x [Offense Type] Relationships that make this possible

Page 16: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

[Location] x [Date] x [Offense Type] And now…In SQL Server Analysis

Services!

Page 17: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

[Time of Day] x [Premises] x [Offense Type]

Relationships that make this possible

Page 18: Presentation 3: Cube and DW Implementation Adwait Mulye Yuga Pawar Floyd J. Srubar Vidyasagar Velamala.

[Time of Day] x [Premises] x [Offense Type]

And now…In SQL Server Analysis Services!