Database
Written by Andy Sim
Last updated
A database is an organised store of information that a website or app can search, add to, change and delete quickly.
Instead of keeping everything in the pages themselves, a dynamic site stores its content in a database and builds each page on request. Data is arranged in tables, for example one for customers and one for orders. The two main families are relational databases, such as MySQL, and NoSQL databases.
Examples
- A shop storing products, prices and stock.
- A booking system storing dates, guests and payments.
- A blog storing every post, comment and category.
Why it matters for your website
The database is where your business information lives, so it needs regular backups and care. Good design keeps the site fast as the content grows, while a poorly kept one is a common cause of slow pages.