Tables


SchemaSpy Analysis of Moodle 3.3

Generated on Thu Aug 24 21:22 GMT 2017

XML Representation

Database Properties

Database Type: MySQL - 5.7.19

Tables

Table / View Children Parents Columns Rows Type Comments
assign 10 0 29 -1 Table

This table saves information about an instance of mod_assign in a course.

assign_grades 4 2 8 -1 Table

Grading information about a single assignment submission.

assign_overrides 0 3 8 -1 Table

The overrides to assign settings.

assign_plugin_config 0 1 6 -1 Table

Config data for an instance of a plugin in an assignment.

assign_submission 2 2 9 -1 Table

This table keeps information about student interactions with the mod/assign. This is limited to metadata about a student submission but does not include the submission itself which is stored by plugins.

assign_user_flags 0 2 8 -1 Table

List of flags that can be set for a single user in a single assignment.

assign_user_mapping 0 2 3 -1 Table

Map an assignment specific id number to a user

assignfeedback_comments 0 2 5 -1 Table

Text feedback for submitted assignments

assignfeedback_editpdf_annot 0 1 11 -1 Table

stores annotations added to pdfs submitted by students

assignfeedback_editpdf_cmnt 0 1 9 -1 Table

Stores comments added to pdfs

assignfeedback_editpdf_queue 0 0 3 -1 Table

Queue for processing.

assignfeedback_editpdf_quick 0 1 5 -1 Table

Stores teacher specified quicklist comments

assignfeedback_file 0 2 4 -1 Table

Stores info about the number of files submitted by a student.

assignment 1 0 19 -1 Table

Defines assignments

assignment_submissions 0 2 14 -1 Table

Info about submitted assignments

assignment_upgrade 0 0 6 -1 Table

Info about upgraded assignments

assignsubmission_file 0 2 4 -1 Table

Info about file submissions for assignments

assignsubmission_onlinetext 0 2 5 -1 Table

Info about onlinetext submission

auth_oauth2_linked_login 0 3 10 -1 Table

Accounts linked to a users Moodle account.

backup_controllers 1 1 16 -1 Table

To store the backup_controllers as they are used

backup_courses 0 1 6 -1 Table

To store every course backup status

backup_logs 0 1 5 -1 Table

To store all the logs from backup and restore operations (by db logger)

badge 3 3 20 -1 Table

Defines badge

badge_backpack 1 1 7 -1 Table

Defines settings for connecting external backpack

badge_criteria 2 1 6 -1 Table

Defines criteria for issuing badges

badge_criteria_met 0 3 5 -1 Table

Defines criteria that were met for an issued badge

badge_criteria_param 0 1 4 -1 Table

Defines parameters for badges criteria

badge_external 0 1 3 -1 Table

Setting for external badges display

badge_issued 1 2 8 -1 Table

Defines issued badges

badge_manual_award 0 4 6 -1 Table

Track manual award criteria for badges

block 0 0 5 -1 Table

contains all installed blocks

block_community 0 1 6 -1 Table

Community block

block_instances 4 1 10 -1 Table

This table stores block instances. The type of block this is is given by the blockname column. The places this block instance appears is controlled by the parentcontexid, showinsubcontexts, pagetypepattern and subpagepattern fields. Where the block appears on the page (by default) is controlled by the defaultposition and defaultweight columns. The block's own configuration is stored serialized in configdata.

block_positions 0 2 8 -1 Table

Stores the position of a sticky block_instance on a another page than the one where it was added.

block_recent_activity 0 2 7 -1 Table

Recent activity block

block_rss_client 0 1 9 -1 Table

Remote news feed information. Contains the news feed id, the userid of the user who added the feed, the title of the feed itself and a description of the feed contents along with the url used to access the remote feed. Preferredtitle is a field for future use - intended to allow for custom titles rather than those found in the feed

block_zoola_reports 0 1 5 -1 Table

Reports configured in this block instance

block_zoola_reports_cohort 0 2 3 -1 Table

Cohorts that can access this block instance

block_zoola_reports_user 0 2 3 -1 Table

Users that can access this block instance

blog_association 0 2 3 -1 Table

Associations of blog entries with courses and module instances

blog_external 0 1 9 -1 Table

External blog links used for RSS copying of blog entries to Moodle user blogs

book 1 0 11 -1 Table

Defines book

book_chapters 0 1 11 -1 Table

Defines book_chapters

cache_filters 0 0 6 -1 Table

For keeping information about cached data

cache_flags 0 0 6 -1 Table

Cache of time-sensitive flags

capabilities 1 0 6 -1 Table

this defines all capabilities

chat 3 0 10 -1 Table

Each of these is a chat room

chat_messages 0 2 7 -1 Table

Stores all the actual chat messages

chat_messages_current 0 2 7 -1 Table

Stores current session

chat_users 0 1 12 -1 Table

Keeps track of which users are in which chat rooms

choice 2 0 18 -1 Table

Available choices are stored here

choice_answers 0 3 5 -1 Table

choices performed by users

choice_options 1 1 5 -1 Table

available options to choice

cohort 4 1 10 -1 Table

Each record represents one cohort (aka site-wide group).

cohort_members 0 2 4 -1 Table

Link a user to a cohort.

comments 0 2 9 -1 Table

moodle comments module

competency 9 1 17 -1 Table

This table contains the master record of each competency in a framework

competency_coursecomp 0 2 8 -1 Table

Link a competency to a course.

competency_coursecompsetting 0 1 6 -1 Table

This table contains the course specific settings for competencies.

competency_evidence 0 2 14 -1 Table

The evidence linked to a user competency

competency_framework 0 1 13 -1 Table

List of competency frameworks.

competency_modulecomp 0 2 8 -1 Table

Link a competency to a module.

competency_plan 0 1 13 -1 Table

Learning plans

competency_plancomp 0 1 7 -1 Table

Plan competencies

competency_relatedcomp 0 1 6 -1 Table

Related competencies

competency_template 1 1 10 -1 Table

Learning plan templates.

competency_templatecohort 0 1 6 -1 Table

Default comment for the table, please edit me

competency_templatecomp 0 2 7 -1 Table

Link a competency to a learning plan template.

competency_usercomp 0 2 10 -1 Table

User competencies

competency_usercompcourse 0 3 9 -1 Table

User competencies in a course

competency_usercompplan 0 2 10 -1 Table

User competencies plans

competency_userevidence 0 1 9 -1 Table

The evidence of prior learning

competency_userevidencecomp 0 2 6 -1 Table

Relationship between user evidence and competencies

config 0 0 3 -1 Table

Moodle configuration variables

config_log 0 1 7 -1 Table

Changes done in server configuration through admin UI

config_plugins 0 0 4 -1 Table

Moodle modules and plugins configuration variables

context 29 0 5 -1 Table

one of these must be set

context_temp 0 0 3 -1 Table

Used by build_context_path() in upgrade and cron to keep context depths and paths in sync.

course 54 1 31 -1 Table

Central course table

course_categories 3 1 14 -1 Table

Course categories

course_completion_aggr_methd 0 1 5 -1 Table

Course completion aggregation methods for criteria

course_completion_crit_compl 0 3 7 -1 Table

Course completion user records

course_completion_criteria 1 3 10 -1 Table

Course completion criteria

course_completion_defaults 0 2 8 -1 Table

Default settings for activities completion

course_completions 0 2 7 -1 Table

Course completion records

course_format_options 0 1 6 -1 Table

Stores format-specific options for the course or course section

course_modules 4 3 21 -1 Table

course_modules table retrofitted from MySQL

course_modules_completion 0 2 6 -1 Table

Stores the completion state (completed or not completed, etc) of each user on each activity.

course_published 0 1 8 -1 Table

Information about how and when an local courses were published to hubs

course_request 0 0 9 -1 Table

course requests

course_sections 0 0 9 -1 Table

to define the sections for each course

data 2 0 37 -1 Table

all database activities

data_content 0 2 8 -1 Table

the content introduced in each record/fields

data_fields 1 1 16 -1 Table

every field available

data_records 1 2 7 -1 Table

every record introduced

editor_atto_autosave 0 2 9 -1 Table

Draft text that is auto-saved every 5 seconds while an editor is open.

enrol 2 2 35 -1 Table

Instances of enrolment plugins used in courses, fields marked as custom have a plugin defined meaning, core does not touch them. Create a new linked table if you need even more custom fields.

enrol_flatfile 0 3 8 -1 Table

enrol_flatfile table retrofitted from MySQL

enrol_lti_lti2_consumer 5 0 19 -1 Table

LTI consumers interacting with moodle

enrol_lti_lti2_context 1 1 7 -1 Table

Information about a specific LTI contexts from the consumers

enrol_lti_lti2_nonce 0 1 4 -1 Table

Nonce used for authentication between moodle and a consumer

enrol_lti_lti2_resource_link 2 3 9 -1 Table

Link from the consumer to the tool

enrol_lti_lti2_share_key 0 0 5 -1 Table

Resource link share key

enrol_lti_lti2_tool_proxy 0 1 6 -1 Table

A tool proxy between moodle and a consumer

enrol_lti_lti2_user_result 0 1 6 -1 Table

Results for each user for each resource link

enrol_lti_tool_consumer_map 0 2 3 -1 Table

Table that maps the published tool to tool consumers.

enrol_lti_tools 2 2 19 -1 Table

List of tools provided to the remote system

enrol_lti_users 0 2 12 -1 Table

User access log and gradeback data

enrol_paypal 0 2 21 -1 Table

Holds all known information about PayPal transactions

event 0 2 21 -1 Table

For everything with a time associated to it

event_subscriptions 0 2 9 -1 Table

Tracks subscriptions to remote calendars.

events_handlers 1 0 8 -1 Table

This table is for storing which components requests what type of event, and the location of the responsible handlers. For example, the assignment registers 'grade_updated' event with a function assignment_grade_handler() that should be called event time an 'grade_updated' event is triggered by grade_update() function.

events_queue 1 1 5 -1 Table

This table is for storing queued events. It stores only one copy of the eventdata here, and entries from this table are being references by the event_queue_handlers table.

events_queue_handlers 0 2 6 -1 Table

This is the list of queued handlers for processing. The event object is retrieved from the events_queue table. When no further reference is made to the event_queues table, the corresponding entry in the events_queue table should be deleted. Entry should get deleted after a successful event processing by the specified handler.

external_functions 0 0 8 -1 Table

list of all external functions

external_services 3 0 11 -1 Table

built in and custom external services

external_services_functions 0 1 3 -1 Table

lists functions available in each service group

external_services_users 0 2 6 -1 Table

users allowed to use services with restricted users flag

external_tokens 0 4 13 -1 Table

Security tokens for accessing of external services

feedback 4 0 17 -1 Table

all feedbacks

feedback_completed 0 3 7 -1 Table

filled out feedback

feedback_completedtmp 0 3 8 -1 Table

filled out feedback

feedback_item 2 2 13 -1 Table

feedback_items

feedback_sitecourse_map 0 2 3 -1 Table

feedback sitecourse map

feedback_template 1 0 4 -1 Table

templates of feedbackstructures

feedback_value 0 1 6 -1 Table

values of the completeds

feedback_valuetmp 0 1 6 -1 Table

values of the completedstmp

file_conversion 0 2 11 -1 Table

Table to track file conversions.

files 2 3 20 -1 Table

description of files, content is stored in sha1 file pool

files_reference 1 1 5 -1 Table

Store files references

filter_active 0 1 5 -1 Table

Stores information about which filters are active in which contexts. Also the filter sort order. See get_active_filters in lib/filterlib.php for how this data is used.

filter_config 0 1 5 -1 Table

Stores per-context configuration settings for filters which have them.

folder 0 0 10 -1 Table

each record is one folder resource

forum 6 0 25 -1 Table

Forums contain and structure discussion

forum_digests 0 2 4 -1 Table

Keeps track of user mail delivery preferences for each forum

forum_discussion_subs 0 3 5 -1 Table

Users may choose to subscribe and unsubscribe from specific discussions.

forum_discussions 3 2 13 -1 Table

Forums are composed of discussions

forum_posts 2 3 14 -1 Table

All posts are stored in this table

forum_queue 0 3 5 -1 Table

For keeping track of posts that will be mailed in digest form

forum_read 0 3 7 -1 Table

Tracks each users read posts

forum_subscriptions 0 2 3 -1 Table

Keeps track of who is subscribed to what forum

forum_track_prefs 0 2 3 -1 Table

Tracks each users untracked forums

glossary 2 0 28 -1 Table

all glossaries

glossary_alias 0 1 3 -1 Table

entries alias

glossary_categories 1 1 4 -1 Table

all categories for glossary entries

glossary_entries 2 2 16 -1 Table

all glossary entries

glossary_entries_categories 0 2 3 -1 Table

categories of each glossary entry

glossary_formats 0 0 10 -1 Table

Setting of the display formats

grade_categories 5 2 14 -1 Table

This table keeps information about categories, used for grouping items.

grade_categories_history 0 4 18 -1 Table

History of grade_categories

grade_grades 1 4 23 -1 Table

grade_grades This table keeps individual grades for each user and each item, exactly as imported or submitted by modules. The rawgrademax/min and rawscaleid are stored here to record the values at the time the grade was stored, because teachers might change this for an activity! All the results are normalised/resampled for the final grade value.

grade_grades_history 0 6 24 -1 Table

History table

grade_import_newitem 1 1 4 -1 Table

temporary table for storing new grade_item names from grade import

grade_import_values 0 4 9 -1 Table

Temporary table for importing grades

grade_items 4 4 31 -1 Table

This table keeps information about gradeable items (ie columns). If an activity (eg an assignment or quiz) has multiple grade_items associated with it (eg several outcomes or numerical grades), then there will be a corresponding multiple number of rows in this table.

grade_items_history 0 6 34 -1 Table

History of grade_items

grade_letters 0 1 4 -1 Table

Repository for grade letters, for courses and other moodle entities that use grades.

grade_outcomes 4 3 10 -1 Table

This table describes the outcomes used in the system. An outcome is a statement tied to a rubric scale from low to high, such as “Not met, Borderline, Met” (stored as 0,1 or 2)

grade_outcomes_courses 0 2 3 -1 Table

stores what outcomes are used in what courses.

grade_outcomes_history 0 4 12 -1 Table

History table

grade_settings 0 1 4 -1 Table

gradebook settings

grading_areas 1 1 5 -1 Table

Identifies gradable areas where advanced grading can happen. For each area, the current active plugin can be set.

grading_definitions 4 3 14 -1 Table

Contains the basic information about an advanced grading form defined in the given gradable area

grading_instances 2 2 9 -1 Table

Grading form instance is an assessment record for one gradable item assessed by one rater

gradingform_guide_comments 0 1 5 -1 Table

frequently used comments used in marking guide

gradingform_guide_criteria 1 1 9 -1 Table

Stores the rows of the criteria grid.

gradingform_guide_fillings 0 2 6 -1 Table

Stores the data of how the guide is filled by a particular rater

gradingform_rubric_criteria 2 1 5 -1 Table

Stores the rows of the rubric grid.

gradingform_rubric_fillings 0 2 6 -1 Table

Stores the data of how the rubric is filled by a particular rater

gradingform_rubric_levels 0 1 5 -1 Table

Stores the columns of the rubric grid.

groupings 2 1 9 -1 Table

A grouping is a collection of groups. WAS: groups_groupings

groupings_groups 0 2 4 -1 Table

Link a grouping to a group (note, groups can be in multiple groupings ONLY in a course). WAS: groups_groupings_groups

groups 5 1 11 -1 Table

Each record represents a group.

groups_members 0 2 6 -1 Table

Link a user to a group.

imscp 0 0 9 -1 Table

each record is one imscp resource

label 0 0 6 -1 Table

Defines labels

lesson 7 0 42 -1 Table

Defines lesson

lesson_answers 1 2 13 -1 Table

Defines lesson_answers

lesson_attempts 0 4 9 -1 Table

Defines lesson_attempts

lesson_branch 0 3 8 -1 Table

branches for each lesson/user

lesson_grades 0 2 6 -1 Table

Defines lesson_grades

lesson_overrides 0 3 11 -1 Table

The overrides to lesson settings.

lesson_pages 3 1 13 -1 Table

Defines lesson_pages

lesson_timer 0 2 7 -1 Table

lesson timer for each lesson

license 0 0 6 -1 Table

store licenses used by moodle

local_ld_course 2 2 4 -1 Table

Total time spent within a course

local_ld_course_day 0 1 5 -1 Table

Time spent on a course at day level

local_ld_import_logs_status 0 1 7 -1 Table

Current status of the import logs task

local_ld_lastactivity 0 3 5 -1 Table

Last activity that user has performed

local_ld_module 1 2 4 -1 Table

Time spent on a module

local_ld_module_day 0 1 5 -1 Table

Time spent on a module at day level

lock_db 0 0 4 -1 Table

Stores active and inactive lock types for db locking method.

log 0 1 10 -1 Table

Every action is logged as far as possible

log_display 0 0 6 -1 Table

For a particular module/action, specifies a moodle table/field

log_queries 0 0 9 -1 Table

Logged database queries.

logstore_standard_log 0 4 21 -1 Table

Standard log table

lti 2 0 26 -1 Table

This table contains Basic LTI activities instances

lti_submission 0 2 9 -1 Table

Keeps track of individual submissions for LTI activities.

lti_tool_proxies 1 0 13 -1 Table

LTI tool proxy registrations

lti_tool_settings 0 3 7 -1 Table

LTI tool setting values

lti_types 0 0 16 -1 Table

Basic LTI pre-configured activities

lti_types_config 0 0 4 -1 Table

Basic LTI types configuration

message 1 0 16 -1 Table

Stores all unread messages

message_airnotifier_devices 0 1 3 -1 Table

Store information about the devices registered in Airnotifier for PUSH notifications

message_contacts 0 1 4 -1 Table

Maintains lists of relationships between users

message_popup 0 1 3 -1 Table

Keep state of notifications for the popup message processor

message_processors 0 0 3 -1 Table

List of message output plugins

message_providers 0 0 4 -1 Table

This table stores the message providers (modules and core systems)

message_read 0 0 17 -1 Table

Stores all messages that have been read

message_working 0 0 3 -1 Table

Lists all the messages and processors that need to be processed

messageinbound_datakeys 0 1 6 -1 Table

Inbound Message data item secret keys.

messageinbound_handlers 1 0 6 -1 Table

Inbound Message Handler definitions.

messageinbound_messagelist 0 1 5 -1 Table

A list of message IDs for existing replies

mnet_application 1 0 6 -1 Table

Information about applications on remote hosts

mnet_host 1 1 15 -1 Table

Information about the local and remote hosts for RPC

mnet_host2service 0 0 5 -1 Table

Information about the services for a given host

mnet_log 0 1 13 -1 Table

Store session data from users migrating to other sites

mnet_remote_rpc 0 0 6 -1 Table

This table describes functions that might be called remotely (we have less information about them than local functions)

mnet_remote_service2rpc 0 0 3 -1 Table

Group functions or methods under a service

mnet_rpc 0 0 11 -1 Table

Functions or methods that we may publish or subscribe to

mnet_service 0 0 5 -1 Table

A service is a group of functions

mnet_service2rpc 0 0 3 -1 Table

Group functions or methods under a service

mnet_session 0 1 9 -1 Table

Store session data from users migrating to other sites

mnet_sso_access_control 0 0 4 -1 Table

Users by host permitted (or not) to login from a remote provider

mnetservice_enrol_courses 0 1 14 -1 Table

Caches the information fetched via XML-RPC about courses on remote hosts that are offered for our users

mnetservice_enrol_enrolments 0 2 7 -1 Table

Caches the information about enrolments of our local users in courses on remote hosts

modules 2 0 6 -1 Table

modules available in the site

my_pages 0 1 5 -1 Table

Extra user pages for the My Moodle system

oauth2_endpoint 0 1 7 -1 Table

Describes the named endpoint for an oauth2 service.

oauth2_issuer 3 0 18 -1 Table

Details for an oauth 2 connect identity issuer.

oauth2_system_account 0 0 9 -1 Table

Stored details used to get an access token as a system user for this oauth2 service.

oauth2_user_field_mapping 0 1 7 -1 Table

Mapping of oauth user fields to moodle fields.

page 2 0 13 -1 Table

Each record is one page and its config data

portfolio_instance 4 0 4 -1 Table

base table (not including config data) for instances of portfolio plugins.

portfolio_instance_config 0 1 4 -1 Table

config for portfolio plugin instances

portfolio_instance_user 0 2 5 -1 Table

user data for portfolio instances.

portfolio_log 0 2 11 -1 Table

log of portfolio transfers (used to later check for duplicates)

portfolio_mahara_queue 0 1 3 -1 Table

maps mahara tokens to transfer ids

portfolio_tempdata 1 2 6 -1 Table

stores temporary data for portfolio exports. the id of this table is used for the itemid for the temporary files area. cron can clean up stale records (and associated file data) after expirytime.

post 2 4 19 -1 Table

Generic post table to hold data blog entries etc in different modules

profiling 0 0 11 -1 Table

Stores the results of all the profiling runs

qtype_ddimageortext 0 1 10 -1 Table

Defines drag and drop (text or images onto a background image) questions

qtype_ddimageortext_drags 0 1 6 -1 Table

Images to drag. Actual file names are not stored here we use the file names as found in the file storage area.

qtype_ddimageortext_drops 0 1 7 -1 Table

Drop boxes

qtype_ddmarker 0 1 11 -1 Table

Defines drag and drop (text or images onto a background image) questions

qtype_ddmarker_drags 0 1 6 -1 Table

Labels for markers to drag.

qtype_ddmarker_drops 0 1 6 -1 Table

drop regions

qtype_essay_options 0 1 11 -1 Table

Extra options for essay questions.

qtype_match_options 0 1 10 -1 Table

Defines the question-type specific options for matching questions

qtype_match_subquestions 0 1 5 -1 Table

The subquestions that make up a matching question

qtype_multichoice_options 0 1 13 -1 Table

Options for multiple choice questions

qtype_randomsamatch_options 0 1 11 -1 Table

Info about a random short-answer matching question

qtype_shortanswer_options 0 1 3 -1 Table

Options for short answer questions

question 30 4 19 -1 Table

The questions themselves

question_answers 0 1 7 -1 Table

Answers, with a fractional grade (0-1) and feedback

question_attempt_step_data 0 1 4 -1 Table

Each question_attempt_step has an associative array of the data that was submitted by the user in the POST request. It can also contain extra data from the question type or behaviour to avoid re-computation. The convention is that names belonging to the behaviour start with -, and cached values added to the submitted data start with _, or _-

question_attempt_steps 1 2 7 -1 Table

Stores one step in in a question attempt. As well as the data here, the step will have some data in the question_attempt_step_data table.

question_attempts 1 2 14 -1 Table

Each row here corresponds to an attempt at one question, as part of a question_usage. A question_attempt will have some question_attempt_steps

question_calculated 0 1 7 -1 Table

Options for questions of type calculated

question_calculated_options 0 1 13 -1 Table

Options for questions of type calculated

question_categories 3 2 8 -1 Table

Categories are for grouping questions

question_dataset_definitions 1 1 6 -1 Table

Organises and stores properties for dataset items

question_dataset_items 0 0 4 -1 Table

Individual dataset items

question_datasets 0 2 3 -1 Table

Many-many relation between questions and dataset definitions

question_ddwtos 0 1 10 -1 Table

Defines drag and drop (words into sentences) questions

question_gapselect 0 1 10 -1 Table

Defines select missing words questions

question_hints 0 1 7 -1 Table

Stores the the part of the question definition that gives different feedback after each try in interactive and similar behaviours.

question_multianswer 0 1 3 -1 Table

Options for multianswer questions

question_numerical 0 1 4 -1 Table

Options for numerical questions.

question_numerical_options 0 1 6 -1 Table

Options for questions of type numerical This table is also used by the calculated question type

question_numerical_units 0 1 4 -1 Table

Optional unit options for numerical questions. This table is also used by the calculated question type.

question_response_analysis 1 1 10 -1 Table

Analysis of student responses given to questions.

question_response_count 0 1 4 -1 Table

Count for each responses for each try at a question.

question_statistics 0 1 18 -1 Table

Statistics for individual questions used in an activity.

question_truefalse 0 1 4 -1 Table

Options for True-False questions

question_usages 1 1 4 -1 Table

This table's main purpose it to assign a unique id to each attempt at a set of questions by some part of Moodle. A question usage is made up of a number of question_attempts.

quiz 6 0 41 -1 Table

The settings for each quiz.

quiz_attempts 0 2 15 -1 Table

Stores users attempts at quizzes.

quiz_feedback 0 1 6 -1 Table

Feedback given to students based on which grade band their overall score lies.

quiz_grades 0 2 5 -1 Table

Stores the overall grade for each user on the quiz, based on their various attempts and the quiz.grademethod setting.

quiz_overrides 0 3 9 -1 Table

The overrides to quiz settings on a per-user and per-group basis.

quiz_overview_regrades 0 1 7 -1 Table

This table records which question attempts need regrading and the grade they will be regraded to.

quiz_reports 0 0 4 -1 Table

Lists all the installed quiz reports and their display order and so on. No need to worry about deleting old records. Only records with an equivalent directory are displayed.

quiz_sections 0 1 5 -1 Table

Stores sections of a quiz with section name (heading), from slot-number N and whether the question order should be shuffled.

quiz_slots 0 2 7 -1 Table

Stores the question used in a quiz, with the order, and for each question, which page it appears on, and the maximum mark (weight).

quiz_statistics 0 0 19 -1 Table

table to cache results from analysis done in statistics report for quizzes.

rating 0 3 10 -1 Table

moodle ratings

registration_hubs 0 0 7 -1 Table

hub where the site is registered on with their associated token

repository 0 0 4 -1 Table

This table contains one entry for every configured external repository instance.

repository_instance_config 0 0 4 -1 Table

The config for intances

repository_instances 1 2 10 -1 Table

This table contains one entry for every configured external repository instance.

repository_onedrive_access 0 1 6 -1 Table

List of temporary access grants.

resource 0 0 13 -1 Table

Each record is one resource and its config data

resource_old 0 0 16 -1 Table

backup of all old resource instances from 1.9

role 22 0 6 -1 Table

moodle roles

role_allow_assign 0 2 3 -1 Table

this defines what role can assign what role

role_allow_override 0 2 3 -1 Table

this defines what role can override what role

role_allow_switch 0 2 3 -1 Table

This table stores which which other roles a user is allowed to switch to if they have one role.

role_assignments 0 3 9 -1 Table

assigning roles in different context

role_capabilities 0 4 7 -1 Table

permission has to be signed, overriding a capability for a particular role in a particular context

role_context_levels 0 1 3 -1 Table

Lists which roles can be assigned at which context levels. The assignment is allowed in the corresponding row is present in this table.

role_names 0 2 4 -1 Table

role names in native strings

role_sortorder 0 3 5 -1 Table

sort order of course managers in a course

scale 9 2 8 -1 Table

Defines grading scales

scale_history 0 4 11 -1 Table

History table

scorm 3 0 42 -1 Table

each table is one SCORM module and its configuration

scorm_aicc_session 0 2 12 -1 Table

Used by AICC HACP to store session information

scorm_scoes 8 1 10 -1 Table

each SCO part of the SCORM module

scorm_scoes_data 0 1 4 -1 Table

Contains variable data get from packages

scorm_scoes_track 0 3 8 -1 Table

to track SCOes

scorm_seq_mapinfo 0 2 8 -1 Table

SCORM2004 objective mapinfo description

scorm_seq_objective 1 1 6 -1 Table

SCORM2004 objective description

scorm_seq_rolluprule 1 1 7 -1 Table

SCORM2004 sequencing rule

scorm_seq_rolluprulecond 0 2 5 -1 Table

SCORM2004 sequencing rule

scorm_seq_rulecond 0 2 7 -1 Table

SCORM2004 rule condition

scorm_seq_ruleconds 1 1 5 -1 Table

SCORM2004 rule conditions

sessions 0 1 9 -1 Table

Database based session storage - now recommended

stats_daily 0 2 7 -1 Table

to accumulate daily stats

stats_monthly 0 2 7 -1 Table

To accumulate monthly stats

stats_user_daily 0 3 8 -1 Table

To accumulate daily stats per course/user

stats_user_monthly 0 3 8 -1 Table

To accumulate monthly stats per course/user

stats_user_weekly 0 3 8 -1 Table

To accumulate weekly stats per course/user

stats_weekly 0 2 7 -1 Table

To accumulate weekly stats

survey 2 0 11 -1 Table

Each record is one SURVEY module with its configuration

survey_analysis 0 2 4 -1 Table

text about each survey submission

survey_answers 0 3 7 -1 Table

the answers to each questions filled by the users

survey_questions 1 0 7 -1 Table

the questions conforming one survey

tag 2 2 10 -1 Table

Tag table - this generic table will replace the old "tags" table.

tag_area 0 1 8 -1 Table

Defines various tag areas, one area is identified by component and itemtype

tag_coll 2 0 7 -1 Table

Defines different set of tags

tag_correlation 0 1 3 -1 Table

The rationale for the 'tag_correlation' table is performance. It works as a cache for a potentially heavy load query done at the 'tag_instance' table. So, the 'tag_correlation' table stores redundant information derived from the 'tag_instance' table

tag_instance 0 2 10 -1 Table

tag_instance table holds the information of associations between tags and other items

task_adhoc 1 0 7 -1 Table

List of adhoc tasks waiting to run.

task_scheduled 0 0 14 -1 Table

List of scheduled tasks to be run by cron.

tool_cohortroles 0 3 7 -1 Table

Mapping of users to cohort role assignments.

tool_customlang 0 1 11 -1 Table

Contains the working checkout of all strings and their customization

tool_customlang_components 1 0 3 -1 Table

Contains the list of all installed plugins that provide their own language pack

tool_monitor_events 0 3 8 -1 Table

A table that keeps a log of events related to subscriptions

tool_monitor_history 0 2 4 -1 Table

Table to store history of message notifications sent

tool_monitor_rules 1 2 14 -1 Table

Table to store rules

tool_monitor_subscriptions 1 3 8 -1 Table

Table to store user subscriptions to various rules

tool_recyclebin_category 0 1 5 -1 Table

A list of items in the category recycle bin

tool_recyclebin_course 0 1 6 -1 Table

A list of items in the course recycle bin

tool_usertours_steps 0 1 8 -1 Table

Steps in an tour

tool_usertours_tours 1 0 7 -1 Table

List of tours

upgrade_log 0 1 10 -1 Table

Upgrade logging

url 0 0 10 -1 Table

each record is one url resource

user 149 0 53 -1 Table

One record for each person

user_devices 0 1 11 -1 Table

This table stores user's mobile devices information in order to send PUSH notifications

user_enrolments 0 3 9 -1 Table

Users participating in courses (aka enrolled users) - everybody who is participating/visible in course, that means both teachers and students

user_info_category 1 0 3 -1 Table

Customisable fields categories

user_info_data 0 2 5 -1 Table

Data for the customisable user fields

user_info_field 1 1 20 -1 Table

Customisable user profile fields

user_lastaccess 0 2 4 -1 Table

To keep track of course page access times, used in online participants block, and participants list

user_password_history 0 1 4 -1 Table

A rotating log of hashes of previously used passwords for each user.

user_password_resets 0 1 5 -1 Table

table tracking password reset confirmation tokens

user_preferences 0 1 4 -1 Table

Allows modules to store arbitrary user preferences

user_private_key 0 1 8 -1 Table

access keys used in cookieless scripts - rss, etc.

wiki 1 0 13 -1 Table

Stores Wiki activity configuration

wiki_links 0 2 5 -1 Table

Page wiki links

wiki_locks 0 2 5 -1 Table

Manages page locks

wiki_pages 2 2 10 -1 Table

Stores wiki pages

wiki_subwikis 2 2 4 -1 Table

Stores subwiki instances

wiki_synonyms 0 1 4 -1 Table

Stores wiki pages synonyms

wiki_versions 0 2 7 -1 Table

Stores wiki page history

workshop 17 1 35 -1 Table

This table keeps information about the module instances and their settings

workshop_aggregations 0 2 5 -1 Table

Aggregated grades for assessment are stored here. The aggregated grade for submission is stored in workshop_submissions

workshop_assessments 3 3 15 -1 Table

Info about the made assessment and automatically calculated grade for it. The proposed grade can be overridden by teacher.

workshop_assessments_old 0 3 17 -1 Table

Legacy workshop_assessments table to be dropped later in Moodle 2.x

workshop_comments_old 0 3 9 -1 Table

Legacy workshop_comments table to be dropped later in Moodle 2.x

workshop_elements_old 0 1 11 -1 Table

Legacy workshop_elements table to be dropped later in Moodle 2.x

workshop_grades 0 1 7 -1 Table

How the reviewers filled-up the grading forms, given grades and comments

workshop_grades_old 0 2 8 -1 Table

Legacy workshop_grades table to be dropped later in Moodle 2.x

workshop_old 0 0 34 -1 Table

Legacy workshop table to be dropped later in Moodle 2.x

workshop_rubrics_old 0 1 7 -1 Table

Legacy workshop_rubrics table to be dropped later in Moodle 2.x

workshop_stockcomments_old 0 1 6 -1 Table

Legacy workshop_stockcomments table to be dropped later in Moodle 2.x

workshop_submissions 2 3 19 -1 Table

Info about the submission and the aggregation of the grade for submission, grade for assessment and final grade. Both grade for submission and grade for assessment can be overridden by teacher. Final grade is always the sum of them. All grades are stored as of 0-100.

workshop_submissions_old 0 2 13 -1 Table

Legacy workshop_submissions table to be dropped later in Moodle 2.x

workshopallocation_scheduled 0 1 9 -1 Table

Stores the allocation settings for the scheduled allocator

workshopeval_best_settings 0 1 3 -1 Table

Settings for the grading evaluation subplugin Comparison with the best assessment.

workshopform_accumulative 0 1 7 -1 Table

The assessment dimensions definitions of Accumulative grading strategy forms

workshopform_comments 0 1 5 -1 Table

The assessment dimensions definitions of Comments strategy forms

workshopform_numerrors 0 1 9 -1 Table

The assessment dimensions definitions of Number of errors grading strategy forms

workshopform_numerrors_map 0 1 4 -1 Table

This maps the number of errors to a percentual grade for submission

workshopform_rubric 1 1 5 -1 Table

The assessment dimensions definitions of Rubric grading strategy forms

workshopform_rubric_config 0 1 3 -1 Table

Configuration table for the Rubric grading strategy

workshopform_rubric_levels 0 1 5 -1 Table

The definition of rubric rating scales