SlideShare a Scribd company logo
1 of 57
Download to read offline
External Database
   Enrolments

         Alex Walker
   City of Glasgow College
The City of Glasgow College



 • Colleges in Scotland merging into
  regional super-colleges.
 • City of Glasgow College formed in
  2011, when three Glasgow city
  centre colleges merged.
The City of Glasgow College

     Bb
      8.0
                          m
                         1.9.8
                                              m
                                             1.9.8




469 Courses         672 Courses         609 Courses
628 Sta! Accounts   363 Sta! Accounts   157 Sta! Accounts
The City of Glasgow College

                m
                2.4.0




        3,932 Courses
       16,102 Active Users
The Merger


• Colleges merged in Summer 2011.
• We had to launch a new Moodle
 while every other IT system in the
 college was changing.
• New Novell login system, new
 student record system.
Plan A




Student
Record     LDAP    Moodle
System
Plan B


• Lots of IT systems changing at the
 same time made it hard to get time
 to discuss Plan A with the IT team.
• Too many ‘fringe use cases’ (e.g.
 students with multiple part-time
 courses).
Plan B


• Pull data from student record
 system into ‘middle man’ database.
• Use the database structure to
 manage enrolments.
• Gave our team much more control
 over enrolments.
Plan B




Student
           SQL
Record             Moodle
           DB
System
Plan B



• Moodle comes with several
 enrolment plugins.
• One lets you take enrolments from
 an external database.
Plan B
          Data gets       Exported in
          exported         a format
          from MIS.    Moodle understands




Student
                      SQL
Record                                Moodle
                      DB
System
Database Structure



• Required data exported from UNITe
 student record system.
• Relational database structure used
 to manage enrolments
Database Structure


• Students belong to the class group.
• Class groups get assigned to a
 course.
• Courses may be associated with one
 or more units.
Meta Link Mayhem


• Our database structure has its own
 meta-link system.
• Don’t do this! Use Moodle’s built-in
 meta-link facility.
• There were reasons we had to do
 this.
Meta Link Mayhem

• In Moodle 2, you can add users
 directly to metalinked courses. You
 couldn’t in Moodle 1.9.
• We were merging three Moodles,
 with thousands of courses and
 existing metalinks.
• mdl_course_metalink table was
 removed from Moodle 2.
Student Enrolments
  Data export                Lecturers add                Migrated
 from student                 cohorts to                  from old
   record sys.                  courses                   systems.




student › cohort             cohort › course             course › unit



                 city12345      HNDPHO         student
                 city12345     HNDPHO11        student
                 city12345     HNDPHO12        student



                               Moodle
Sta! Enrolments
   Data came                    Migrated
  from legacy                   from old
    systems.                    systems.




lecturer › course              course › unit



  awalker           HNDPHO          lecturer
  awalker           HNDPHO11        lecturer
  awalker           HNDPHO12        lecturer



                    Moodle
Getting Data from MIS


• Central College (Glasgow)
 developed a front-end for the Unit-e
 student record system, called
 Enquirer.
• Central College is now part of the
 City of Glasgow College.
• We get Enquirer for free.
Getting Data from MIS


• Enquirer generates a CSV of the
 student usernames and their class
 cohorts.
• This CSV is automatically picked up
 at midnight by our Moodle server,
 which adds these records to our
 enrolment database.
Getting Data into Moodle



• Moodle expects to read from one
 database table.
• We used a view to pull the sta! and
 student lists into one table.
Scalability


• 16,000 students.
• 20,000 student:cohort records.
• 1,500 cohorts added to top level
 courses.
• About 30 ‘All Student’ courses
 x 16,000 students = 480,000 rows!
Scalability


• Entire view contains 715,604 rows.
• Takes 5 seconds to generate.
• Moodle generates this view every
 time a user logs in.
• During peak times, Moodle was slow
 and unreliable.
Scalability
Scalability


• Cache the contents of the view in a
 regular table.
• Index the username column to
 speed up Moodle’s query.
• Update the cache regularly with the
 latest contents of the view.
Scalability


• select * from allEnrolments
 where username=“awalker”
 3.03 seconds
• select * from cachedEnrolments
 where username=“awalker”
 0.01 seconds
Administration


• When using the SQL database, only
 the developer could look into issues
 or change enrolments.
• Wrote a front-end, allowing the
 Learning Technologists to modify
 and troubleshoot enrolment issues.
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Building Finder 2.0


• Finder can’t be easily released,
 because it’s tightly tied to our
 custom enrolment database.
• Work has just started on Finder 2.0,
 which is modular and can be
 released for those just using
 Moodle.
Building Finder 2.0

• Renamed ‘Finder’ to ‘Inspector’.
• More detailed reporting tools.
• ‘Course info panels’ to show number
 of assignments, forum posts and
 "les in a course.
• New ‘Timeline’ feature to see what a
 user has done, or what’s done on a
 course.
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Finder Tool
Advantages


• Latest enrolment data automatically
 pulled from MIS every night.
• Lecturers can add students to their
 courses themselves, by cohort.
• New students automatically see
 their courses when they log in for
 the "rst time.
Advantages

• Non-developers have the power to
 check, modify and troubleshoot
 enrolment issues.
• Learning technologists have the
 power to check and "x issues
 themselves.
• No waiting for a developer to check
 issues.
• Developer able to take holidays.
Disadvantages

• Lecturers and students don’t show
 up on list of participants until they
 log in for the "rst time.
• Newly enrolled users won’t show up
 until the next time they log in.
• Can’t manage database enrolments
 through Moodle. Have to edit them
 at the database level.
Finder Tool
Disadvantages


• ‘Yet another system’ for Learning
 Technologists to use.
• New Learning Technologists already
 familiar with Moodle still have to
 learn Finder.
• Requires a developer in-house to
 oversee and manage.
Future Improvements


• Working on Finder 2.0 (Inspector),
 with a greater emphasis on reports
 and a smoother work#ow.
• Get rid of meta links at the database
 level. Use Moodle’s meta links, or
 don’t use them at all.
Questions

      Alex Walker
City of Glasgow College

More Related Content

Similar to Enrolments using external database

Theming moodle for integration and usability
Theming moodle for integration and usabilityTheming moodle for integration and usability
Theming moodle for integration and usability
Alex Walker
 
Exam View Presentation: JISC Sharing Stories September 2012
Exam View Presentation: JISC Sharing Stories September 2012Exam View Presentation: JISC Sharing Stories September 2012
Exam View Presentation: JISC Sharing Stories September 2012
Alex Walker
 
Cpd25 Moodle at LSE: Library support issues
Cpd25 Moodle at LSE: Library support issuesCpd25 Moodle at LSE: Library support issues
Cpd25 Moodle at LSE: Library support issues
Jane Secker
 
Texas Rangers to the rescue: turning your VLE into an exam centre
Texas Rangers to the rescue: turning your VLE into an exam centreTexas Rangers to the rescue: turning your VLE into an exam centre
Texas Rangers to the rescue: turning your VLE into an exam centre
BlackboardEMEA
 

Similar to Enrolments using external database (20)

Theming moodle for integration and usability
Theming moodle for integration and usabilityTheming moodle for integration and usability
Theming moodle for integration and usability
 
SIMS DCM123.pptxdy tyryjhrnsrthrthrthrthrthrtr
SIMS DCM123.pptxdy tyryjhrnsrthrthrthrthrthrtrSIMS DCM123.pptxdy tyryjhrnsrthrthrthrthrthrtr
SIMS DCM123.pptxdy tyryjhrnsrthrthrthrthrthrtr
 
Exam View Presentation: JISC Sharing Stories September 2012
Exam View Presentation: JISC Sharing Stories September 2012Exam View Presentation: JISC Sharing Stories September 2012
Exam View Presentation: JISC Sharing Stories September 2012
 
StudyNet New Features for 2013-14
StudyNet New Features for 2013-14StudyNet New Features for 2013-14
StudyNet New Features for 2013-14
 
Mootie13 Moving to moodle 2.3 from 1.9 - our experience bridging the gap
Mootie13 Moving to moodle 2.3 from 1.9 - our experience bridging the gapMootie13 Moving to moodle 2.3 from 1.9 - our experience bridging the gap
Mootie13 Moving to moodle 2.3 from 1.9 - our experience bridging the gap
 
Virginia tech's transition to sakai
Virginia tech's transition to sakaiVirginia tech's transition to sakai
Virginia tech's transition to sakai
 
Cpd25 Moodle at LSE: Library support issues
Cpd25 Moodle at LSE: Library support issuesCpd25 Moodle at LSE: Library support issues
Cpd25 Moodle at LSE: Library support issues
 
Moodle user group 27 02-14
Moodle user group 27 02-14Moodle user group 27 02-14
Moodle user group 27 02-14
 
Mootie13 moodle 2 to move or not to move - wissam nahas
Mootie13 moodle 2   to move or not to move - wissam nahasMootie13 moodle 2   to move or not to move - wissam nahas
Mootie13 moodle 2 to move or not to move - wissam nahas
 
BbW2012 - LN
BbW2012 - LNBbW2012 - LN
BbW2012 - LN
 
Concept: Intelli-Seats by The A-Team
Concept: Intelli-Seats by The A-Team Concept: Intelli-Seats by The A-Team
Concept: Intelli-Seats by The A-Team
 
Texas Rangers to the rescue: turning your VLE into an exam centre
Texas Rangers to the rescue: turning your VLE into an exam centreTexas Rangers to the rescue: turning your VLE into an exam centre
Texas Rangers to the rescue: turning your VLE into an exam centre
 
Making the Big Move: Moving to Cloud-Based OCLC’s WorldShare Management Servi...
Making the Big Move: Moving to Cloud-Based OCLC’s WorldShare Management Servi...Making the Big Move: Moving to Cloud-Based OCLC’s WorldShare Management Servi...
Making the Big Move: Moving to Cloud-Based OCLC’s WorldShare Management Servi...
 
Hadoop infrastructure for education
Hadoop infrastructure for educationHadoop infrastructure for education
Hadoop infrastructure for education
 
QSA Assessment Conference 2012
QSA Assessment Conference 2012QSA Assessment Conference 2012
QSA Assessment Conference 2012
 
Moving to moodle 2 gregynog 2012
Moving to moodle 2 gregynog 2012Moving to moodle 2 gregynog 2012
Moving to moodle 2 gregynog 2012
 
Synopsis for DBMS.pptx
Synopsis for DBMS.pptxSynopsis for DBMS.pptx
Synopsis for DBMS.pptx
 
Moving a large university online in 9 years: laying the foundation for blend...
Moving a large university online in 9 years:  laying the foundation for blend...Moving a large university online in 9 years:  laying the foundation for blend...
Moving a large university online in 9 years: laying the foundation for blend...
 
Crowdsourcing the Maintenance of E-Resource Metadata: How WorldCat Knowledge ...
Crowdsourcing the Maintenance of E-Resource Metadata: How WorldCat Knowledge ...Crowdsourcing the Maintenance of E-Resource Metadata: How WorldCat Knowledge ...
Crowdsourcing the Maintenance of E-Resource Metadata: How WorldCat Knowledge ...
 
SRMS-FINAL 3.pptx
SRMS-FINAL 3.pptxSRMS-FINAL 3.pptx
SRMS-FINAL 3.pptx
 

Enrolments using external database

  • 1. External Database Enrolments Alex Walker City of Glasgow College
  • 2. The City of Glasgow College • Colleges in Scotland merging into regional super-colleges. • City of Glasgow College formed in 2011, when three Glasgow city centre colleges merged.
  • 3. The City of Glasgow College Bb 8.0 m 1.9.8 m 1.9.8 469 Courses 672 Courses 609 Courses 628 Sta! Accounts 363 Sta! Accounts 157 Sta! Accounts
  • 4. The City of Glasgow College m 2.4.0 3,932 Courses 16,102 Active Users
  • 5. The Merger • Colleges merged in Summer 2011. • We had to launch a new Moodle while every other IT system in the college was changing. • New Novell login system, new student record system.
  • 6. Plan A Student Record LDAP Moodle System
  • 7. Plan B • Lots of IT systems changing at the same time made it hard to get time to discuss Plan A with the IT team. • Too many ‘fringe use cases’ (e.g. students with multiple part-time courses).
  • 8. Plan B • Pull data from student record system into ‘middle man’ database. • Use the database structure to manage enrolments. • Gave our team much more control over enrolments.
  • 9. Plan B Student SQL Record Moodle DB System
  • 10. Plan B • Moodle comes with several enrolment plugins. • One lets you take enrolments from an external database.
  • 11. Plan B Data gets Exported in exported a format from MIS. Moodle understands Student SQL Record Moodle DB System
  • 12. Database Structure • Required data exported from UNITe student record system. • Relational database structure used to manage enrolments
  • 13. Database Structure • Students belong to the class group. • Class groups get assigned to a course. • Courses may be associated with one or more units.
  • 14. Meta Link Mayhem • Our database structure has its own meta-link system. • Don’t do this! Use Moodle’s built-in meta-link facility. • There were reasons we had to do this.
  • 15. Meta Link Mayhem • In Moodle 2, you can add users directly to metalinked courses. You couldn’t in Moodle 1.9. • We were merging three Moodles, with thousands of courses and existing metalinks. • mdl_course_metalink table was removed from Moodle 2.
  • 16. Student Enrolments Data export Lecturers add Migrated from student cohorts to from old record sys. courses systems. student › cohort cohort › course course › unit city12345 HNDPHO student city12345 HNDPHO11 student city12345 HNDPHO12 student Moodle
  • 17. Sta! Enrolments Data came Migrated from legacy from old systems. systems. lecturer › course course › unit awalker HNDPHO lecturer awalker HNDPHO11 lecturer awalker HNDPHO12 lecturer Moodle
  • 18.
  • 19. Getting Data from MIS • Central College (Glasgow) developed a front-end for the Unit-e student record system, called Enquirer. • Central College is now part of the City of Glasgow College. • We get Enquirer for free.
  • 20. Getting Data from MIS • Enquirer generates a CSV of the student usernames and their class cohorts. • This CSV is automatically picked up at midnight by our Moodle server, which adds these records to our enrolment database.
  • 21. Getting Data into Moodle • Moodle expects to read from one database table. • We used a view to pull the sta! and student lists into one table.
  • 22. Scalability • 16,000 students. • 20,000 student:cohort records. • 1,500 cohorts added to top level courses. • About 30 ‘All Student’ courses x 16,000 students = 480,000 rows!
  • 23. Scalability • Entire view contains 715,604 rows. • Takes 5 seconds to generate. • Moodle generates this view every time a user logs in. • During peak times, Moodle was slow and unreliable.
  • 25. Scalability • Cache the contents of the view in a regular table. • Index the username column to speed up Moodle’s query. • Update the cache regularly with the latest contents of the view.
  • 26. Scalability • select * from allEnrolments where username=“awalker” 3.03 seconds • select * from cachedEnrolments where username=“awalker” 0.01 seconds
  • 27. Administration • When using the SQL database, only the developer could look into issues or change enrolments. • Wrote a front-end, allowing the Learning Technologists to modify and troubleshoot enrolment issues.
  • 41. Building Finder 2.0 • Finder can’t be easily released, because it’s tightly tied to our custom enrolment database. • Work has just started on Finder 2.0, which is modular and can be released for those just using Moodle.
  • 42. Building Finder 2.0 • Renamed ‘Finder’ to ‘Inspector’. • More detailed reporting tools. • ‘Course info panels’ to show number of assignments, forum posts and "les in a course. • New ‘Timeline’ feature to see what a user has done, or what’s done on a course.
  • 51. Advantages • Latest enrolment data automatically pulled from MIS every night. • Lecturers can add students to their courses themselves, by cohort. • New students automatically see their courses when they log in for the "rst time.
  • 52. Advantages • Non-developers have the power to check, modify and troubleshoot enrolment issues. • Learning technologists have the power to check and "x issues themselves. • No waiting for a developer to check issues. • Developer able to take holidays.
  • 53. Disadvantages • Lecturers and students don’t show up on list of participants until they log in for the "rst time. • Newly enrolled users won’t show up until the next time they log in. • Can’t manage database enrolments through Moodle. Have to edit them at the database level.
  • 55. Disadvantages • ‘Yet another system’ for Learning Technologists to use. • New Learning Technologists already familiar with Moodle still have to learn Finder. • Requires a developer in-house to oversee and manage.
  • 56. Future Improvements • Working on Finder 2.0 (Inspector), with a greater emphasis on reports and a smoother work#ow. • Get rid of meta links at the database level. Use Moodle’s meta links, or don’t use them at all.
  • 57. Questions Alex Walker City of Glasgow College