18
Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland, Baltimore County

Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

Embed Size (px)

Citation preview

Page 1: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

Why and How UMBC Publishes Its Most Active Bb

Courses Report

Jeffrey Berman

Graduate Assistant, Instructional Technology and New Media

University of Maryland, Baltimore County

Page 2: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

Agenda

• What The Databases Are Used For

• Process For Running Reports

• Methods We Used

• Sample Queries

• Future of UMBC Reporting

Page 3: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

What The Database Is Used For

• Blackboard Reports– Most Active Courses/Communities

(Hits Per User)– Number of Active Courses Per Discipline– Tool Usage (System Wide and Per Course)– Most Active Users

• myUMBC What’s New– Checks for recent activity in

announcements/discussion boards

Page 4: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,
Page 5: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,
Page 6: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

Process For Running Reports

• Connect to a Data Source

• PHP Script

• Uses PDO (PHP Data Objects)– Data-access abstraction layer

• Data is written to an array in PHP

• Array is parsed, and formatted into a table

• Table is then cached as an html page

Page 7: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

First Method (Production Queries)

Blackboard(Production) Queries

(PHP Scripts)

Cached Reports

Page 8: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

First Method (Production Queries)

• Pros– Contained current semester data

• As opposed to 6 month gap with the Stats Db

– Data was guaranteed to be up-to-date.

• Cons– Large queries could take down Blackboard

Page 9: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

Blackboard(Clone) Queries

(PHP Scripts)

Cached Reports

Second Method (Cloned Database)

Blackboard(Production)

Updated with changed

transactions every 4 minutes

Page 10: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

Second Method (Cloned Database)

• Pros– Could query current semester data with

minimal impact on production– Data was close to up-to-date (no more than 4

minute delay)

• Cons– Cloning process inserted extra columns– Replication service broke numerous times

limiting query accuracy

Page 11: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

Third Method (Static Replica)

Blackboard(Static Replica) Queries

(PHP Scripts)

Cached ReportsBlackboard(Production)

Complete copy of database made

infrequently, but as needed for reports

Page 12: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

Third Method (Static Replica)

• Pros– Can query current semester data with no

impact on production– Data is up-to-date (at time of the static copy)

• Cons– Requires a manual process to make the static

copy– Need to know in advance when we want to

run queries– Will not allow myUMBC What’s New to run as

it needs continually up-to-date data

Page 13: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

Most Active CoursesSELECT TOP 50 count(a.event_type) as Hits,

count(DISTINCT a.USER_PK1) as Users,count(a.event_type) / count(DISTINCT a.USER_PK1) as HitsPerUser,

c.course_id as CourseID, c.course_name as CourseNameFROM activity_accumulator a, course_main c, course_users d, users uWHERE c.course_id LIKE '%FA2007' AND a.event_type = 'COURSE_ACCESS' AND a.course_pk1 = c.pk1 AND a.user_pk1 = u.pk1 AND c.pk1 = d.crsmain_pk1 AND d.users_pk1 = u.pk1 AND d.role = 'S'GROUP BY c.course_name, c.course_idORDER BY count(a.event_type) / count(DISTINCT a.USER_PK1) DESC

Page 14: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,
Page 15: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

System Tool UsageSELECT

count(*) as Hits,a.internal_handle as Tool

FROMactivity_accumulator a, course_main c, users u, course_users d

WHEREa.event_type = 'COURSE_ACCESS‘ ANDa.course_pk1 = c.pk1 ANDa.user_pk1 = u.pk1 ANDd.crsmain_pk1 = c.pk1 ANDd.users_pk1 = u.pk1 ANDc.course_id LIKE '%FA2007'

GROUP BYa.internal_handle

ORDER BYcount(*) DESC

Page 16: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,
Page 17: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

Recent Updates

• Use of Delivered Stats Database– (on replica)

• Live (Self-Service) Queries– Tool Usage Per Course– Grade Distribution Per Course

• Deep Link Generator

Page 18: Why and How UMBC Publishes Its Most Active Bb Courses Report Jeffrey Berman Graduate Assistant, Instructional Technology and New Media University of Maryland,

Future of UMBC Reporting

• Tool Usage for All Courses

• Tool Usage for 3rd Party Tools– Learning Objects, Wimba

• Fully Implement myUMBC Blackboard Integration