<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Svbrajudatla</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Svbrajudatla"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/Special:Contributions/Svbrajudatla"/>
	<updated>2026-04-19T11:53:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Database_schema_introduction&amp;diff=34998</id>
		<title>Database schema introduction</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Database_schema_introduction&amp;diff=34998"/>
		<updated>2012-08-21T12:29:47Z</updated>

		<summary type="html">&lt;p&gt;Svbrajudatla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Moodle database has around 200 tables, and can be quite daunting at first sight. The good news is that you don&#039;t have to understand it all at once. For example, there are eight tables called forum_&#039;&#039;something&#039;&#039;. If you are interested in the forum module, then obviously you need to understand these tables, and the places they link into core tables. But if you are not interested in the forum module, you can forget about them. The same is true of each activity module.&lt;br /&gt;
Once you take out the tables for each activity module in this way, and similarly take out the tables belonging to the enrolment plugins, question types, etc. You are left with about 50 core tables. But the good news is that even here they break down into groups that mostly you can understand together, or ignore. This page lists the core database tables in these groups. Later, it would be good to add more detailed documentation explaining some of these groups.&lt;br /&gt;
       The database structure is defined, edited and upgraded using the [[XMLDB_Documentation|XMLDB]] system.&lt;br /&gt;
&lt;br /&gt;
===Automatically generated documentation===&lt;br /&gt;
&lt;br /&gt;
The install.xml files that define Moodle&#039;s database structure (are supposed to) contain comments on each table and database field, to document their purpose.&lt;br /&gt;
&lt;br /&gt;
From Moodle 2.0 onwards, you can view this documentation in HTML format by going to Administration -&amp;gt; Development -&amp;gt; XMLDB editor and then clicking on the [Doc] links.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
;config&lt;br /&gt;
;config_plugins&lt;br /&gt;
&lt;br /&gt;
==Users and their profiles==&lt;br /&gt;
&lt;br /&gt;
;user&lt;br /&gt;
;user_info_category&lt;br /&gt;
;user_info_field&lt;br /&gt;
;user_info_data&lt;br /&gt;
;user_lastaccess : this is separated from the user table for performance reasons&lt;br /&gt;
;user_preferences&lt;br /&gt;
;user_private_key&lt;br /&gt;
&lt;br /&gt;
[[Media:Users_and_profiles_erd.png|ER Diagram of the Users and profiles tables]]&lt;br /&gt;
/&lt;br /&gt;
[[Media:user-tables-with-relations.png|EER Diagram of the User tables with their relations]]&lt;br /&gt;
&lt;br /&gt;
==[[Roles|The roles and capabilities system]]==&lt;br /&gt;
&lt;br /&gt;
;role&lt;br /&gt;
:defines a role, its name, etc. Other parts of the role definition are stored in the role_capabilities and role_context_levels tables.&lt;br /&gt;
;capabilites&lt;br /&gt;
:the various permissions that can be granted.&lt;br /&gt;
;context&lt;br /&gt;
:a context is a scope in Moodle, for example the whole system, a course, a particular activity. The type is given by contextlevel, and depending on context level, instanceid points to one of a number of different tables.&lt;br /&gt;
;role_allow_assign&lt;br /&gt;
:which roles can assign which other roles&lt;br /&gt;
;role_allow_override&lt;br /&gt;
:which roles can override which other roles&lt;br /&gt;
;role_allow_switch&lt;br /&gt;
:which roles can switch to which other roles (Moodle 2.0 onwards.)&lt;br /&gt;
;role_assignments&lt;br /&gt;
:which users are assigned which roles in which contexts&lt;br /&gt;
;role_capabilities&lt;br /&gt;
:the permission for each capability in either a role definition (if contextid points to the system context) or a role override (if contextid points to some other context)&lt;br /&gt;
;role_context_levels&lt;br /&gt;
:the context levels at which each role can be assigned. (Moodle 2.0 onwards)&lt;br /&gt;
;role_names&lt;br /&gt;
:used to implement the feature where roles can be given different names in different courses (or, more gererally, contexts)&lt;br /&gt;
;role_sortorder&lt;br /&gt;
:is not actually used anywhere in the code!&lt;br /&gt;
&lt;br /&gt;
The following diagram shows the tables with their columns and the relationships between them, and other tables in Moodle.&lt;br /&gt;
&lt;br /&gt;
[[Image:RolesDatabase.png|thumb|left|900px]]&lt;br /&gt;
&lt;br /&gt;
==Courses and their organisation into categories==&lt;br /&gt;
&lt;br /&gt;
;course&lt;br /&gt;
;course_categories&lt;br /&gt;
;course_display&lt;br /&gt;
;course_meta&lt;br /&gt;
;course_request&lt;br /&gt;
&lt;br /&gt;
==Activities and their arrangement within courses==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Course_modules_database.png]]&lt;br /&gt;
&lt;br /&gt;
(Here is the Dia file, should you need to edit this image: [[Image:Course_modules_database.dia]].)&lt;br /&gt;
&lt;br /&gt;
;modules&lt;br /&gt;
;course_allowed_modules&lt;br /&gt;
;course_modules&lt;br /&gt;
;course_sections&lt;br /&gt;
&lt;br /&gt;
See also the tables belonging to particular activity modules. For example forum_*, [[Quiz_database_structure|quiz_*]], etc.&lt;br /&gt;
&lt;br /&gt;
==[[Groups|Groups and groupings]]==&lt;br /&gt;
&lt;br /&gt;
;groups&lt;br /&gt;
;groups_members&lt;br /&gt;
;groupings&lt;br /&gt;
;groupings_groups&lt;br /&gt;
&lt;br /&gt;
[[Media:Groups_erd.png|ER Diagram of the Groups system]]&lt;br /&gt;
&lt;br /&gt;
==The logging system==&lt;br /&gt;
&lt;br /&gt;
;log&lt;br /&gt;
;log_display&lt;br /&gt;
&lt;br /&gt;
==[[Blocks#Creating_Database_Tables_for_Blocks|Blocks system]]==&lt;br /&gt;
&lt;br /&gt;
;block&lt;br /&gt;
;block_instance&lt;br /&gt;
;block_rss_client&lt;br /&gt;
;block_pinned&lt;br /&gt;
;block_search_documents&lt;br /&gt;
&lt;br /&gt;
Some particular blocks also have their own database tables. For example &#039;&#039;block_rss_client&#039;&#039;.&lt;br /&gt;
See:&lt;br /&gt;
* [[Media:Blocks_erd.png|ER Diagram of the Blocks system]]&lt;br /&gt;
* [[Blocks#Database support]]&lt;br /&gt;
* [http://dev.moodle.org/mod/resource/view.php?id=48 Unit 7 - Part A - Block Basics] of the Introduction to Moodle Programming course.&lt;br /&gt;
&lt;br /&gt;
==[[Events|Events]]==&lt;br /&gt;
&lt;br /&gt;
;event&lt;br /&gt;
;events_handlers&lt;br /&gt;
;events_queue&lt;br /&gt;
;events_queue_handlers&lt;br /&gt;
&lt;br /&gt;
==Backup and restore==&lt;br /&gt;
&lt;br /&gt;
;backup_config&lt;br /&gt;
;backup_courses&lt;br /&gt;
;backup_files&lt;br /&gt;
;backup_ids&lt;br /&gt;
;backup_log&lt;br /&gt;
[[Media:Backups_erd.png|ER Diagram of the Backup system]]&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
&lt;br /&gt;
;stats_daily&lt;br /&gt;
;stats_monthly&lt;br /&gt;
;stats_user_daily&lt;br /&gt;
;stats_user_monthly&lt;br /&gt;
;stats_user_weekly&lt;br /&gt;
;stats_weekly&lt;br /&gt;
&lt;br /&gt;
==Tags==&lt;br /&gt;
&lt;br /&gt;
;tag_*&lt;br /&gt;
&lt;br /&gt;
==[[Grades|Gradebook]]==&lt;br /&gt;
&lt;br /&gt;
;grade_*&lt;br /&gt;
[[Media:Gradebook_erd.png|ER Diagram of the Gradebook system]]&lt;br /&gt;
&lt;br /&gt;
==[[Question_database_structure|Question bank and question engine]]==&lt;br /&gt;
&lt;br /&gt;
Note that the tables for the core question bank, and also the tables for the individual question types, all have names starting with question_, however, it is easier to think of them separately.&lt;br /&gt;
&lt;br /&gt;
;question&lt;br /&gt;
;question_answers&lt;br /&gt;
;question_attempts&lt;br /&gt;
;question_categories&lt;br /&gt;
;question_sessions&lt;br /&gt;
;question_states&lt;br /&gt;
&lt;br /&gt;
[[#Question_types|See below for a list of question type tables]].&lt;br /&gt;
&lt;br /&gt;
==Messaging system==&lt;br /&gt;
&lt;br /&gt;
;message_*&lt;br /&gt;
&lt;br /&gt;
==[[Moodle_Network|Moodle Network]]==&lt;br /&gt;
&lt;br /&gt;
;mnet_application&lt;br /&gt;
;mnet_enrol_assignments&lt;br /&gt;
;mnet_enrol_course&lt;br /&gt;
;mnet_host&lt;br /&gt;
;mnet_host2service&lt;br /&gt;
;mnet_log&lt;br /&gt;
;mnet_rpc&lt;br /&gt;
;mnet_service&lt;br /&gt;
;mnet_service2rpc&lt;br /&gt;
;mnet_session&lt;br /&gt;
;mnet_sso_access_control&lt;br /&gt;
[[Media:mnet_erd.png|ER Diagram of the MNet system]]&lt;br /&gt;
&lt;br /&gt;
==Caching==&lt;br /&gt;
&lt;br /&gt;
;cache_filters&lt;br /&gt;
;cache_flags&lt;br /&gt;
;cache_text&lt;br /&gt;
&lt;br /&gt;
==Miscellaneous==&lt;br /&gt;
&lt;br /&gt;
;scale&lt;br /&gt;
;scale_history&lt;br /&gt;
;sessions2&lt;br /&gt;
;timezone&lt;br /&gt;
;post&lt;br /&gt;
&lt;br /&gt;
==Activity modules==&lt;br /&gt;
&lt;br /&gt;
* Assignment&lt;br /&gt;
* Chat&lt;br /&gt;
* Choice&lt;br /&gt;
* Data&lt;br /&gt;
* Feedback&lt;br /&gt;
* Forum&lt;br /&gt;
* Glossary&lt;br /&gt;
* Hotpot&lt;br /&gt;
* Label&lt;br /&gt;
* Lesson&lt;br /&gt;
* [[Quiz_database_structure|Quiz]]&lt;br /&gt;
* Resource&lt;br /&gt;
* SCORM&lt;br /&gt;
* Survey&lt;br /&gt;
* Wiki&lt;br /&gt;
* [[Workshop#Database_structure|Workshop]]&lt;br /&gt;
&lt;br /&gt;
==Authentication plugins==&lt;br /&gt;
&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
==Blocks==&lt;br /&gt;
&lt;br /&gt;
;block&lt;br /&gt;
;block_instance&lt;br /&gt;
;block_pinned&lt;br /&gt;
;block_rss_client&lt;br /&gt;
;block__search_documents&lt;br /&gt;
&lt;br /&gt;
==Enrolment plugins==&lt;br /&gt;
&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
==Question types==&lt;br /&gt;
&lt;br /&gt;
* [[Calculated_question_type#Database_tables|Calculated]]&lt;br /&gt;
* [[Matching_question_type#Database_tables|Matching]]&lt;br /&gt;
* [[Multiple_Choice_question_type#quiz_multichoice_table|Multiple choice]]&lt;br /&gt;
* [[Cloze_question_type#Data_structure|Multi-answer (Cloze)]]&lt;br /&gt;
* [[Numerical_question_type#Database_tables|Numerical]]&lt;br /&gt;
* [[Random_Short-Answer_Matching_question_type#Database_tables|Random short-answer matching]]&lt;br /&gt;
* [[Short_Answer_question_type#Database_tables|Short answer]]&lt;br /&gt;
* [[True/False_question_type#Database_tables|True/false]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Media:Moodle2erd.png|ER Diagram of the installed system ]] - a single big png image&lt;br /&gt;
* [[Database_Schema]] - some automatically generated diagrams.&lt;br /&gt;
* [[Database FAQ]]&lt;br /&gt;
* [[XMLDB_Documentation]] - the XMLDB system used to define, edit, and update the database structure.&lt;br /&gt;
* [http://www.examulator.com/er Moodle 2.2 ER Diagram] by Marcus Green&lt;br /&gt;
* [http://www.examulator.com/er/er_howto.html Moodle ER Diagram HowTo]: Creating a Moodle ER Diagram by generating a log from the install process&lt;br /&gt;
&lt;br /&gt;
[[Category:XMLDB]]&lt;/div&gt;</summary>
		<author><name>Svbrajudatla</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Database_schema_introduction&amp;diff=34997</id>
		<title>Database schema introduction</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Database_schema_introduction&amp;diff=34997"/>
		<updated>2012-08-21T12:26:27Z</updated>

		<summary type="html">&lt;p&gt;Svbrajudatla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Moodle database has around 200 tables, and can be quite daunting at first sight. The good news is that you don&#039;t have to understand it all at once. For example, there are eight tables called forum_&#039;&#039;something&#039;&#039;. If you are interested in the forum module, then obviously you need to understand these tables, and the places they link into core tables. But if you are not interested in the forum module, you can forget about them. The same is true of each activity module.&lt;br /&gt;
                 A database schema (/ˈski.mə/SKEE-ma) of a database system is its structure described in a formal language supported by the database management system (DBMS) and refers to the organization of data to create a blueprint of how a database will be constructed (divided into database tables). The formal definition of database schema is a set of formulas (sentences) called integrity constraints imposed on a database. These integrity constraints ensure compatibility between parts of the schema. All constraints are expressible in the same language. A database can be considered a structure in realization of the database language.[1] The states of a created conceptual schema are transformed into an explicit mapping, the database schema. This describes how real world entities are modeled in the database&lt;br /&gt;
Once you take out the tables for each activity module in this way, and similarly take out the tables belonging to the enrolment plugins, question types, etc. You are left with about 50 core tables. But the good news is that even here they break down into groups that mostly you can understand together, or ignore. This page lists the core database tables in these groups. Later, it would be good to add more detailed documentation explaining some of these groups.&lt;br /&gt;
        The Moodle database has around 200 tables, and can be quite daunting at first sight. The good news is that you don&#039;t have to understand it all at once. For example, there are eight tables called forum_&#039;&#039;something&#039;&#039;. If you are interested in the forum module, then obviously you need to understand these tables, and the places they link into core tables. But if you are not interested in the forum module, you can forget about them. The same is true of each activity module.&lt;br /&gt;
&lt;br /&gt;
The database structure is defined, edited and upgraded using the [[XMLDB_Documentation|XMLDB]] system.&lt;br /&gt;
&lt;br /&gt;
===Automatically generated documentation===&lt;br /&gt;
&lt;br /&gt;
The install.xml files that define Moodle&#039;s database structure (are supposed to) contain comments on each table and database field, to document their purpose.&lt;br /&gt;
&lt;br /&gt;
From Moodle 2.0 onwards, you can view this documentation in HTML format by going to Administration -&amp;gt; Development -&amp;gt; XMLDB editor and then clicking on the [Doc] links.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
;config&lt;br /&gt;
;config_plugins&lt;br /&gt;
&lt;br /&gt;
==Users and their profiles==&lt;br /&gt;
&lt;br /&gt;
;user&lt;br /&gt;
;user_info_category&lt;br /&gt;
;user_info_field&lt;br /&gt;
;user_info_data&lt;br /&gt;
;user_lastaccess : this is separated from the user table for performance reasons&lt;br /&gt;
;user_preferences&lt;br /&gt;
;user_private_key&lt;br /&gt;
&lt;br /&gt;
[[Media:Users_and_profiles_erd.png|ER Diagram of the Users and profiles tables]]&lt;br /&gt;
/&lt;br /&gt;
[[Media:user-tables-with-relations.png|EER Diagram of the User tables with their relations]]&lt;br /&gt;
&lt;br /&gt;
==[[Roles|The roles and capabilities system]]==&lt;br /&gt;
&lt;br /&gt;
;role&lt;br /&gt;
:defines a role, its name, etc. Other parts of the role definition are stored in the role_capabilities and role_context_levels tables.&lt;br /&gt;
;capabilites&lt;br /&gt;
:the various permissions that can be granted.&lt;br /&gt;
;context&lt;br /&gt;
:a context is a scope in Moodle, for example the whole system, a course, a particular activity. The type is given by contextlevel, and depending on context level, instanceid points to one of a number of different tables.&lt;br /&gt;
;role_allow_assign&lt;br /&gt;
:which roles can assign which other roles&lt;br /&gt;
;role_allow_override&lt;br /&gt;
:which roles can override which other roles&lt;br /&gt;
;role_allow_switch&lt;br /&gt;
:which roles can switch to which other roles (Moodle 2.0 onwards.)&lt;br /&gt;
;role_assignments&lt;br /&gt;
:which users are assigned which roles in which contexts&lt;br /&gt;
;role_capabilities&lt;br /&gt;
:the permission for each capability in either a role definition (if contextid points to the system context) or a role override (if contextid points to some other context)&lt;br /&gt;
;role_context_levels&lt;br /&gt;
:the context levels at which each role can be assigned. (Moodle 2.0 onwards)&lt;br /&gt;
;role_names&lt;br /&gt;
:used to implement the feature where roles can be given different names in different courses (or, more gererally, contexts)&lt;br /&gt;
;role_sortorder&lt;br /&gt;
:is not actually used anywhere in the code!&lt;br /&gt;
&lt;br /&gt;
The following diagram shows the tables with their columns and the relationships between them, and other tables in Moodle.&lt;br /&gt;
&lt;br /&gt;
[[Image:RolesDatabase.png|thumb|left|900px]]&lt;br /&gt;
&lt;br /&gt;
==Courses and their organisation into categories==&lt;br /&gt;
&lt;br /&gt;
;course&lt;br /&gt;
;course_categories&lt;br /&gt;
;course_display&lt;br /&gt;
;course_meta&lt;br /&gt;
;course_request&lt;br /&gt;
&lt;br /&gt;
==Activities and their arrangement within courses==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Course_modules_database.png]]&lt;br /&gt;
&lt;br /&gt;
(Here is the Dia file, should you need to edit this image: [[Image:Course_modules_database.dia]].)&lt;br /&gt;
&lt;br /&gt;
;modules&lt;br /&gt;
;course_allowed_modules&lt;br /&gt;
;course_modules&lt;br /&gt;
;course_sections&lt;br /&gt;
&lt;br /&gt;
See also the tables belonging to particular activity modules. For example forum_*, [[Quiz_database_structure|quiz_*]], etc.&lt;br /&gt;
&lt;br /&gt;
==[[Groups|Groups and groupings]]==&lt;br /&gt;
&lt;br /&gt;
;groups&lt;br /&gt;
;groups_members&lt;br /&gt;
;groupings&lt;br /&gt;
;groupings_groups&lt;br /&gt;
&lt;br /&gt;
[[Media:Groups_erd.png|ER Diagram of the Groups system]]&lt;br /&gt;
&lt;br /&gt;
==The logging system==&lt;br /&gt;
&lt;br /&gt;
;log&lt;br /&gt;
;log_display&lt;br /&gt;
&lt;br /&gt;
==[[Blocks#Creating_Database_Tables_for_Blocks|Blocks system]]==&lt;br /&gt;
&lt;br /&gt;
;block&lt;br /&gt;
;block_instance&lt;br /&gt;
;block_rss_client&lt;br /&gt;
;block_pinned&lt;br /&gt;
;block_search_documents&lt;br /&gt;
&lt;br /&gt;
Some particular blocks also have their own database tables. For example &#039;&#039;block_rss_client&#039;&#039;.&lt;br /&gt;
See:&lt;br /&gt;
* [[Media:Blocks_erd.png|ER Diagram of the Blocks system]]&lt;br /&gt;
* [[Blocks#Database support]]&lt;br /&gt;
* [http://dev.moodle.org/mod/resource/view.php?id=48 Unit 7 - Part A - Block Basics] of the Introduction to Moodle Programming course.&lt;br /&gt;
&lt;br /&gt;
==[[Events|Events]]==&lt;br /&gt;
&lt;br /&gt;
;event&lt;br /&gt;
;events_handlers&lt;br /&gt;
;events_queue&lt;br /&gt;
;events_queue_handlers&lt;br /&gt;
&lt;br /&gt;
==Backup and restore==&lt;br /&gt;
&lt;br /&gt;
;backup_config&lt;br /&gt;
;backup_courses&lt;br /&gt;
;backup_files&lt;br /&gt;
;backup_ids&lt;br /&gt;
;backup_log&lt;br /&gt;
[[Media:Backups_erd.png|ER Diagram of the Backup system]]&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
&lt;br /&gt;
;stats_daily&lt;br /&gt;
;stats_monthly&lt;br /&gt;
;stats_user_daily&lt;br /&gt;
;stats_user_monthly&lt;br /&gt;
;stats_user_weekly&lt;br /&gt;
;stats_weekly&lt;br /&gt;
&lt;br /&gt;
==Tags==&lt;br /&gt;
&lt;br /&gt;
;tag_*&lt;br /&gt;
&lt;br /&gt;
==[[Grades|Gradebook]]==&lt;br /&gt;
&lt;br /&gt;
;grade_*&lt;br /&gt;
[[Media:Gradebook_erd.png|ER Diagram of the Gradebook system]]&lt;br /&gt;
&lt;br /&gt;
==[[Question_database_structure|Question bank and question engine]]==&lt;br /&gt;
&lt;br /&gt;
Note that the tables for the core question bank, and also the tables for the individual question types, all have names starting with question_, however, it is easier to think of them separately.&lt;br /&gt;
&lt;br /&gt;
;question&lt;br /&gt;
;question_answers&lt;br /&gt;
;question_attempts&lt;br /&gt;
;question_categories&lt;br /&gt;
;question_sessions&lt;br /&gt;
;question_states&lt;br /&gt;
&lt;br /&gt;
[[#Question_types|See below for a list of question type tables]].&lt;br /&gt;
&lt;br /&gt;
==Messaging system==&lt;br /&gt;
&lt;br /&gt;
;message_*&lt;br /&gt;
&lt;br /&gt;
==[[Moodle_Network|Moodle Network]]==&lt;br /&gt;
&lt;br /&gt;
;mnet_application&lt;br /&gt;
;mnet_enrol_assignments&lt;br /&gt;
;mnet_enrol_course&lt;br /&gt;
;mnet_host&lt;br /&gt;
;mnet_host2service&lt;br /&gt;
;mnet_log&lt;br /&gt;
;mnet_rpc&lt;br /&gt;
;mnet_service&lt;br /&gt;
;mnet_service2rpc&lt;br /&gt;
;mnet_session&lt;br /&gt;
;mnet_sso_access_control&lt;br /&gt;
[[Media:mnet_erd.png|ER Diagram of the MNet system]]&lt;br /&gt;
&lt;br /&gt;
==Caching==&lt;br /&gt;
&lt;br /&gt;
;cache_filters&lt;br /&gt;
;cache_flags&lt;br /&gt;
;cache_text&lt;br /&gt;
&lt;br /&gt;
==Miscellaneous==&lt;br /&gt;
&lt;br /&gt;
;scale&lt;br /&gt;
;scale_history&lt;br /&gt;
;sessions2&lt;br /&gt;
;timezone&lt;br /&gt;
;post&lt;br /&gt;
&lt;br /&gt;
==Activity modules==&lt;br /&gt;
&lt;br /&gt;
* Assignment&lt;br /&gt;
* Chat&lt;br /&gt;
* Choice&lt;br /&gt;
* Data&lt;br /&gt;
* Feedback&lt;br /&gt;
* Forum&lt;br /&gt;
* Glossary&lt;br /&gt;
* Hotpot&lt;br /&gt;
* Label&lt;br /&gt;
* Lesson&lt;br /&gt;
* [[Quiz_database_structure|Quiz]]&lt;br /&gt;
* Resource&lt;br /&gt;
* SCORM&lt;br /&gt;
* Survey&lt;br /&gt;
* Wiki&lt;br /&gt;
* [[Workshop#Database_structure|Workshop]]&lt;br /&gt;
&lt;br /&gt;
==Authentication plugins==&lt;br /&gt;
&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
==Blocks==&lt;br /&gt;
&lt;br /&gt;
;block&lt;br /&gt;
;block_instance&lt;br /&gt;
;block_pinned&lt;br /&gt;
;block_rss_client&lt;br /&gt;
;block__search_documents&lt;br /&gt;
&lt;br /&gt;
==Enrolment plugins==&lt;br /&gt;
&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
==Question types==&lt;br /&gt;
&lt;br /&gt;
* [[Calculated_question_type#Database_tables|Calculated]]&lt;br /&gt;
* [[Matching_question_type#Database_tables|Matching]]&lt;br /&gt;
* [[Multiple_Choice_question_type#quiz_multichoice_table|Multiple choice]]&lt;br /&gt;
* [[Cloze_question_type#Data_structure|Multi-answer (Cloze)]]&lt;br /&gt;
* [[Numerical_question_type#Database_tables|Numerical]]&lt;br /&gt;
* [[Random_Short-Answer_Matching_question_type#Database_tables|Random short-answer matching]]&lt;br /&gt;
* [[Short_Answer_question_type#Database_tables|Short answer]]&lt;br /&gt;
* [[True/False_question_type#Database_tables|True/false]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Media:Moodle2erd.png|ER Diagram of the installed system ]] - a single big png image&lt;br /&gt;
* [[Database_Schema]] - some automatically generated diagrams.&lt;br /&gt;
* [[Database FAQ]]&lt;br /&gt;
* [[XMLDB_Documentation]] - the XMLDB system used to define, edit, and update the database structure.&lt;br /&gt;
* [http://www.examulator.com/er Moodle 2.2 ER Diagram] by Marcus Green&lt;br /&gt;
* [http://www.examulator.com/er/er_howto.html Moodle ER Diagram HowTo]: Creating a Moodle ER Diagram by generating a log from the install process&lt;br /&gt;
&lt;br /&gt;
[[Category:XMLDB]]&lt;/div&gt;</summary>
		<author><name>Svbrajudatla</name></author>
	</entry>
</feed>