# Database activity module

<div class="mw-content-ltr mw-parser-output" dir="ltr" id="bkmrk-activities-managing-" lang="en">## <span class="mw-headline" id="bkmrk-what-is-the-database-1">What is the Database activity?</span>

The Database activity allows the teacher and/or students to build, display and search a bank of record entries about any conceivable topic. The format and structure of these entries can be almost unlimited, including images, files, URLs, numbers and text amongst other things.

  
Watch this video to see how to set up a Database activity.

<figure class="embedvideo" style="width:640px;"><div class="embedvideo-wrapper" style="height:360px;"><div class="embedvideo-consent"><div class="embedvideo-overlay"><div class="embedvideo-loader"><div class="embedvideo-loader__fakeButton">Load video</div><div class="embedvideo-loader__footer"><div class="embedvideo-loader__service">YouTube</div> </div> </div><div class="embedvideo-privacyNotice hidden"><div class="embedvideo-privacyNotice__content">YouTube might collect personal data. [Privacy Policy](https://www.youtube.com/howyoutubeworks/user-settings/privacy/)</div> </div> </div></div></div><figcaption>Setting up a Database activity</figcaption></figure>## <span class="mw-headline" id="bkmrk-how-is-it-set-up%3F">How is it set up?</span>

1. In a course, with the editing turned on, choose 'Database' from the activity chooser.
2. Give it a name and, if needed, a description.
3. Expand the other sections to define the settings you want, in particular the Entries section.
4. Click Save and Display
5. From the next page, click to either create new fields, import a preset or use a preset.
6. Once your fields are set up, click the Templates tab to edit and save templates. For more help, see [Database templates](https://docs.moodle.org/503/en/Database_templates "Database templates")

## <span class="mw-headline" id="bkmrk-how-does-it-work%3F">How does it work?</span>

### <span class="mw-headline" id="bkmrk-student-view">Student view</span>

Students click on the Database icon in the course to access it and add an entry.

They can usually see entries individually (View single) and in a list (List view) and are able to search entries.

### <span class="mw-headline" id="bkmrk-teacher-view">Teacher view</span>

Teachers additionally see the set up tabs and can edit,delete, approve/unapprove entries as required.

## <span class="mw-headline" id="bkmrk-more-information">More information</span>

- [Database settings](https://docs.moodle.org/503/en/Database_activity_settings "Database activity settings")
- [Building Database](https://docs.moodle.org/503/en/Building_Database "Building Database")
- [Database templates](https://docs.moodle.org/503/en/Database_templates "Database templates")
- [Using Database](https://docs.moodle.org/503/en/Using_Database "Using Database")
- [Database activity FAQ](https://docs.moodle.org/503/en/Database_activity_FAQ "Database activity FAQ")

</div>---

<small>Source: [docs.moodle.org/503/en/Database activity module](https://docs.moodle.org/503/en/Database%20activity%20module) — MoodleDocs (GPL) · Imported 2026-11-10.</small>