Table MF_SectionMeetsAt

Card of table MF_SectionMeetsAt

Name

MF_SectionMeetsAt

Dimensional Type

Fact

Comment

Holds days/times when sections meet, and places where they meet.

This fact table is organized as a periodic snapshot, with rows representing ten minute increments, going on throughout the day.

It is based on data in Colleague about course meeting times and section begin/end dates. Since that data does not include information on days when classes are suspended (e.g., reading days), that information is not captured, and reading - and other such - days are treated as regular class days.

The key field in this table is percent of capacity for a given physical space. This value is snapshotted because a given room may potentially vary in capacity over time, depending on what renovation work is going on.

Technical details on populating MF_SectionMeetsAt fact table:

0) Look at the existing data in this MF_SectionMeetsAt table; find the date/time of the most recent row
1) Set our start datetime for extraction from ODS to the next time evenly divisible by ten minutes after that

2) Join section meeting dimension in ODS with X_DW_NIGHTLY_CRS_SECTION
3) Filter out non-active and non-primary sections
4) Take only sections whose start date is <= start datetime and whose end date is >= our start datetime
5) For each Room + start time + section combination:

a) Look up current section enrollment
b) Look up room capacity (not section capacity)
c) Calculate percent utilization (a / b)

6) Using the above data (a-c), starting with our start datetime and ending with the current datetime
as of the start of package execution,

a) Enter 3a-3c above into appropriate rows
b) Look up and store surrogate keys for
- Date
- Time
- Section
- Room
- Building
c) Add the audit key

7) At the end, delete rows from fact table where section is no longer active and/or primary

On potential uses of this fact table, and other tables associated with room usage, see:

http://www.provost.umich.edu/space/resources/classroom.html


Check constraint name of the table MF_SectionMeetsAt

CKT_MF_SECTIONMEETSAT


List of outgoing references of the table MF_SectionMeetsAt

Name

Parent Table

Foreign Key Columns

Relationship_77

MD_Section (Shortcut)

MD_Sect_SurrogateKey

Relationship_78

MD_Building (Shortcut)

MD_Building_SurrogateKey

Relationship_79

MD_Room (Shortcut)

MD_Room_SurrogateKey

Relationship_80

MD_Date (Shortcut)

MD_Date_DateInteger

Relationship_81

MD_Time (Shortcut)

MD_Time_TimeInteger

Relationship_82

MD_InstructionalMethod (Shortcut)

MD_InstMeth_SurrogateKey


List of diagrams containing the table MF_SectionMeetsAt

Name

StarsAcademicRecordDiagram


List of columns of the table MF_SectionMeetsAt

Name

Comment

Domain

Data Type

Length

MD_Sect_SurrogateKey

 

<None>

numeric

 

MD_Room_SurrogateKey

 

<None>

numeric

 

MD_Date_DateInteger

Integer representation of the date (e.g., 20070101 for 1 Jan 2007). Defaults to 99991231, for situations where a date is required but none is available.

DW_DateInteger

int

 

MD_Time_TimeInteger

Integer representing the time of day in the format HHMMSS (e.g., 23:01:01 at one minute one second after eleven o'clock in the evening). Not typically used for reporting.

Unlike MD_Date_Dateinteger (in MD_Date), this integer is not really human-readable, because it's not set up for base-10. Rather, it's calculated using the formula: (hour << 16) Or (min << 8) Or (sec), where the Or's are logical, and the << operator is a binary left shift.

<None>

int

 

MD_InstMeth_SurrogateKey

Unique identifier for instructional method. Used internally to the data warehouse. Generally should not be exposed to users, unless they are doing their own joining and querying.

<None>

numeric

 

MD_Building_SurrogateKey

 

<None>

numeric

 

MF_SectMeet_Enrollment

 

<None>

int

 

MF_SectMeet_Capacity

 

<None>

int

 

MF_SectMeet_PercentOfCapacity

 

<None>

float

 

MF_SectMeet_AuditKey

 

DW_AuditKey

bigint

 

MF_SectMeet_Timestamp

 

<None>

timestamp

 


List of indexes of the table MF_SectionMeetsAt

Name

Unique

Cluster

Primary

Foreign Key

Alternate Key

Table

MF_SECTIONMEETSAT_PK

TRUE

TRUE

TRUE

FALSE

FALSE

MF_SectionMeetsAt

RELATIONSHIP_78_FK

FALSE

FALSE

FALSE

TRUE

FALSE

MF_SectionMeetsAt

RELATIONSHIP_82_FK

FALSE

FALSE

FALSE

TRUE

FALSE

MF_SectionMeetsAt


List of keys of the table MF_SectionMeetsAt

Name

Identifier_1