Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Module 3: Databases

The third module of Hosting and operations, choosing a database in the official order, SQLite in production, database servers for a site, database backups and moving between engines. Four lessons, 2 hours 55 minutes.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/trainers/hosting-operations/module-03-databases/README.md

On this page

Module 3: Databases

Exponential 6.x supports six databases, and a host must run, check and back up whichever one a plan includes. This module starts with the project's official order and how to choose, spends a lesson on SQLite (the default, and a production database for one machine), then covers database servers and ends with backups and moving a site between engines.

At a glance

CourseHosting and operations
Duration2 hours 55 minutes (four lessons)
Lessons4
LevelIntermediate
FormatHands-on; one Linux virtual machine with root per learner

Lessons

LessonDurationWhat learners do
3.1 Choosing a database40 minLearn the official order, compare engines, find a site's database
3.2 SQLite in production45 minRun the monitoring checks, ANALYZE and a truncating checkpoint
3.3 Database servers for a site45 minCreate a PostgreSQL or MariaDB database and install on it
3.4 Database backups and moving between engines45 minBack up, check and restore a SQLite database

Preparing this module

  • A training installation on SQLite per learner, and the sqlite3 command-line program.
  • For lesson 3.3: PostgreSQL or MariaDB installed on each learner's virtual machine, with the matching PHP extension (pgsql or mysqli) and a second copy of the code to install into. Decide in advance which engine the class uses.
  • Throwaway training passwords only; never show a real password on the projector.
  • Rehearse the restore of lesson 3.4 once on your own machine; it is the step learners remember.

Timing plan

TimeItem
0:00Lesson 3.1 (40 min)
0:40Lesson 3.2 (45 min)
1:25Break (15 min)
1:40Lesson 3.3 (45 min)
2:25Lesson 3.4 (45 min)
3:10End (2 h 55 min of lessons plus one break)

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x