Boring Data, Unbreakable Apps: Sovereign Business Software on MariaDB in 2027

Three copies of your data, three Swiss data centres, one open source database. How MariaDB and Hikube keep your ERP, CRM and internal apps running, compliant and smart.
Nobody gets excited about orders, invoices and customer records. But that boring data runs your business, and in 2027 it has to do more than ever. It has to stay in Switzerland. It has to survive the loss of an entire data centre without anyone noticing. It has to remember every change for the auditors, absorb every new field the sales team asks for, and answer questions in plain language.
MariaDB does all of that in one open source database. Run it on Hikube, Hidora’s sovereign cloud with automatic replication across three Swiss data centres in Geneva, Gland and Lucerne, and you get a stack where no layer is locked in and no byte leaves the country.
Here is how it fits together, with a short SQL example for each piece.
Three copies, three data centres, zero drama
When the ERP goes down, the whole company notices. Invoicing stops, the warehouse waits, and the phones start ringing. That is why high availability is the first thing to get right.
On Hikube’s managed MariaDB, redundancy comes from one layer or the other, depending on the number of replicas. With one replica, your volume is replicated across the three Swiss data centres. With three, Hikube places one MariaDB node in each data centre and MariaDB replicates your data between them, and if a site goes down, a replica takes over as primary. For synchronous, multi-primary replication, you can run Galera Cluster, built into MariaDB Server, in your own Kubernetes cluster on Hikube.
In that do-it-yourself setup, Galera keeps three (or more) MariaDB nodes in synchronous, multi-primary replication. A transaction is only committed when the cluster agrees on it, so every node holds the same data. Place one node in each data centre and you get a cluster that maps one to one onto Hikube’s architecture. Here is how it compares with the managed service:
- Managed replication protects your service. If a site goes dark, a replica takes over as primary, though a failover can lose the very last transactions.
- Galera replication protects your service. If a whole data centre goes dark, the two remaining nodes keep quorum and keep accepting reads and writes. Your application just reconnects.
Three is not a random number here. Galera needs a majority to keep running, and three sites is the smallest setup that survives the loss of any one of them. Because Geneva, Gland and Lucerne are a few milliseconds apart rather than a continent apart, synchronous replication stays fast enough for everyday business workloads.
On a Galera cluster, checking it is one line:
SHOW GLOBAL STATUS LIKE 'wsrep_cluster_size';
-- wsrep_cluster_size | 3
Either way, your data lives in three Swiss data centres. That is high availability without the enterprise price tag.
Your data, your jurisdiction
Sovereignty is not only about where the servers stand. It is also about who controls the software and the keys.
Where it lives. On Hikube, the data never leaves Swiss territory, including all three replicas and the backups. For companies working under the Swiss revised Federal Act on Data Protection (nFADP), or serving public sector and regulated clients, that settles the data residency question at the infrastructure level.
Who controls the code. MariaDB Server is open source under the GPL, developed in the open with the MariaDB Foundation as its guardian. No licence server, no usage audit, no vendor that can change the rules of the game. You can inspect it, run it anywhere, and move it whenever you want.
Who holds the keys. On the managed MariaDB service, Hikube encrypts the storage at rest (LUKS), with the keys managed by Hidora. To hold the keys yourself, run MariaDB in your own Kubernetes cluster on Hikube. There, MariaDB encrypts data at rest at the table and tablespace level, with encryption keys managed by a key management plugin that you configure and control:
CREATE TABLE customers (
id INT PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(200) NOT NULL,
email VARCHAR(200),
country CHAR(2)
) ENCRYPTED=YES;
Swiss infrastructure, open source code, and your own keys if you run your own cluster. Sovereignty at every layer, not just a label on the data centre.
Your database never forgets
Auditors ask what an invoice looked like on 31 December. Customers dispute a price that changed last spring. Swiss bookkeeping rules expect business records to be kept for years. Most teams solve this with history tables, triggers and a lot of fragile code.
MariaDB solves it with system-versioned tables. Add one clause, and the database keeps every past version of every row automatically:
CREATE TABLE invoices (
id INT PRIMARY KEY AUTO_INCREMENT,
customer_id INT NOT NULL,
amount DECIMAL(12,2) NOT NULL,
status VARCHAR(20) NOT NULL
) WITH SYSTEM VERSIONING;
-- What did invoice 1042 look like at year end?
SELECT * FROM invoices
FOR SYSTEM_TIME AS OF TIMESTAMP '2026-12-31 23:59:59'
WHERE id = 1042;
No triggers, no shadow tables, no application changes. And with three replicas on Hikube, one per data centre, that full history is itself replicated three times, in Switzerland.
Custom fields without the chaos
Every CRM hears the same request every week: “Can we just add one more field?” Preferred language, partner tier, a reference from the old system. Redesigning the schema each time is slow and risky.
MariaDB’s JSON support lets you keep the core tables clean and put the flexible attributes in a JSON column, while still querying them with SQL:
ALTER TABLE customers ADD COLUMN attributes JSON;
UPDATE customers
SET attributes = JSON_SET(COALESCE(attributes, '{}'),
'$.preferred_language', 'fr')
WHERE id = 7;
SELECT name FROM customers
WHERE JSON_VALUE(attributes, '$.preferred_language') = 'fr';
The structured data stays structured. The messy, fast-changing details get a home that does not need a migration every sprint.
Smart search that stays home
This is where boring data gets exciting. Your CRM notes, support tickets and project reports hold years of knowledge that keyword search cannot reach. “Customers unhappy about delivery delays” will not match a ticket that says “the parcel arrived two weeks late”.
MariaDB Vector, built into MariaDB Server since the 11.7 release and part of the 11.8 LTS, stores embeddings right next to your business data and searches them by meaning:
CREATE TABLE ticket_notes (
id INT PRIMARY KEY AUTO_INCREMENT,
customer_id INT NOT NULL,
note TEXT,
embedding VECTOR(768) NOT NULL,
VECTOR INDEX (embedding)
);
-- Five notes closest in meaning to the user's question
SELECT id, note
FROM ticket_notes
ORDER BY VEC_DISTANCE_COSINE(embedding, VEC_FromText(?))
LIMIT 5;
For sovereignty, this matters more than it looks. A separate vector database often means a separate cloud service, sometimes outside the country. With MariaDB Vector, the embeddings live in the same database, under the same encryption, in the same three Swiss data centres as the rest of your data. Pair it with an embedding model running on Hikube’s GPU instances, and your AI search never leaves Switzerland at all.
Getting started on Hikube
There are two ways to run MariaDB on Hikube.
Managed MariaDB. Create a database from the Hikube console or API: pick the version (11.8 LTS gives you vector search, system versioning and JSON in one long-term supported release), the size and the number of replicas. With one replica, your data sits on Hikube’s replicated storage. With three, Hikube places one MariaDB node in each data centre and MariaDB replicates your data between them; if a site goes down, a replica takes over as primary.
Your own MariaDB on a Hikube Kubernetes cluster. If you need full control, such as a multi-primary Galera cluster or your own key management plugin, deploy the open source mariadb-operator on a Kubernetes cluster you run on Hikube. You manage the database; Hikube runs the infrastructure underneath.
Open source, your rules
Business software outlives most technology choices. The ERP you deploy in 2027 will probably still be running in 2035. That is a long time to depend on a vendor’s licensing, pricing or jurisdiction.
MariaDB and Hikube take that risk off the table. The database is open source and portable. The cloud is Swiss, multi-site and built on open standards. Your data is replicated three times, encrypted at rest, or with your own keys if you run MariaDB in your own Kubernetes cluster on Hikube, and never leaves the country.
Boring data, unbreakable apps. That is the stack for 2027.
If you want to go deeper, Frédéric Descamps (lefred) of the MariaDB Foundation joins the Geneva DevOps Meetup on 10 December. Come with your questions.
Leave a Reply