New DataBlades in Informix
Keynote Airtool Technologies
Five open-source extensions for IBM Informix

New DataBlades
in Informix

Vector search, fuzzy text, graph traversal and change streaming — added to the database you already run, not to a new system next to it.

Airtool

informix-vector · informix-trgm · informix-graph · informix-kafka · informix-redis Informix 12.10 / 14.10 / 15  ·  open source  ·  free to use
ifxtools.com  ·  airtool.io xavi.escote@airtool.io
Vector Trigram Graph Kafka Redis

Look at the room, not the slide. "Everyone here runs a database that works. My question today is simple. Over the next five years, will the new workloads pull your data out of Informix? Or will Informix grow to meet them?"

Name the five projects. Then give the plan: five projects. Three live inside the engine. Two stay outside, on purpose. Each one ends with measurements.

The premise New DataBlades in Informix

Every new workload of the last five years expected you to move your data.


These five do not.

Semantic search asked for a vector store. Fuzzy matching asked for Elasticsearch. Graph queries asked for a graph database. Event integration asked for a CDC platform. Every one of those answers adds a second copy of your data, a second security model, a second backup, and a synchronization problem nobody wanted. There is another way: teach the database to do the new job.

VectorTrigram GraphKafka Redis

This is the core of the whole talk. Read the two lines slowly. Pause after the second one.

For the business people: every one of those second systems is a cost line. A license, a cluster, an on-call rotation, a security review, and an integration that slowly drifts apart. For the engineers: writing the same data twice is a bug you ship on purpose.

Say clearly that you are not against second systems. Later you will show one case (Kafka) where going outside the engine was right, and benchmarks where PostgreSQL is still faster than we are.

Mechanism New DataBlades in Informix

A thirty-year-old mechanism, used for this year's problems

A DataBlade extends the server itself. You compile C code against the DataBlade API, and the engine gets new data types, new functions and new index methods. The SQL parser and the optimizer treat them like built-in ones. This is not a plugin on top. It is part of the engine.

Your SQL
SELECT … cosine_distance(embedding, ?)
↓
Informix engine
parser · optimizer · transactions · logging · backup
↓
vector.so  hnsw.so  trgm.so  graph.so  redis.so
opaque types · UDRs · VTI access methods · named memory
  • Opaque typeA new SQL data type, with its own storage, casts and operators. VECTOR is a column type, just like DECIMAL.
  • UDRA C function you can call from SQL, SPL and triggers. It returns one value or a set of rows, and it works in WHERE and ORDER BY.
  • VTI access methodA custom index. CREATE INDEX … USING hnsw_am gives the engine a graph index that it does not know about on its own.
  • Named memoryPER_SYSTEM shared memory that stays alive after the session ends. This is where the HNSW graph and the graph snapshot live.
And this is what being inside buys A vector search joins your business tables. It commits in the same transaction as the row it describes. Your backup captures it, your HA plan carries it, and your existing permissions govern it. None of that is configured. You get it by being inside the engine.
new types, new functions, new index methods — first-class to the SQL engine VectorTrigram GraphKafka Redis

Keep this short. It is a reminder, not a lesson. Some people here have written a DataBlade. Others have never seen one.

The one line to say clearly: a DataBlade is not a plugin on top of the engine. It is inside it. That is why the transaction, the backup and the security model come for free.

The box at the bottom is the whole talk in four lines. Read it, then stop. Everything after this slide is evidence for it.

Only if you are asked, about the SQL looking different from pgvector's: Informix has no CREATE OPERATOR, so a DataBlade cannot add new operator symbols. That is why we write cosine_distance(a,b) where pgvector writes a <=> b. Functions do the same work. Answer it plainly if it comes up — there is no need to raise it yourself.

The five projects New DataBlades in Informix

Three inside the engine, two beside it

Each project solves one workload that Informix had no built-in answer for. Where PostgreSQL already solved the problem, we copied its SQL names on purpose. The same query then runs on both engines.

informix-vector Vector search A native vector type, four distance functions with pgvector names, and an HNSW index held in memory. The embedding lives in the business row. In-engine · C
informix-trgm Fuzzy text Trigram similarity, edit distance and phonetics. A port of pg_trgm and fuzzystrmatch, plus a trigram index that removes the table scan. In-engine · C
informix-graph Graph traversal Named graphs over ordinary edge tables. Reachability, weighted shortest path, and a full set of analytics from PageRank to Louvain. In-engine · C
informix-kafka Change streaming Committed row changes go to Kafka as Debezium-shaped JSON. A separate Java process, with no code inside the engine. External · Java
informix-redis Cache & coordination Two paths: redis_* functions you can call from a trigger, and a CDC agent that streams changes to Redis. Both · C + ESQL/C
five projects · one engineering standard · ifxtools.com VectorTrigram GraphKafka Redis

This is the agenda. Point at the bar along the bottom and say that it shows where you are.

Do not explain all five now. Each one gets its own section. The point to make: the choice between inside and outside the engine is an engineering decision, taken project by project. It is not a house rule. You will come back to it at Kafka, where the first version was a DataBlade and was taken out on purpose.

Second point: the PostgreSQL compatibility is not a compliment. It means one query text runs on both engines, which helps a migration or a mixed estate. And it gives every claim an independent implementation to compare against.

Method New DataBlades in Informix

Four rules, applied to all five projects

These rules are why the numbers later in this talk mean something.

  • 01 · Port, don't inventWhere PostgreSQL already has the answer, copy its function names and behavior exactly: cosine_distance, similarity, levenshtein, soundex. The same SQL then runs on both engines, and every score has a reference to compare against.
  • 02 · Earn the engineCode goes inside the database only when being inside gives something back: the transaction, the shared memory, the index hook. When it gives nothing back, the code goes outside. See Kafka.
  • 03 · Ground truth firstWe accept no timing until every engine agrees with an independent brute-force program written in Java. An approximate answer is only accepted after we measure how much of the exact answer it found. A benchmark that has not proved itself correct is only a marketing number.
  • 04 · Docs = testsThe SQL printed in the manuals runs against a clean database on every release. What you paste into dbaccess is what the test suite proved.
docker compose up -d && mvn test VectorTrigram GraphKafka Redis

Spend your time on rule 03. Say it in plain words: "every benchmark in this deck had to prove first that all three implementations returned the same rows. If they disagreed, we threw the run away. We did not publish it."

Rule 04 usually gets a reaction from engineers. The manuals are XML documents, and the test suite runs the SQL inside them. So the documentation cannot go out of date quietly.

If you are short of time, shorten this slide: read rules 02 and 03 aloud, point at the four numbers, and move on.

01 / 05 informix-vector
informix-vector

Informix as a
vector database

A vector column, four distance functions, and an HNSW index that lives in the server's shared memory.

Informix 12.10 / 14.10 / 15 · identical on-disk index format VectorTrigram GraphKafka Redis

Section card — ten to twenty seconds. "First, the one most of you came for: vector search."

One sentence before you move on: every AI feature people are asking you for right now — search by meaning, RAG, recommendations, finding duplicates — comes down to the same operation. Find the nearest rows in embedding space.

informix-vector · the argument New DataBlades in Informix

Extend the table. That is the whole argument.

A vector on its own is not an answer. It is a pointer. To answer, you also need the text it came from, and the metadata to filter it, attribute it and check who may see it. In a relational engine, that is one ALTER TABLE.

CREATE TABLE doc_chunks (
    id         SERIAL PRIMARY KEY,
    doc_id     INTEGER,          -- source document
    seq        INTEGER,          -- chunk position
    tenant     INTEGER NOT NULL, -- or ACL columns
    chunk      CLOB,             -- the retrievable text
    meta       JSON,             -- URI, tags, model version
    embedding  VECTOR            -- ← the only new thing
);
What you get for free The text, the metadata and the embedding commit together, in one transaction. They join with your business tables. They share one backup, one security model, one HA plan.
What the alternative costs A separate vector store always creates a second write, and a synchronization problem with your system of record. Plus a second service to install, secure, patch and keep in step.
up to 3,072 dims by default · 8,191 architectural ceiling VectorTrigram GraphKafka Redis

Point at the last column and say: "that is the whole schema change." Everything above it is a normal table. These people already know how to back it up, replicate it and audit it.

For the business people, the important line is the tenant column. In a separate vector store, you have to build multi-tenant isolation again, and certify it again. Here it is the row-level access control you already had approved.

Expect the objection: "but the specialist products are faster." Agree out loud, straight away, and say you will come back to it at the end — then do, on the closing slide. Conceding it early is what buys you the rest of the section.

informix-vector · the surface New DataBlades in Informix

Four documents, small enough to check by hand

Three dimensions instead of a thousand, so you can read the distances yourself. Every number below comes from the engine, and a test checks it.

INSERT INTO documents VALUES (1, 'apple',   '[1.0, 0.0, 0.0]');
INSERT INTO documents VALUES (2, 'apricot', '[0.9, 0.1, 0.0]');
INSERT INTO documents VALUES (3, 'banana',  '[0.0, 1.0, 0.0]');
INSERT INTO documents VALUES (4, 'cherry',  '[0.1, 0.9, 0.0]');

-- exact: brute force, the true nearest
SELECT id, title,
       cosine_distance(embedding, '[1,0,0]'::vector) d
  FROM documents ORDER BY d ASC;

-- approximate: sub-linear, via the graph
CREATE INDEX documents_hnsw ON documents(id, embedding)
    USING hnsw_am (m='16', ef_construction='200');

SELECT hnsw_knn_ids('[1,0,0]'::vector, 'documents_hnsw', 4)
  FROM systables WHERE tabid = 1;   -- → 1 2 4 3
idtitlecosinel2inner
1apple0.0000000.0000001.000000
2apricot0.0061160.1414210.900000
4cherry0.8895681.2727920.100000
3banana1.0000001.4142140.000000
  • 4 metricscosine · L2 · inner product · L1. AVX2/FMA accelerated, with pgvector's names and behavior.
  • int8 by defaultOne signed byte per dimension, plus a scale. About 4× smaller, scored by one AVX-VNNI instruction. float32 is available for exact storage.
  • ResidentThe graph lives in PER_SYSTEM named memory and is stored as a BLOB in the database. Nothing is read from disk on the first query.
the index lives in the database — and your backup captures it VectorTrigram GraphKafka Redis

This is the first technical slide. Slow down. The four fruits are here so that nobody has to trust the maths. Apple is the query. Apricot is almost the same. The two in the banana direction are far away.

Two things to say out loud:

  • The exact form is normal SQL. A distance function in ORDER BY. It scans the table, and it is correct. Below a few thousand rows, that is fine.
  • The index is a real access method: CREATE INDEX … USING hnsw_am. Informix has no built-in graph index. The blade provides one.

If somebody asks, be honest: the WHERE vector_near(…) ORDER BY cosine_distance(…) form is correct, but it does not prune. It re-ranks over a scan. hnsw_knn_ids() is the one to use in production.

informix-vector · the dimension limit New DataBlades in Informix

At 3,072 dimensions, PostgreSQL has to drop precision to index at all

pgvector caps HNSW on its vector type at 2,000 dimensions; OpenAI's text-embedding-3-large produces 3,072. PostgreSQL indexes that only by casting to halfvec (half precision, ≤ 4,000) or bit (binary, ≤ 64,000) — and every query repeats the cast. Informix indexes the column as it stands, up to 8,191.

Informix, 3,072 dims1,000 rows10,000 rows
cosine top-10 — brute force12 ms1,269 ms
cosine top-10 — HNSW9 ms11 ms
speedup1.3×115×

A full scan grows with the size of the table. HNSW does not. At a thousand rows the index barely helps. At ten thousand it changes everything — and this is at a dimension where the alternative has to give something up first.

Graded against human judgment — not against itself WANDS (Wayfair): 42,994 furniture products, 480 real customer queries, 233,448 relevance labels written by people — an independent standard, like the brute-force ground truth elsewhere in this deck.
query: 'dinosaur' — top 5distance
ramsey from the good dinosaur life size cardboard cutout0.472
nash from the good dinosaur life size cardboard cutout0.528
dinosaur sheet set0.547
lulette decorative tin toy duck0.688
ladder desk0.693

Read the distances, not only the rows. After the three real matches the distance jumps from 0.55 to 0.69 — there are exactly three dinosaur products, and that jump is where relevance ends.

float32 in, and an index at 3,072 dims — no cast, no change to the query VectorTrigram GraphKafka Redis

Two different points on one slide. Start with the half of the room you are losing.

For engineers: the dimension limit. pgvector stops HNSW at 2,000 dimensions on its vector type, so a 3,072-dim OpenAI embedding cannot be indexed as a plain vector column. PostgreSQL is not stuck, and do not say that it is: since pgvector 0.7 you can cast to halfvec and index up to 4,000 dimensions, or to bit and index up to 64,000. The price is precision, an expression index, and the same cast repeated in every query. Informix indexes the column as it is, up to 8,191, in int8 by default or full float32 with codec='f32'.

If someone says "but pgvector has halfvec" — agree at once. They are right, it works, and it is in pgvector's own README. Then make the narrow point: above 2,000 dimensions, half precision is the best pgvector can index at. There is no float32 path. That is the difference, and it is small enough to state honestly.

For everyone: the dinosaur query. This is where semantic search becomes real. A customer types "dinosaur". There is no keyword matching here. The engine returns two dinosaur cardboard cutouts and a dinosaur bed sheet set. Then the part most demos miss: the jump in distance tells the application where to stop. After the third row the number jumps, because there is no fourth dinosaur. A real application uses that threshold instead of always taking a fixed number of rows.

If you have a spare moment, the 'salon chair' example is also good: it returns massage chairs and lift chairs, and four of the five never use the word "salon".

informix-vector · where the index lives New DataBlades in Informix

Five questions to ask of any vector index

There is more than one way to add vector search to Informix, and more than one product doing it. What separates them is not the algorithm — it is where the searchable index is kept. These five questions follow from that one choice, whichever option you look at.

An index kept outside the engine An index kept inside it — informix-vector
Where does the searchable index live? In its own format on the filesystem, outside Informix-managed chunks. ✓ A BLOB in an ordinary Informix table, inside the same chunks as every other table.
Is it consistent with the table? As of the last sync run. ✓ Always: the row and the index commit in the same transaction.
What about writes since that sync? Not yet indexed, so a query has to scan for them. ✓ There is no sync step. Every committed insert is searchable at once.
Is it in the logical log, HDR and RSS? No. What the engine does not manage, it cannot log or replicate — so a secondary does not have the index. ✓ Yes: the index tables are ordinary Informix tables, logged and replicated like any other.
Does ontape / onbar capture it? No. It needs an archive procedure of its own, run and restored separately. ✓ Yes, automatically, with the rest of the database.

ifxtools.com/capabilities/vector

an index your backup does not capture is not really in the database VectorTrigram GraphKafka Redis

Do not turn this into an attack on a product. Frame it as a checklist you would want anyone to use, including on us: "There is more than one way to do this. Whichever one you look at, ask these five questions." The table then does the work on its own.

The line that ties it together: every one of the five follows from a single choice — whether the searchable index is inside the engine or beside it. They are not five separate complaints.

Two rows matter most to a DBA. Slow down here:

  • Logical log, HDR and RSS. An index the engine does not manage cannot be logged or replicated by it. So the secondary does not have it. Ask the room what their RPO would be in that case.
  • ontape and onbar. An external index needs its own archive and its own restore drill. That is a second procedure, and a second thing to get wrong during a night shift.

The middle three rows are about freshness: an external index is only as current as its last sync, and anything written since is found by scanning. Out of date, or slow — depending on when it last ran.

If you are asked about a specific product — HCL's VectorBlade keeps its index in a LanceDB table on the filesystem and syncs with lvector_bulk_sync; by HCL's own documentation those changes are not logged and are not captured by a standard backup. Give that only when asked, and stick to what their documentation says.

Then say the line slowly: "an index your backup does not capture is not really in the database." That is the whole talk in one sentence.

02 / 05 informix-trgm
informix-trgm

Replacing
LIKE '%word%'

Trigram similarity, edit distance and phonetics — with an index that turns a three-second scan into a third of a second.

pg_trgm + fuzzystrmatch, ported — the same SQL runs on both engines VectorTrigram GraphKafka Redis

Section card. "The second project is less exciting than vectors. It will probably save you more money this year."

Ask the room a question first: who still has a customer search box in production that uses LIKE '%…%'? Almost every hand goes up.

informix-trgm · the everyday failure New DataBlades in Informix

Six rows, five of them are López, and your search box finds one

A user types the surname lopez, with no accent. Real customer data is messy: accents, upper and lower case, typing mistakes. LIKE handles none of them, and the leading % cannot use an index.

#namereally a López?
1Mr Antonio López✓ accented
2Ana Lopez Ruiz✓ no accent
3LOPEZ✓ upper case
4lopez martín✓ lower case
5Manuel Lopes✓ typo
6María García✕ not a match
methodfindswhich
name LIKE '%lopez%'1#4 only
LOWER(name) LIKE '%lopez%'3#2 #3 #4
name_norm LIKE '%lopez%'4#1 #2 #3 #4
word_similarity('lopez', name) >= 0.55all of them
And this one is indexable word_similarity is the replacement for LIKE '%word%'. It finds the name anywhere in the string, ignores accents and case, and accepts typing mistakes. And unlike LIKE, the trigram index can serve it.
similarity · word_similarity · levenshtein · jaro_winkler · soundex · dmetaphone VectorTrigram GraphKafka Redis

This is the easiest slide to connect with. Read the left table row by row, out loud.

"These are six rows from a customer table. Five of them are the same surname. Your search box finds one. And the customer on the phone is told that they do not exist."

Then the right table, step by step: lower case gets you to three. A normalized column gets you to four. Only trigram word-similarity finds the fifth — Manuel Lopes, the typo. No version of LIKE will ever find that one.

Worth adding: the blade ignores accents inside every function, so similarity('José López','jose lopez') returns 1.000. Plain pg_trgm gives 0.375 and needs an unaccent() call on both sides. A small place where the port is easier to use than the original.

informix-trgm · measured New DataBlades in Informix

A million rows, and 59,078 of them are López

1,000,000-row European CRM · every accent, case and typo variant of the surname · the query is the plain word lopez · Informix 14.10 and PostgreSQL 16.14 on the same physical host

ROWS MATCHED — OUT OF 1,000,000 CATCHES TYPO 59,078 true LIKE '%López%' — accent-exact LIKE '%López%' — 34,476 rows matched 34,476 no LIKE '%lopez%' — normalized column LIKE '%lopez%' on a normalized column — 59,078 rows matched 59,078 no similarity > 0.3 similarity greater than 0.3 — 38,346 rows matched 38,346 partial word_similarity > 0.5 word_similarity greater than 0.5 — 59,177 rows matched 59,177 yes strict_word_similarity > 0.5 strict_word_similarity greater than 0.5 — 59,078 rows matched 59,078 yes 0 25,000 50,000 Only the two word-similarity measures find Lopes, the typo that every LIKE misses. Both engines return the same counts.
3.23 ssequential scan, similarity > 0.3
0.36 sthe same query through trgm_am — about 9× faster, and exactly the same 38,346 rows
0.16 sPostgreSQL GIN, our reference — still faster
The honest read PostgreSQL's C code has had ten years of tuning. It is 4 to 6 times faster per row than our plain -O3 code. Our blade still handles a million rows in 2 to 3 seconds, and SIMD work would close much of the gap. But the conclusion is the same either way: the index is what makes this scale, not raw scan speed.
same rows as the full scan — the index filters, it does not approximate VectorTrigram GraphKafka Redis

Three points. The third one is what builds trust.

  • How many it finds. The dashed line is the truth: 59,078 real López variants. LIKE with the accent finds 34,476. It misses 40% of your customers. Word-similarity finds them all.
  • Speed. The index takes the same query from 3.2 seconds to 0.36. And it returns exactly the same 38,346 rows as the full scan. It filters; it does not approximate.
  • The gap. Say this before anyone else does. PostgreSQL is still faster, per row and through its index. Its trigram code has had ten years of tuning. Ours is plain -O3 C. Publishing the gap is the reason to believe the other numbers.

If someone asks why 59,177 and not 59,078: at that threshold word_similarity finds 99 extra near matches. In a search box, finding a few extra is a feature, not a fault.

03 / 05 informix-graph
informix-graph

Data that is a graph,
stored in tables

Named graphs over ordinary edge tables. Traversal and a full set of analytics, without exporting anything.

no separate graph database · no ETL · no query language to learn VectorTrigram GraphKafka Redis

Section card. Use the line on the slide: "a lot of enterprise data is really a graph. We just store it in tables."

Then give examples before you move on: bill of materials, org chart, chart of accounts, network topology, permissions, supply chain, payments.

informix-graph · the argument New DataBlades in Informix

"Which finished products contain this recalled component?"

To answer it you follow the links, level after level. Plain SQL cannot. A recursive CTE can — but it lists every path, and the answer you want is a set of parts.

-- Recursive CTE: builds every path
WITH reach (node, lvl) AS (
    SELECT dst, 1 FROM bom_edges WHERE src = 100000
    UNION ALL
    SELECT e.dst, r.lvl + 1
      FROM bom_edges e JOIN reach r ON e.src = r.node
     WHERE r.lvl < 5)
SELECT COUNT(DISTINCT node) FROM reach;

-- Blade: breadth-first, each node visited once
SELECT COUNT(*)
  FROM TABLE(FUNCTION reachable('bom', 100000, 5)) t(r)
 WHERE t.r.depth > 0;
27,736components — both methods give the same answer
111,110path rows the CTE has to build first
1visit per node, in the blade
  • graph_createRegister a named graph over an edge table you already have: source, destination, optional weight, directed or not. Read once into a compact snapshot in shared memory.
  • Traversalneighbors · reachable · shortest_path, plus scalar companions (is_reachable, shortest_path_cost, degree) for use inside WHERE.
  • AnalyticsPageRank · Louvain · label propagation · connected components · closeness, betweenness and eigenvector centrality · Jaccard and weighted-cosine similarity — one SQL call each.
What it is not Node and edge attributes stay in your tables; you join on the node id. This is a traversal and analytics engine — not a property-graph store, and not an openCypher implementation.
an in-memory snapshot — the work grows with nodes, not with paths VectorTrigram GraphKafka Redis

Start with the product recall. It is a business question, not a technical one. A supplier tells you a component is defective. Which shipped products contain it? Nobody thinks that is a strange question. Almost nobody can answer it in one statement today.

The contrast to make: 27,736 components, but 111,110 path rows. Same answer, four times the work. And it gets worse as the graph gets deeper and denser. The CTE is counting paths that the question never asked about.

Then the analytics list. A good way to say it for a mixed audience: "this is the set of algorithms you would buy Neo4j GDS or Oracle PGX for. Here it runs on the tables you already have. No export, no second copy, nothing to drift."

Be clear about what it is not: no property graph, no Cypher. Attributes stay in your tables, and you join on the id. Saying this early prevents the wrong question later.

informix-graph · measured New DataBlades in Informix

The blade wins where it matters, and loses where it does not

Generated 46,750-node layered DAG, shaped like a bill of materials · Informix 14.10 and PostgreSQL 16 on one host · every result checked against a Java BFS/Dijkstra ground truth

Informix graph blade PostgreSQL recursive CTE Informix recursive CTE log scale — each gridline is 10×
1 10 100 1000 ms Explosion, depth 3 720 nodes Graph blade — 3.77 ms3.77 PostgreSQL recursive CTE — 1.18 ms1.18 Informix recursive CTE — 7.85 ms7.85 Where-used 117 affected products Graph blade — 3.04 ms3.04 PostgreSQL recursive CTE — 1.30 ms1.30 Informix recursive CTE — 4.64 ms4.64 Explosion, depth 5 27,736 nodes Graph blade — 26.19 ms26.19 PostgreSQL recursive CTE — 47.85 ms47.85 Informix recursive CTE — 558.52 ms558.52 Weighted shortest path Dijkstra vs list-all-paths Graph blade, Dijkstra — 5.73 ms5.73 PostgreSQL recursive CTE — 39.43 ms39.43 Informix recursive CTE — 440.46 ms440.46 Shallow queries: the CTE is faster. At depth 5 the blade is 1.8× faster. For weighted shortest path: 6.9× — and a different class of algorithm.
Real-world, not synthetic A public DIMACS road network: New York, 264,346 nodes and 733,846 arcs. The cheapest route between two random points, 1,440 km long, in about 53 ms, and proved exact against Java Dijkstra. A recursive CTE cannot work at that size at all.
Also checked against a real graph engine A third stage compares the blade with Apache AGE (openCypher on PostgreSQL). Neighbors, degree, reachability and connectivity match exactly. And the blade adds weighted shortest_path_cost(), which openCypher has no built-in operator for.
checked against an independent implementation before any timing was accepted VectorTrigram GraphKafka Redis

Say what we lose first. It is the fastest way to be believed about what we win.

"Look at the top two groups. At depth three, and on the where-used query, PostgreSQL's recursive CTE is faster than the blade. If your queries are shallow, you do not need this."

Then turn it around: watch the slope. Go one level deeper and the CTE has to list far more paths — 558 ms on Informix, 48 on PostgreSQL, 26 in the blade. And weighted shortest path is not a speed difference at all. It is a different algorithm: Dijkstra, against list-every-path-and-take-the-smallest.

The road network closes this section: a real public dataset, a quarter of a million nodes, the exact cheapest route in 53 milliseconds. Say the word exact. It was checked against an independent Dijkstra. It is not an approximation.

If someone asks "why not just use Neo4j": the answer is the recall query from two slides ago. The traversal has to join tenant, status and ship_date in the same statement. That is why it belongs next to the data.

04 / 05 informix-kafka
informix-kafka

The one that is
not a DataBlade

Committed row changes go to Kafka in the Debezium format, with no code inside the engine at all.

a standalone JVM process beside the database · no C, no gcc, no native libraries VectorTrigram GraphKafka Redis

Section card, and a change of tone on purpose: "the fourth project proves the argument by breaking it."

Tell them what is coming: the first version of this was a DataBlade. It worked. And we took it out of the engine on purpose.

informix-kafka · mechanism New DataBlades in Informix

Business events are already in the database. Let them out.

An order is placed. A loan is approved. A shipment moves. The rest of your systems find out late, or by asking again and again. PostgreSQL solved this with logical decoding and Debezium. This brings the same model to Informix.

Informix — logged database
syscdcv1 · logical log in commit order · full-row logging
↓  cdc_opensess → IfxLoRead
connector JVM (external)
decode → buffer per transaction → emit on COMMIT → flush → checkpoint LSN
↓  keyed by primary key
Kafka topic cdc.db.orders
idempotent producer · acks=all · tombstone on delete
  • ConsistentHeld per transaction, sent only on COMMIT. A transaction that rolls back produces nothing.
  • ResumableThe position is saved only after Kafka confirms, so a restart continues where it stopped.
  • InvisibleNo triggers, no schema changes, no query load. It reads the log.
{
  "op": "u",
  "source": { "db": "kafkadb", "owner": "informix",
               "table": "orders", "partnum": 1049160,
               "seq": 25775460784, "txId": 42 },
  "before": { "id": 1, "customer": "ACME Corp",
              "amount": 250.00, "status": "PLACED" },
  "after":  { "id": 1, "customer": "ACME Corp",
              "amount": 250.00, "status": "SHIPPED" },
  "ts_ms": 1784021205428
}
Debezium-shaped, on purpose {op, source, before, after, ts_ms}, keyed by primary key, tombstone on delete. Consumers written for Debezium work without any change, and source.seq is the log sequence number, so downstream de-duplication is easy.
cache invalidation · search indexing · microservices · data lake · audit · outbox VectorTrigram GraphKafka Redis

For the business people, this is the "our data reaches the rest of the company" slide. Start with the list along the bottom: cache invalidation, search indexing, microservices, the data lake, audit trails, the transactional outbox.

Two guarantees matter. Say them in plain words:

  • A transaction that rolls back produces no event. Anyone who has debugged an event that was published before its commit knows what that is worth.
  • The position is saved only after the broker confirms. So after a crash it may send a message twice, but it never loses one. And source.seq gives consumers what they need to remove duplicates.

The Debezium format is the commercial point. It is not a custom format that people have to learn. Every Kafka consumer, sink connector and stream processor already written for Debezium now works with Informix.

Say the limitation yourself: streaming only. There is no initial snapshot yet. It captures from the moment it starts. That is the first item on the roadmap.

informix-kafka · the engineering decision New DataBlades in Informix

The first version was a DataBlade. We took it out.

It worked. It published to Kafka from C functions inside the engine, with a transactional outbox and a relay, compiled on the server. But it also put a native, multi-threaded Kafka client inside the database process, and it needed a C compiler and librdkafka on every server you wanted to run it on.

What moving it out removed
  • RemovedAll code inside the engine. Nothing left that can crash the server.
  • RemovedThe compiler on the server. No gcc on a production database host.
  • RemovedThe native libraries. No librdkafka versions to keep in step.
  • DelegatedDecoding the records, to IBM's own ifx-changestream-client.
  • PreservedThe transactional outbox pattern, with no code in the engine, using Debezium's outbox router.

Extensibility is a tool, not an obligation.

A good platform team is not the one that puts the most code inside the engine. It is the one that knows which code belongs there. Three of these five earn their place inside Informix. This one does not, on purpose — and it is better for it.

Java 21+ · kafka-clients 4.0 · ifx-changestream-client · Informix JDBC VectorTrigram GraphKafka Redis

People will remember this slide, and it makes the other four believable. Slow down and tell it as a story.

"We built it as a DataBlade first. It worked. It published to Kafka from inside the engine, with an outbox and a relay. Then we looked at what we had actually built: a multi-threaded network client running inside the database process, on a server that now needed a C compiler and librdkafka. So we asked one question. What is being inside the engine giving us? The answer was: nothing. The log is already transactional. So we took it out."

Then the general lesson, which is the real message of this talk: extensibility is a tool, not an obligation. A team that puts everything inside the engine because it can is as wrong as a team that puts nothing there.

If you are running late, do not cut this slide. Cut a benchmark instead.

05 / 05 informix-redis
informix-redis

Two paths,
one Redis

Direct calls from a trigger when you need an answer now. A durable change stream when you must not touch the write path.

the database stays the system of record · Redis carries the read pressure VectorTrigram GraphKafka Redis

Section card. The hook: "almost everyone here already runs Redis next to Informix. Redis was never the hard part. Keeping the two in step was."

informix-redis · the two planes New DataBlades in Informix

When the application writes twice, sooner or later it gets it wrong

A cache the application forgets to clear serves old data. An event sent before its transaction commits describes something that never happened. Two application servers that each "remember to update Redis" will disagree one day. Move that work into the database, and the database rules keep it correct.

Path A — direct, inside the SQL statement
-- point the blade at Redis, once, server-wide
EXECUTE FUNCTION redis_init('redis', 6379, NULL);

-- a trigger evicts exactly the key whose row changed
CREATE TRIGGER trg_orders_upd UPDATE ON orders
  REFERENCING NEW AS n FOR EACH ROW (
    EXECUTE FUNCTION redis_del('cache:order:' || n.order_id),
    EXECUTE FUNCTION redis_publish('events:orders',
                              n.order_id || ':' || n.status)
);

SELECT redis_idempotent('import:' || :ref, 86400);  -- 1 / 0
SELECT redis_rate_allow('rl:' || :tenant, 1000, 60); -- 1 / 0 / -1

Locks with fence tokens · rate limiting · idempotency keys · atomic counters · cache-aside · pub/sub fan-out. You can call all of them from SQL, SPL and triggers.

Path B — the committed change stream
Path APath B
mechanismredis_* C UDRsredis_cdc agent
directionSQL → Redis, in the statementlog → Redis, separately
guaranteebest-effortat-least-once, durable
use itwhen the statement needs an answer nowwhen an outage must not affect writes
The detail that makes Path A safe When Redis cannot be reached, these functions return −1, which is different from a real 0. So the person writing the SQL decides: continue anyway (<> 0) or stop (= 1). A Redis outage slows things down. It never blocks a commit.
verified green on Informix 14.10 Innovator-C and Informix 15.0 Developer Edition VectorTrigram GraphKafka Redis

Start with the failure everyone has seen: "the cache entry the application updated, but forgot to clear." Then show the trigger on the left. It removes exactly the key whose row changed, in the same statement that changed it. No code path can forget.

The two paths, one sentence each. Path A is for when the statement needs an answer now: a lock token, an allow or deny, a first-seen flag. Path B is for when an outage must not affect writes: cache invalidation, materialized views, search feeds, all driven from the committed log.

Spend a moment on the −1. It is a small decision that shows the attitude of the whole project. Redis is not the system of record, so a Redis failure must never stop a business transaction. The SQL author decides, call by call, whether to continue or stop. That is the difference between a cache integration you can show to an auditor and one you cannot.

informix-redis · search offload New DataBlades in Informix

The same change stream, turned into a search index

Add a search block to a captured table. The agent then stops publishing events and starts maintaining a RediSearch index instead. Informix stays the source of truth. The index is only a copy.

"search": {
  "language": "english", "snapshot": true,
  "schema": [
    {"field":"name",        "type":"TEXT", "weight":8.0,
     "phonetic":"dm:en", "suffixtrie":true, "sortable":true},
    {"field":"description", "type":"TEXT", "weight":1.0},
    {"field":"brand",       "type":"TAG",  "sortable":true},
    {"field":"price",       "type":"NUMERIC", "sortable":true}
  ]
}

-- typo-tolerant, faceted, relevance-ranked
FT.SEARCH redisdb:products:index
  "%hedphones% @category:{audio} @price:[100 200]"
  • Derived, not ownedThe index name comes from the table itself. Nothing to configure: <db>:<table>:index, with documents keyed by the table's own PRIMARY KEY, read from sysconstraints.
  • BackfilledExisting rows are loaded by a one-time snapshot. CDC on its own would only ever see rows changed after capture started.
  • What a B-tree cannot doTypo-tolerant, prefix, infix, stemmed, phonetic, relevance-ranked and faceted aggregation.
Note the shape of this Three of these five projects exist because a capability belonged inside the engine. This one exists because a capability belonged outside it. The change stream is what makes that outside copy trustworthy, instead of a second write.
cdc_plan_set → cdc_start → cdc_status — operators control capture from SQL VectorTrigram GraphKafka Redis

Optional slide. Cut this one first if you are running late.

If you keep it, the point is how it mirrors the trigram blade: the same "find it even with a typo" problem, solved a second way, for teams who would rather run RediSearch than compile C code. Both answers exist. You choose by how you like to operate, not by principle.

The detail worth mentioning is the naming. The index name and the document keys come from the table and its primary key. There is nothing to configure, and no mapping file that can drift away from the schema.

And the snapshot: CDC only sees changes after it starts. So an index built from CDC alone would quietly miss all your older rows. That one-time backfill is the difference between a demo and a product.

The argument, closed New DataBlades in Informix

Sometimes they are faster. That was never the whole question.

PostgreSQL's trigram code is four times faster per row. Its recursive CTE beats our graph blade on shallow queries. Both are true, and both are in this deck. And neither of them decides your architecture.

What the second system actually costs
  • CorrectnessWriting the same data twice is a bug you ship on purpose. Two copies will drift apart. The only question is when.
  • SecurityA second store means a second access model to design, certify, and certify again. Your row-level rules do not travel with the data.
  • OperationsA second backup, a second restore drill, a second HA plan, a second patch cycle, a second on-call rotation.
  • Speed, in practiceWhatever the second system saves you in the engine, you spend again on a network call and a join written in application code.
Where the line honestly falls Below a few million vectors per node, which covers most enterprise search, keeping it in the database wins on operations. Specialist engines win at very large scale, and on workloads dominated by filtering or hybrid search. That is not a weakness in the argument. It is the map.

Informix stays where it is. The new workloads come to it.

No migration. No second system. One security model, one backup, one transaction. Plus a VECTOR column, a fuzzy index, graph traversal, and a change stream.

one security model · one backup · one transaction · one HA plan VectorTrigram GraphKafka Redis

This is the close. Say the first line, then pause. Admitting the benchmark you lost is what earns you the argument you are about to win.

Go through the left column as real costs, not abstract ones. The strongest one, for anyone who has been through an audit, is security. Your row-level access rules — the ones that took a year to approve — do not travel with your data into a vector store. You build them again there, and you get them certified again.

Then the honest limit in the box. Say it plainly: at very large scale, or when filtering dominates, the specialist is the right answer. Below that, which is most of this room, the operational argument wins easily.

Last line, slowly: "Informix stays where it is. The new workloads come to it." That closes the circle with the opening: every new workload expected you to move your data; these five do not. No migration, no second system.

Where to go next Airtool Technologies

Five projects, and how to try them

Each one is built and tested the same way: a stack that brings up Informix 14 and 15 next to the engine it is compared against, creates the databases, compiles the blade on the server, and runs the whole suite before anything ships.

informix-vector vector type · 4 distances · HNSW · int8
informix-trgm trigram · edit distance · phonetics · index
informix-graph traversal · shortest path · analytics
informix-kafka CDC → Debezium-shaped JSON → Kafka
informix-redis direct UDRs · CDC bridge · RediSearch offload
What comes with it The blade itself, the manual whose SQL examples are executed against a clean database on every release, the test harness and datasets behind every number in this deck, and a written list of known limitations and roadmap for each project.

Questions.

Every number in this deck comes from a test that runs on each release. The datasets, the harness and the results are available on request — and so is a trial.

IBM and Informix are trademarks of International Business Machines Corporation. These are independent open-source projects, not affiliated with, sponsored by or endorsed by IBM or HCL. PostgreSQL, Apache Kafka and Redis are trademarks of their respective owners.

ifxtools.com · airtool.io · xavi.escote@airtool.io · © 2026 Airtool VectorTrigram GraphKafka Redis

Leave this slide on screen for the whole Q&A. People photograph the project names and the contact line.

Closing line before you take questions: "Every number I showed you comes from a test that runs on every release — including the benchmarks we lost. Write to me and I will send you the harness, the datasets and the results, and we can set you up with a trial."

Questions to expect:

  • "Is this supported? Is it production-ready?" — Be direct. These are projects from Airtool Technologies, independent of IBM and HCL, with the limits listed below. Point at the test matrix as the evidence, not at a support contract.
  • "Which Informix versions?" — Vector: 12.10, 14.10 and 15, with the same on-disk index format on all three. Graph: 14.10 and 15 tested. Kafka and Redis: 14 and 15.
  • "Do I need a compiler on my production server?" — For the three in-engine blades, yes. The C code is compiled on the server against its DataBlade API. For the Kafka connector, no. That was the reason for moving it out.
  • "Where do I get it? Can I see the code?" — Talk to me afterwards. We will set you up with a trial, and I can send you the test harness and the full results. Do not promise a public repository or a download link from the stage.

KNOWN LIMITS — answer from here if you are asked. Do not read the list out yourself.

  • vector — filters are applied after the search, so a very selective filter costs recall unless you fetch extra rows. Filter-aware traversal is designed but not built. No parallel index build. There is a small crash window on inserts between checkpoints.
  • trigram — our plain C is 4 to 6 times slower per row than PostgreSQL's tuned code. SIMD work is the fix. Informix cannot build a functional index on a UDR (error −517), so phonetic codes have to be stored in a column.
  • graph — the snapshot is rebuilt by graph_refresh. It does not follow the edge table live. A shallow recursive CTE is still faster.
  • kafka — streaming only, no initial snapshot yet. This is the one most likely to come up. Single-column keys only. Large types are dropped from capture. TRUNCATE is logged but not forwarded.
  • redis — Path A is best-effort by design: a failed call returns a special value, never an error. Path B publishes only the new version of the row.

All of it is written up under Known limitations and Roadmap in each project's documentation, which goes out with the trial. So "it is documented, and you will get it" is a true and complete answer.

1 / 25 ← → space · S notes · O overview · F full screen · T timer · D theme

Speaker notes