Web applications can use two types of database structure: single-file or flat-file databases and multi-file relational or structured databases, depending on the app’s complexity.