GBase News

Focus on Database Software Products and Services, Committed to becoming the most trusted provider of database products for users.

One System, Two Capabilities: How GBase 8c HTAP Runs Transactions and Analytics in Parallel

Published on 2026-11-05

On one side, a surge of tens of thousands of transactions per second; on the other, real-time reports over hundreds of millions of rows — can your database handle both?

Traditional approaches rely on two systems plus ETL data movement, which bring data latency, complex architecture, and high O&M costs. GBase 8c offers a new answer with hybrid row-column storage: one database in which transactions and analytics compete "side by side," with zero data latency.

An "Either-Or" Dilemma That Has Plagued Enterprises for Years

Enterprise database workloads naturally fall into two camps:

OLTP (transaction processing) — point queries, inserts, and updates, pursuing high concurrency and low latency;

OLAP (analytical processing) — range scans and aggregation, pursuing high throughput and large-scale scans.

The problem is that the two have almost completely opposite data access patterns. Row-store databases excel at transactions but are slow at analytics; column-store databases excel at analytics but struggle to efficiently support high-frequency updates. As a result, enterprises have had to deploy two databases, moving data between them with ETL.

This "dual-system + ETL" architecture was the de facto industry standard for more than a decade. But it brings three unavoidable problems:

First, data latency. The analytics database is populated by periodic synchronization from the transactional database, so T+1 or even T+N is the norm — decision-makers always see "yesterday's data."

Second, complex architecture. Two databases, ETL pipelines, data-consistency checks — every additional layer of data movement adds another layer of failure risk and O&M cost.

Third, resource waste. The analytics and transactional databases each require independent hardware resources, yet their load peaks are often staggered — transactions are busy during the day, analytics at night — so hardware utilization never rises.

Consider an analogy: it is like a company hiring two specialists — one good at answering phones (fast response), one good at writing reports (deep analysis). Each works on their own, with information passed through an intermediary. The hand-off introduces delay, and sometimes messages get passed along incorrectly. What HTAP aims to do is give a single specialist both capabilities — answering the phone instantly when it rings, writing the report immediately when needed, with no intermediary for information.

HTAP: One Database Handling Both Transactions and Analytics

HTAP (Hybrid Transaction/Analytical Processing) aims to support mixed OLTP and OLAP workloads in a single database system, eliminating data silos and ETL movement delay between the TP and AP stores.

GBase 8c's core approach to HTAP is hybrid row-column storage — one table holds both row-stored and column-stored data, with the two copies stored independently and each serving its own purpose:

Storage Form

Storage Method

Core Advantages

Workload

Row storage

Physically contiguous storage by row

MVCC + WAL logs, high-concurrency transactions, low-latency point queries

OLTP

Column storage

Physically contiguous storage by column

CU compression units, high compression ratio, low IO, vectorized execution

OLAP

Hybrid row-column

One table with both row and column storage

Asynchronous Delta-table synchronization, automatic optimizer routing

HTAP

In short: TP workloads go to the row store, AP workloads to the column store; both share the same data view of the same table — no ETL, no dual systems.

Three Mechanisms: Making Hybrid Row-Column Storage Work

Hybrid row-column storage sounds simple, but implementing it requires solving one core problem: how does column-stored data keep up with real-time updates in the row store? GBase 8c answers with three mechanisms.

Layer 1: CU compression units — the "building blocks" of column storage

Column storage organizes data around the CU (Compression Unit) as its basic unit. Each column's data is segmented into CUs, and each CU corresponds to a CUDesc record containing metadata such as transaction timestamp, CU size, storage location, and min/max values. CUs support multiple compression algorithms, with a high compression ratio and low IO overhead, forming the foundation for efficient column-store scans.

Layer 2: Delta tables — the real-time update "buffer"

Every column-stored table is paired with a Delta table (itself a row-stored table) dedicated to handling small-batch data writes. New data first enters the Delta table (row store) and, once it accumulates to a certain threshold, is asynchronously merged into column-stored CUs.

Data write → Delta table (row store) → threshold reached → merged into CUs (column store)

The Delta table avoids the heavy CU-operation overhead that single-record operations would cause, and is the key to making hybrid row-column storage capable of real-time updates.

Layer 3: Query optimizer — the "smart navigator" that picks routes automatically

When a user writes a SQL statement, there is no need to specify whether to use the row store or the column store — the query optimizer decides automatically, choosing the optimal path based on the SQL's characteristics:

Query Characteristic

Optimizer Choice

Reason

Point query (WHERE id = ?)

Row store

Row-based location, efficient index

Update (UPDATE / DELETE)

Row store

MVCC + WAL, real-time writes

Range scan (WHERE col BETWEEN)

Column store

Columnar IO, less data scanned

Aggregation (COUNT / SUM / GROUP BY)

Column store

CU compression + vectorized execution

For AP queries, the column-store path not only scans CU data but also reads incremental data from the Delta table at the same time, ensuring that query results include the latest writes. The entire process is fully transparent to the user — one set of SQL, automatic routing, with no need to be aware of underlying storage details.

Proven Strength: HyBench Sets a New Leaderboard Record

Whether HTAP capability is truly up to par cannot be judged by architecture design alone — real test data matters more. In the latest HyBench benchmark, GBase 8c delivered an impressive result:

A New Leaderboard Record

3810.36

HyBench H-SCORE

HyBench is the first HTAP benchmark in China based on online transaction risk-control scenarios. Since it fully launched its market services, it has successfully completed testing for ten leading database products in the industry, and has become an authoritative measure for validating the HTAP capabilities of commercial products, open-source products, and integrated solutions in the database field. GBase 8c completed the test with an H-SCORE of 3810.36, setting a new leaderboard record — meaning that under realistic mixed workloads of transaction risk control, GBase 8c's transaction processing and analytical query capabilities both reach industry-leading levels.

Behind this result lies the power of the hybrid row-column architecture: transaction risk-control scenarios are naturally HTAP workloads — high-frequency transaction writes need the low latency of the row store, while real-time risk analysis needs the high throughput of the column store. GBase 8c uses one system to withstand pressure from both ends at once, with no need to choose at the architecture level.

For the full HyBench test report, see the benchmark service platform of the China Software Testing Center: GBase 8c achieved a high score of 3810.36 in the HyBench benchmark.

Beyond HTAP: AI-Native + Multi-Modal and Multi-Form

HTAP is one of GBase 8c's core capabilities, but far from all of them. As a next-generation AI-native database from General Data Technology Co., Ltd., GBase 8c's defining feature is "multi-modal storage and multi-form deployment" —

Multi-Modal Storage

Five storage modes — row, column, GIS, time-series, and vector — are managed in a unified way, with one system covering all scenarios including TP, AP, HTAP, and vector retrieval.

AI-Native Vector Engine

Vector is a native data type; scalar filtering and vector similarity hybrid queries are handled in a single SQL statement, with no need for an additional vector database.

Disaggregated Storage and Compute

Shared object storage, a stateless compute layer, second-level scaling, and support for Scale-to-Zero — compute cost approaches zero when idle.

Multi-Form Deployment

Three deployment forms — primary-standby, distributed, and disaggregated storage and compute — can be chosen flexibly, and HTAP capability is available in all three forms.

This means enterprises can choose different deployment forms at different stages of development, while HTAP capability remains always available. From a lightweight start with a single-machine primary-standby setup, to large-scale distributed expansion, to cloud-native elasticity with disaggregated storage and compute — the same database evolves smoothly without losing capability.

In a Nutshell

GBase 8c HTAP's core value:

One system, two capabilities — the row store handles transactions, the column store powers analytics, with no dual systems

Zero data latency — no ETL movement, analytical queries read the latest data directly

Smart routing — the optimizer picks the path automatically, transparent to users, with no SQL changes

Proven by testing — HyBench H-SCORE 3810.36, a new leaderboard record

Architectural evolution — AI-native + multi-modal and multi-form; HTAP is only the beginning, not the end

When transactions and analytics no longer require an "either-or," and when data no longer needs to be moved and waited on — the boundary of the database is the boundary of the business. GBase 8c HTAP is redefining that boundary.

FAQ

Q1: What's wrong with the traditional dual-system + ETL approach? 

Data latency (T+1/T+N), complex architecture (more failure risk and O&M cost), and resource waste (staggered peaks, low utilization).

Q2: What is HTAP's core goal? 

Support mixed OLTP and OLAP workloads in one database, eliminating data silos and ETL delay between TP and AP stores.

Q3: What is hybrid row-column storage? 

One table holds both row and column data stored independently: TP goes to the row store, AP to the column store, sharing one data view—no ETL, no dual systems.

Q4: What do the three mechanisms solve? 

CU compression units (high-compression column blocks); Delta tables (row-stored write buffers merged asynchronously into CUs—the key to real-time updates); query optimizer (auto-routing by SQL, reading CUs and Delta increments together for AP queries, fully transparent).

Q5: How does the optimizer route queries? 

Point queries and updates go to the row store (MVCC+WAL); range scans and aggregations go to the column store (columnar IO, CU compression, vectorized execution).