Data & Architecture
PostgreSQL and PostGIS: databases that grow with you
PostgreSQL is the foundation of almost all our platforms. We design data models that grow with you, use PostGIS for maps and search areas, and take care of backups and fast queries.
PostgreSQL is an open relational database that, with PostGIS, also handles geodata such as locations and areas.
Data flow
How PostgreSQL & PostGIS fits into your processes
- Application
- Query
- Index
- PostgreSQL
- Backup
Use cases
What we build with PostgreSQL & PostGIS
Large data volumes
Full-text search across tens of millions of records.
Geodata
Search areas and locations with PostGIS.
Multi-tenancy
Many customers cleanly separated on one platform.
Backups
Regular backups and tested restores.
Typical projects
Why companies bring us in
- 01
Search across very large datasets
- Starting point
- Company data on more than 80 million companies needs to be quickly searchable.
- Solution
- We create full-text indexes with tsvector and GIN and check queries with EXPLAIN.
- Result
- Search stays fast even with large data volumes.
- 02
Search areas on the map
- Starting point
- Users want to limit results to an area they draw or a radius.
- Solution
- We store locations and areas with PostGIS and filter directly in the database.
- Result
- Map and result list show the same hits, without detours through external services.
- 03
Take over an existing database
- Starting point
- A database that has grown over time is slow, and nobody knows exactly how it is backed up.
- Solution
- We analyze the schema and slow queries, add indexes and set up backups with a restore test.
- Result
- The database is documented, faster and verifiably recoverable.
From practice
PostgreSQL & PostGIS in our projects
- Company data on more than 80 million companies, searchable with full-text search.
- Search areas on the map as geofilters with PostGIS.
- Property management, editorial system and bookkeeping assistant run on PostgreSQL.
- A self-hosted CRM for commercial space with per-team permissions via Row Level Security.


Approach
How we introduce PostgreSQL & PostGIS
- 1
Data model
Plan tables, relationships and indexes.
- 2
Migrations
Changes versioned and traceable.
- 3
Performance
Measure and speed up queries.
- 4
Operations
Backups, updates and monitoring.
Result
What you get from us
- Data model with relationships and constraints
- Indexes for search, filters and geodata
- Versioned migrations
- PostGIS queries for radius and areas
- Backups with documented restore test
- Monitoring of load and slow queries
create extension if not exists postgis;
alter table companies add column location geography(Point, 4326);
create index companies_location_idx on companies using gist (location);
-- Firmen im Umkreis von 25 km um Frankfurt
select id, name
from companies
where ST_DWithin(
location,
ST_SetSRID(ST_MakePoint(8.6821, 50.1109), 4326)::geography,
25000
)
limit 50;
Quality
What we watch for with PostgreSQL & PostGIS
- 1
Indexes and EXPLAIN
We check query plans with EXPLAIN ANALYZE instead of creating indexes on a hunch.
- 2
Locks during migrations
We plan changes to large tables so they do not block operations.
- 3
Coordinate systems
We store geodata consistently and calculate distances with geography instead of degrees.
- 4
Limit connections
Many concurrent connections slow down PostgreSQL; a connection pooler absorbs them.
- 5
Test the restore
A backup only counts once the restore has been tested.
PostgreSQL & PostGIS
Common questions
Tap a question.
