BLOG · BUSINESS SYSTEMS

What is a database?
A plain explanation for business owners

A database stores data in an orderly, linked way for many users at once. Where it beats Excel, when a spreadsheet is enough and what backups need.

9 min read

Listen to this article

6 min · Business systemsA conversation by the WebDrift team, made with AI voices (Google NotebookLM)
0:005:25
All episodes

Updated: Auf Deutsch lesen

A translucent cabinet of glowing drawers, each holding neat rows of index cards, in a dark roomBusiness systems

A database organises information so programs can query, change and connect it. Whether your business needs its own application depends on tasks, relationships, permissions and existing tools.

A database does not automatically resolve incorrect information or unclear workflows. This article explains the idea through customers and orders, assesses Excel and describes what a usable backup needs to provide.

How does a database differ from an application?

A database holds organised information. An application provides the interface and workflows people use to work with it.

Consider a small joinery business. The office wants to know which orders belong to a customer and which still need approval. An application could display a customer view and open tasks. Behind that interface, a database stores contacts, orders and their relationships.

A database management system is the software managing storage and access. PostgreSQL is one example. Its data definition documentation describes tables, data types and rules. Office staff need not see this technology directly; the application should provide understandable tasks.

A contact file is also a collection of data. A database does not automatically make information correct or current. Duplicate people or incorrectly assigned orders need suitable checks and maintenance. Technology and business rules must work together.

The first question is therefore not “Which database should we buy?”. Ask which task the existing application fails to support. Suitable customer-management software may already include the database you need. Assess existing possibilities before commissioning development.

How do tables connect customers and orders?

A relational database organises information in tables connected through references. “Relational” describes this model of tables and relationships.

At the joinery business, each customer receives a unique reference. Every order receives its own reference and points to the relevant customer. The address need not then appear as an independently maintained copy in every order row. Whether an earlier order address should also remain as a historical snapshot is a business decision.

This simplified model shows the relationships. The labels name the fields in the model.

Information areaImportant fieldsRelationship
CustomerUnique reference, display name, contact routeCan have several orders
OrderUnique reference, customer reference, statusBelongs to the specified customer
DocumentUnique reference, order reference, approved fileBelongs to the specified order

One customer can therefore have several orders. Each order points to its customer, and a document points to its order. A shared view can bring that information together without independently copying everything. Preserving the references is essential.

A primary key uniquely identifies a record. A foreign key points to a record in a related table. The PostgreSQL constraint documentation explains these capabilities. Rules must actually be defined; similar column names alone do not establish a checked relationship.

In the model, a rule could prevent an order referencing a nonexistent customer. Other rules can check required fields and permitted status values. Your business defines those values. Otherwise, software can store technically valid information that is operationally unusable.

When is Excel enough, and when do you need a database application?

Excel can suffice for manageable lists and calculations. A database application becomes interesting when relationships, roles and recurring workflows need specific support.

Excel is not inherently limited to a single editor. Microsoft documents simultaneous editing through co-authoring. According to Microsoft, the file must be stored in OneDrive, OneDrive for Business or a SharePoint Online library, and everyone needs a supported version such as Excel for Microsoft 365 or Excel for the web. An ordinary file in a shared network folder does not automatically meet these requirements.

The joinery business might manage straightforward material planning well in Excel. If it needs to connect customers, multiple orders, document approvals and responsibility, assess an existing application. Employee numbers alone do not decide. What matters is which rules and tasks need to work reliably.

A customer relationship management (CRM) system can support this task. Check whether a CRM actually represents your orders and necessary permissions. Our guide to CRM for small businesses develops that comparison. An application does not possess every desired feature merely because it uses a database.

A practical comparison uses identical cases: update a contact, create a second order, approve a document and test a suspended account. Have an office employee complete them. If the workflow stays understandable and necessary relationships remain intact, an existing solution may suffice.

How do simultaneous changes and access rights work?

A database can treat related changes as a transaction. Which conflicts are prevented and who can access information still depend on the actual design.

A transaction combines changes into one unit. The PostgreSQL transaction tutorial describes committing that unit completely or rolling it back. This can protect related steps from leaving an incomplete intermediate result.

At the joinery business, an application might save order approval and its intended follow-up entry together. If the second step fails, the result should not be left half saved. The application must actually implement those steps within a transaction.

Two people may also edit the same order simultaneously. A suitable conflict rule could reject an outdated change or require another review. The database does not inherently know which business decision is correct. Transactions and constraints need to fit the workflow.

Access rights form another layer. The delivery team might need order details and approved drawings while some internal information remains visible only in the office. Test reading, changing and approval separately. A hidden button alone is insufficient evidence that access is refused.

Test suspended accounts and staff cover too. Employees should understand which responsibility corresponds to which permissions. One powerful shared account may be convenient, but it makes attributing changes harder.

What roles do document databases and vectors play?

Not every database primarily uses linked tables. Other models organise data as documents; vectors support particular similarity searches.

A document model can group related information into a structured record. “Document” here does not necessarily mean a text file; it means a stored data structure. MongoDB's embedded data documentation explains how related details can be stored within such a structure.

For the joinery business, an application might group different characteristics of a product configuration. That does not make a document model inherently better than tables. Frequent queries, changes and relationships determine a suitable design. A flexible model still needs clear meanings and checks.

A vector in this context is a sequence of numbers used to compare calculated similarity. Search could use it to find similar document passages. The numbers are not the readable original text. Original information, its source and permissions remain important.

A separate vector database is not required for every such search. The pgvector project documents vector search as a PostgreSQL extension. Relational data and vectors can therefore coexist in one system. Whether you need this search at all should follow from an actual task.

What does a backup need to restore?

A usable backup supports restoring necessary information and its operating context. Also assess the application, documents, accounts and permissions.

At the joinery business, order records may sit in the database while drawings occupy a separate file store. A database backup does not necessarily contain those files. Restoring only references could leave the drawings inaccessible. Establish which components need coordinated backups.

The PostgreSQL documentation on database dumps describes restoration prerequisites and roles, among other details. A fully running system also needs the restoration prerequisites to be met. The dump must match the chosen method and intended environment.

Set two objectives. How many recent changes can be missing after an outage? How long may restoration take? For an exercise, you might assume at most 24 hours of missing changes and four hours to restore operation. Adapt these example targets to your business.

Rehearse restoration in a protected test environment. Check selected customers, orders, statuses, documents and permissions. Record actual duration and missing changes. A daily backup job alone does not establish that either objective is achieved.

An export for switching providers serves a different purpose. It aims to make required information usable in another system. A backup can instead be tied to a particular database system or method. Our guide to what an API is explains why interfaces and exports need separate checks.

  • Information locations and relationships are described.
  • Required fields, unique references and status rules were assessed.
  • An existing spreadsheet or application was compared using identical tasks.
  • Concurrent changes and suspended accounts were tested.
  • Documents and database records belong in the backup plan.
  • Restoration was recorded with duration and missing changes.
  • Operation, staff cover and later export are agreed.

Conclusion: Good data storage follows the task

A database helps organise information and relationships. Its rules, permissions and backups still need to suit your business. First assess whether existing tools support your tasks. Our business systems provide a framework; a conversation with WebDrift can help assess customers, orders and documents together.

Related reading: Invoicing software for small businesses in Germany.

Sources

databaseExcelspreadsheetsdata backupbackupbusiness systems

FREQUENTLY ASKED QUESTIONS

Answered briefly.

01Can several people edit the same Excel file?
Yes, using supported co-authoring with the required storage locations and versions. Distinguish this from an ordinary shared-folder file.
02Does a database automatically prevent incorrect orders?
No. Configured constraints can prevent particular invalid information. Business checks and suitable conflict rules remain necessary.
03Does every similarity search need a separate vector database?
No. Extensions such as pgvector can enable vector search in PostgreSQL. Original documents, provenance and permissions still need preservation.
04Is an export the same as a backup?
No. An export can support using information after a move. A backup supports restoration of the intended system; test both purposes.
05Why should a restoration test include files?
Orders may reference separately stored drawings or other documents. Restoring only the references may leave the files inaccessible.

ABOUT THE AUTHOR

Hamada

Founder & CEO of WebDrift

Combines system administration, software architecture and automation with an eye for thoughtful design. Your contact from the first idea to launch.