Technology

PostgreSQL & Data

Reliable, well-modelled data layers and warehousing.

Every application is ultimately a database with opinions. We model data properly the first time — because schemas are the one thing that's expensive to change once production data is flowing. Screens get redesigned and frameworks replaced; the tables underneath usually outlive both, shortcuts included. Our work here is the layer under your product: how data is shaped, changed without downtime, kept fast as it grows, recovered after a bad day, and read by reports without slowing customers down. The database runs in your cloud account, under your name.

What we do

How we deliver PostgreSQL & Data.

Schema design

Entities and relationships modeled for correctness now and flexibility later.

Performance tuning

Indexes, query plans and partitioning that keep milliseconds flat as rows grow.

Migrations & safety

Zero-downtime schema changes with rollback paths and backups tested.

Warehousing

Analytical stores fed from production without slowing production down.

Tenant isolation

Shared schema or a database per customer, decided early, with the boundary enforced in the data layer rather than remembered in every query.

Off spreadsheets and old systems

Data moved in stages: mirrored first, checked against the old source, and promoted to the source of truth only once the numbers agree.

In practice

What this actually involves.

Model the business, not the first screen

The data model is the hardest decision to undo, so we start from business rules, not the first form: which customer buys at which price, what an order may turn into, which record wins when two writes land in the same second. Each fact gets one authority. On SG-Mart, Odoo stays the source of truth for catalogue, price lists and tax across web, iOS and Android, because any duplicate begins drifting from the day it exists.

Compliance is a schema requirement

Saudi ZATCA's Phase 2 makes every invoice carry a cryptographic hash of the previous invoice, so invoices have to be written strictly in order by a single writer — the database must enforce that, not the application hope for it. Egypt's ETA e-invoicing needs every product coded to GS1 or EGS before an invoice can clear, which is a data-cleaning job in its own right. And an audit log only counts if you can show nobody altered it.

Change the schema in two releases, not one

Renaming a column in place breaks any running code that still expects the old name. The safe pattern is expand, then contract: add the new structure beside the old, backfill it in small batches so no large table stays locked, ship code that uses it, and drop the old column in a later release once nothing reads it. Each step can be reversed on its own, and customers never see a maintenance page.

The query that was instant at launch

On SG-Mart, queries fine at launch became the bottleneck as the catalogue grew: instant with 200 products can mean seconds with 20,000. The usual causes are few — a missing index, a query issued once per row instead of once per page, a whole table loaded where pagination would do. We read the query plans, fix the worst offenders first, and test against the data you'll have in a year.

Rehearse the restore after a human mistake

A failed server is only one reason to restore; the bad day can just as easily be a migration gone wrong or a delete without its filter. A useful drill covers recovering to the moment before the mistake, and bringing back one table or one customer's records without rewinding everyone else. Agree first, as numbers, how much data you can afford to lose and how long you can be down — then test against them.

Reporting that doesn't slow the checkout

Month-end reports and live orders shouldn't compete for the same database. Heavy reads belong on a replica or in reporting tables refreshed on a schedule, so a finance export never holds up the rows a customer is paying for. Reporting is also a sensible first slice when replacing an old system: read-only and loosely tied to everything else. Dashboards and forecasts built on top are our Data & Analytics work; this is the plumbing underneath.

What you get

Outcomes, not deliverables.

  • Queries that stay fast at 100× today's data
  • A schema that supports the next feature instead of blocking it
  • Backups that have actually been restored, not just scheduled
  • Schema changes shipped while customers keep using the product
  • The database, its credentials and its backups in your own cloud account
Straight answers

What you'll want to ask.

Why PostgreSQL?

Most business data is relational — customers, orders, prices, invoices — and PostgreSQL handles it with strong integrity guarantees, mature tooling and a wide pool of engineers who know it. For anything holding production data we prefer boring, well-documented technology. If another database already carries your workload, we won't move you for the sake of it.

Should we use a managed database or run our own?

For most products, managed. At an early stage we'd rather pay for reliability than operate the database ourselves, and we'd advise you the same. It sits in your cloud account, in a region picked for where your users' data is legally required to sit, not wherever the console defaulted. Self-hosting makes sense later, with a dedicated operations team or a requirement no managed service meets.

Our database is slow. Do we need to rebuild?

Rarely. Slowness usually traces to a handful of queries, and each query plan shows where the time goes. Fixing the worst few — an index, a rewritten query, pagination — often removes most of the pain without touching the schema. We'll tell you which problems are cheap to fix and which are structural before anyone proposes a rebuild.

Can you move our data off spreadsheets or an old system?

Yes, in stages rather than over one weekend. New tables start by mirroring the old source and are reconciled against it until the figures match; only then do they become the source of truth. Spreadsheets are a common starting point — Go-Native, for example, ran vendor management on Excel until we replaced it with one central system.

Who owns the database and the data?

You do. The database runs in your cloud account with root access and billing in your hands; we work through a role you can withdraw at any time. Credentials belong to your organisation, not to one person's login. Schema, migration scripts and documentation live in your repository, so another team can take over without a conversation with us.

Do you also build dashboards and a data warehouse?

Yes, through our Data & Analytics engagement: pipelines from your source systems into one modelled warehouse, with dashboards on top. This page covers the layer those depend on. If the production database is poorly modelled, a warehouse faithfully copies the confusion, so fixing the source first is usually the cheaper order.

Let's talk about postgresql & data.

Tell us about your product, timeline and goals — we'll get back within one business day.