Database
A database is an organized system for storing structured data so software and people can add, find, update and delete records reliably, even when many users work at once.
Also called: database, relational database, Postgres, databases, DB
A database is an organized system for storing structured data. Software and people use it to add, find, update and delete records reliably, even when many users work at once. Your CRM, billing tool, website forms and product all sit on databases. GTM teams meet them directly when they build internal tools, store enrichment results or run custom workflows.
How it works
Most business databases are relational. Data lives in tables, like a spreadsheet with stricter rules.
- Tables: one per kind of thing, like accounts, contacts or deals.
- Columns: each has a name and a data type, such as text, number, date or true and false.
- Rows: one record each. Every row has a primary key, a unique ID nothing else shares.
- Relationships: a contact row stores its account's ID, linking the two tables.
- Queries: you read and change data with SQL, the standard query language.
- Indexes: lookup structures that make searches on chosen columns fast.
- Transactions: a group of changes that all succeed or all fail, so data never ends up half-written.
Other database types exist for other jobs. Document databases store flexible JSON records. Key-value stores are fast caches. A vector database stores embeddings for AI search. Graph databases store networks of relationships.
Databases are tuned for many small, fast operations. That's different from a data warehouse, which is tuned for large analytical queries over lots of history.
Example
A GTM engineer builds a signal pipeline that checks 4,000 target accounts each week for hiring, funding and website changes (all numbers hypothetical). The first version writes results to a spreadsheet.
By week ten, the sheet holds 40,000 rows. It loads slowly. Two automations write to it at the same time and overwrite each other. Nobody can easily ask "which accounts had two or more signals this month?"
The engineer moves the data into a small hosted Postgres database with two tables:
| Table | Key columns |
|---|---|
| accounts | account_id (primary key), domain, crm_id |
| signals | signal_id (primary key), account_id, type, detected_at, source |
Now a five-line SQL query answers the question in under a second. Writes from different automations don't collide. A unique rule on account and signal type per week stops duplicates. The CRM receives only the scored summary, not raw rows. Hosting costs are small next to the hours saved.
By company size
Small business: you use databases every day without touching one. Your POS, booking tool and store platform handle it. If you're tracking customers in a sheet that keeps breaking, a simple CRM or a spreadsheet as database tool is usually the next step, not raw Postgres.
Mid-market: a GTM engineer may run a small database for signal tracking, enrichment caching or a custom routing table. Keep it simple: a hosted service, clear tables, backups on, and one owner. Document the data model so the next person can follow it.
Enterprise: databases are managed by engineering and IT, with strict access and security. GTM teams usually read from replicas or from the warehouse instead of production systems. Any new database needs a security review and a clear data retention plan.
Database vs spreadsheet
A spreadsheet is flexible and visual but weak at scale, concurrency and rules. A database enforces types, unique keys and relationships, and it handles many writers at once. When a sheet has more than a few thousand rows, several automations writing to it, or people arguing over which copy is current, it's time to move.
Why it matters for GTM teams
As GTM work gets more technical, teams store more of their own data: signals, scores, enrichment history and AI outputs. Cramming all of it into CRM custom fields gets expensive and messy. We often add a small database next to the CRM for raw and historical data, then sync only the useful summary into the CRM. Reps see clean records. The full history stays queryable.
Common mistakes
- Using a spreadsheet as a production system long after it stopped coping.
- Pushing every raw data point into the CRM instead of storing it elsewhere.
- No primary keys or unique rules, so duplicates creep in.
- Skipping backups on a database that real workflows depend on.
- Querying production app databases directly for reports, which can slow the app.
- Storing personal data without access controls or a deletion plan.
FAQ
Is a CRM a database?
A CRM is an application built on top of a database. It adds screens, permissions, workflows and reports around data stored underneath. You work with the database through the CRM's interface and API rather than directly.
What is the difference between a database and a data warehouse?
An operational database is built for many small, fast reads and writes, like saving a new signup. A data warehouse is built for big analytical queries across lots of history, like revenue by cohort over three years. Apps write to databases, and data usually gets copied into a warehouse for reporting.
What is Postgres?
Postgres, short for PostgreSQL, is a popular open-source relational database. It's known for reliability and flexibility, and many hosted services run it for you. Lots of internal GTM tools and small apps store their data in Postgres.