What is RaptorDB? ServiceNow's New Database Engine Explained

ServiceNow replaced its database engine — moving from MariaDB to RaptorDB. Most developers and admins do not know this is already happening to their instance. This article explains what RaptorDB is, why ServiceNow made the change, what it actually does under the hood, and what it means for your day-to-day work as a developer or admin.

The short version

RaptorDB is ServiceNow's new proprietary database engine, replacing MariaDB (a MySQL fork) as the underlying data store for every ServiceNow instance. It is built on PostgreSQL and built to support the ServiceNow AI Platform. You do not install it, configure it, or migrate to it manually — ServiceNow is rolling it out to all customers at the platform level, automatically.

The numbers ServiceNow quoted in its September 10, 2024 announcement, based on early use cases for RaptorDB Pro: up to 27x faster reports and list views, up to 53% improvement in overall transaction times, and up to 3x more transactional throughput. Not every customer will see maximums — gains depend heavily on data volume, query complexity, and current baseline performance — but even conservative estimates represent a meaningful improvement for most production instances.

Why ServiceNow needed to replace MariaDB

For over a decade ServiceNow ran on MariaDB, a fork of MySQL. It worked. But as enterprises pushed the platform harder — with billions of records across ITSM, HRSD, CMDB, SecOps, and dozens of custom applications — the limitations started showing in predictable ways. Slow instance investigations increasingly pointed at database-level bottlenecks that could not be solved at the application layer.

The core architectural problem: relational databases like MariaDB are optimised for one thing at a time. They handle transactional workloads well — inserts, updates, individual record reads. They struggle when you need to run analytics on the same data simultaneously. A Performance Analytics collection job running while agents are actively working incidents creates contention at the database level. A complex report on a table with ten million records can cause query timeouts that affect everyone on the instance.

This is not a flaw in MariaDB — it is the fundamental trade-off of traditional RDBMS architecture. You can have fast transactions or fast analytics. Getting both simultaneously at scale requires a different approach. That approach has a name: HTAP.

HTAP — Hybrid Transactional and Analytical Processing

HTAP is an architecture that handles both transactional workloads (inserting an incident, updating a record, running a Business Rule) and analytical workloads (Performance Analytics collection, complex reports, GlideAggregate queries across millions of records) in the same database engine, on the same data, at the same time — without the transactional side slowing down the analytical side or vice versa.

ServiceNow's documentation describes RaptorDB Professional as a hybrid transactional-analytical processing database that adds analytical processing to the transactional performance of RaptorDB Standard, with a single engine running both workload types on the same data. Standard is optimised for transactional performance. The column store index, query parallelism and resource allocation are listed among the database capabilities of Professional, so the analytical side described above comes with the higher edition.

What actually changed under the hood

RaptorDB is a fork of PostgreSQL, which ServiceNow gained access to through its acquisition of Swarm64, a database optimisation company that specialised in high-performance PostgreSQL extensions. PostgreSQL allows more advanced query types than MySQL/MariaDB, supports better parallel processing, and enables more sophisticated indexing strategies.

The database capabilities ServiceNow's documentation lists for RaptorDB Professional:

  • Column store index
  • Query parallelism
  • Resource allocation

Two tiers: Standard and Professional

RaptorDB Standard is the default for all customers. It replaces MariaDB as the primary database engine. ServiceNow said in its announcement that Standard was available to new customers at launch and would reach existing customers the following year. ServiceNow is migrating all existing instances automatically through their standard release process. According to the documentation, Professional adds analytical processing to the transactional performance of Standard.

RaptorDB Professional is a premium licensed add-on for organisations that need ultra-scale performance: AI workloads on massive datasets, real-time analytics on billions of records, machine-scale data processing. If your organisation is ingesting telemetry at a level where standard database performance is a bottleneck, Professional is the tier to evaluate. Contact your ServiceNow account team for pricing and eligibility.

What this means for developers

The honest developer answer: nothing changes in your code. Your GlideRecord queries, your Business Rules, your Flow Designer flows, your GlideAjax Script Includes — they all work exactly the same. There is no migration work, no deprecated API, no syntax change.

What you may notice in practice, where your instance runs RaptorDB Professional (the documentation lists the column store index as a Professional capability):

  • GlideRecord queries on large tables return results faster — the column-store index helps even single-field lookups on indexed columns
  • GlideAggregate operations run significantly faster — aggregations benefit most from the column-store architecture
  • Encoded queries with GROUP BY patterns resolve faster
  • Scripts that previously timed out on large table scans may now complete within timeout limits

The most important implication for developers: the Instance Scan findings about "GlideRecord without conditions on large tables" remain valid — RaptorDB makes unconstrained queries faster, but not infinitely so. Write efficient queries regardless.

What this means for admins

The column store points below apply to instances running RaptorDB Professional.

  • Performance Analytics dashboards load noticeably quicker — the column-store specifically helps PA score collection and aggregation
  • List views with complex filters respond faster, particularly on high-volume tables like incident, task, and cmdb_ci
  • CMDB queries and relationship lookups improve significantly — CMDB tables are large and heavily queried analytically
  • Report generation that previously caused timeouts may now complete within platform limits
  • Discovery result processing speeds up — Discovery sensors write large volumes of CI data that RaptorDB handles more efficiently

How to check if your instance is on RaptorDB

Navigate to https://[instance].service-now.com/stats.do — the stats page shows the database engine version in the instance diagnostic information. Alternatively, navigate to System Diagnostics > Stats. New instances provisioned after ServiceNow's RaptorDB rollout are already on it. Existing instances are being migrated through 2025 and 2026 as part of ServiceNow's standard upgrade cadence.

You can also check your instance's release notes page — ServiceNow includes RaptorDB migration status in instance-specific release communications.

Performance benchmarks in context

The 27x figure for reports and list views comes from the early use cases in ServiceNow's announcement, so treat it as a best-case number. Your own gains depend on data volume and query patterns.

A practical check: record the run time of a few slow reports and list views before your instance moves to RaptorDB, then compare after the move.

Why it will come up in interviews and client conversations

RaptorDB represents a fundamental architectural shift in the ServiceNow platform — the kind of change that happens once a decade. Any conversation about ServiceNow performance, scalability, or roadmap will reference it. If you are pursuing the CAD certification or moving toward architect-level roles, understanding the database layer distinguishes you from candidates who only know the application layer. It also directly informs recommendations you give clients about performance troubleshooting and infrastructure planning.

Also in the performance series: GlideRecord performance tips — writing efficient server-side queries · Stop using toString() — a simple change with real performance impact · Instance Scan — auditing your instance for performance anti-patterns · Troubleshoot slow instance — systematic diagnostic process

RaptorDB and the developer performance mental model

Understanding RaptorDB changes how you think about performance optimisation. Previously, when a slow instance investigation pointed at a database query, the solution was often to add an index, rewrite the query, or move the operation to a scheduled async job. RaptorDB does not eliminate the need for query hygiene — unconstrained GlideRecord queries on massive tables are still bad practice — but it raises the baseline from which optimisation is needed.

Think of it this way: if MariaDB could handle 10,000 records in an analytical query before timing out, RaptorDB might handle 50,000–100,000 before hitting the same threshold. Scripts that previously required async execution or chunking may now complete synchronously within acceptable time limits. Performance Analytics collection that previously took 20 minutes may complete in 5. This does not change what good code looks like — GlideAggregate is still the right tool for counting and aggregating, not GlideRecord loops — but it expands the headroom within which good code operates.

What RaptorDB does not change

A few things to be clear about:

  • ACL performance — if your ACL scripts run GlideRecord queries inside them, those still execute on every record access. RaptorDB does not eliminate the overhead of scripted ACLs.
  • Business Rule execution — Before and After rules still fire synchronously on every qualifying record update. RaptorDB makes the database side faster but does not change the application-layer execution model.
  • Client-side performance — RaptorDB is a server-side database change. It does not affect browser rendering, JavaScript execution, or the round-trip time for GlideAjax calls.
  • API rate limits — Table API and Scripted REST API rate limits are a ServiceNow platform policy, not a database constraint.

The Swarm64 acquisition context

ServiceNow acquired Swarm64. Swarm64 was a Berlin-based startup that had built a high-performance PostgreSQL extension called SDA (Swarm64 Data Accelerator) — essentially a columnar acceleration layer on top of standard PostgreSQL. The technology is the core of what became RaptorDB. The acquisition was notable for being one of the largest database infrastructure acquisitions by a SaaS platform in recent years, and it signalled ServiceNow's intent to own its database stack rather than depending on commodity open-source solutions.

Sources

Developer patterns in one guide

The NowSpectrum Pro Tips and Tricks guide covers battle-tested patterns for Business Rules, Script Includes, GlideRecord, Flow Designer, and debugging.

Get the Pro Tips Guide →
← Back to all posts