Database
A database is an organised collection of data stored electronically so that it can be retrieved, updated and managed by a database management system. In finance, ledgers, customer records and transactions are held in databases.
What it is
A database is an organised collection of data, held electronically, so that programs and people can store, find and change records without searching through files by hand. A database management system (DBMS) is the software that controls access to the data, keeps it consistent and answers requests for it.
A database has three parts:
- The data itself, held as records.
- The structure, called the schema, which defines what is stored and how items relate.
- The management system, which applies the schema, controls who may read or change data and processes requests.
The main types are relational databases, where data sits in tables of rows and columns, and non-relational databases, which hold documents, name-value pairs or graphs. A database that supports daily transactions differs in purpose from a data warehouse built for reporting.
The ISO/IEC 9075 family of standards, known as SQL, specifies data structures and basic operations on data in databases and the integrity constraints that govern them.
Why it matters
Finance work runs on records: postings, trades, customers, prices and balances. A database keeps one stored copy of each record, so several systems and users read the same figures.
When the structure is unclear or the data is duplicated across databases, totals disagree and reports cannot be reconciled to the ledger.
Worked example
Illustrative numbers. A small company stores invoices in a database. One table holds 2,000 invoice rows, each with an invoice number, customer, date and amount. Another table holds 300 customer rows.
An analyst asks for the total amount invoiced in one month. The management system reads only the invoice rows for that month and returns one figure, for example 450,000 euro. The same stored data answers a question about one customer without any copy being made.
Who uses it
- Data analysts query databases to extract and summarise data for reports.
- Business intelligence analysts connect reports and dashboards to databases and warehouses.
- Master data specialists maintain the customer and product records that a database holds.
- Regulatory reporting analysts extract the figures that filings are built from.
- FP&A analysts pull actuals from the databases behind the ledger into models.
Common confusions
- A database is not a spreadsheet. A database enforces structure and handles many users and large volumes; a spreadsheet is a single file.
- A database and a database management system are different things. The first holds data, the second is the software that manages it.
- A data warehouse is a database designed for analysis across sources, not a replacement for transaction systems.
- SQL is a language for working with a relational database. It is not the database itself.