CQL++

discontinued

by Machine Independent Software Corporation · since 1994 · also known as CQL++ DBMS

1990s C++ SQL database with ODBC, embedded SQL and an ISAM layer, later released as free source code.

relationaldatabase engineopen source (permissive)legacy

discontinued. No development since about 2010; the site is kept online in memory of its author and paid support is unavailable.

Overview

CQL++ is an ANSI SQL-89 database management system with ODBC extensions from Machine Independent Software Corporation, distributed with complete C++ source code. It is layered so programmers can work at several levels: the ODBC API (Level 1 plus parts of Level 2), an SQL API used by a preprocessor for embedded EXEC SQL statements, and lower ISAM and B+tree layers for direct record access. It shipped as a single-user library with full COMMIT/ROLLBACK and crash recovery, and as a client/server version providing repeatable-read isolation for multiple users. The client/server code was later made available free of charge, first under the GPL and then under a looser custom license. The site is now maintained in memory of its author Seth Kurtzberg, copyright ends in 2010, and the newest download is a 10.0 beta.

Strengths & trade-offs

Strengths

  • +Complete C++ source for a small SQL engine with ODBC, embedded SQL and ISAM layers
  • +Transactions with crash recovery in both single-user and client/server builds
  • +Lets code drop down to ISAM/B+tree access when SQL is too heavy

Trade-offs

  • −Unmaintained since about 2010, with builds tied to old compilers
  • −Only SQL-89-level features
  • −No support or community

Great for

  • +Studying the internals of a compact SQL engine
  • +Maintaining legacy applications built on it

Think twice for

  • −New applications
  • −Modern SQL features or concurrency needs

Capabilities

Native or official first-party support · 4 of 25 tracked

✓Transactions
✓Joins
✓Secondary indexes
✓Durable persistence
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–Columnar storage
–In-memory
–Compression
–Encryption at rest
–Role-based access
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
No
Transactions
Full ACID
Consistency
Strong
Schema
Strict
Architecture
Embedded, Client server
Query languages
SQL, Embedded SQL

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

apis & protocolsODBC, SQL API, ISAM API
client languagesC++, C

Alternatives to CQL++

Compare all→
SQLiteRelational75.5

The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.

cql-plus-plus vs sqlite →
H2 DatabaseRelational23.5

Fast pure-Java SQL engine for embedded, in-memory and test databases, with compatibility modes.

cql-plus-plus vs h2 →
Oracle Berkeley DBKey-Value17.0

The 1990s-era embedded key-value library, now Oracle-owned, AGPL-licensed and rarely updated.

cql-plus-plus vs berkeley-db →
c-treeACERelational0.0

FairCom's embeddable ISAM, SQL and JSON database engine, now sold as FairCom DB; roots in 1984's c-tree.

cql-plus-plus vs c-treeace →
Microsoft AccessRelational45.8

Desktop database and forms builder bundled with Microsoft 365; still everywhere in back offices.

cql-plus-plus vs microsoft-access →
FirebirdRelational32.8

Lightweight, MVCC relational database from the InterBase lineage, embeddable or client-server.

cql-plus-plus vs firebird →

CQL++ FAQ

What is CQL++?

CQL++ is a relational database by Machine Independent Software Corporation, first released in 1994. CQL++ is an ANSI SQL-89 database management system with ODBC extensions from Machine Independent Software Corporation, distributed with complete C++ source code. It is layered so programmers can work at several levels: the ODBC API (Level 1 plus parts of Level 2), an SQL API used by a preprocessor for embedded EXEC SQL statements, and lower ISAM and B+tree layers for direct record access. It shipped as a single-user library with full COMMIT/ROLLBACK and crash recovery, and as a client/server version providing repeatable-read isolation for multiple users. The client/server code was later made available free of charge, first under the GPL and then under a looser custom license. The site is now maintained in memory of its author Seth Kurtzberg, copyright ends in 2010, and the newest download is a 10.0 beta.

Is CQL++ open source?

Yes. CQL++ is open source. License: Custom free license (formerly GPL).

Does CQL++ support ACID transactions?

Yes. CQL++ supports full ACID transactions, with strong consistency.

Does CQL++ scale horizontally?

CQL++ does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).

How can I run CQL++?

You can self-host it and embed it in your application.

What is CQL++ best for?

CQL++ is a strong fit for studying the internals of a compact SQL engine and maintaining legacy applications built on it. Think twice for new applications.

What are the best alternatives to CQL++?

Common alternatives to CQL++ include SQLite, H2 Database, Oracle Berkeley DB, c-treeACE and Microsoft Access. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is CQL++ still maintained?

CQL++ is discontinued. No development since about 2010; the site is kept online in memory of its author and paid support is unavailable.

How popular is CQL++?

CQL++ has little measurable public adoption today, so it ranks near the bottom of the WhichDB Score.