neighbourhoodie-nnh-logo
SQL Queries for Apache CouchDB

Structured Query Server

Structured Query Server (SQS) is an SQL query engine for CouchDB, letting you use SQL SELECT statements to extract information from a CouchDB database.

Subscribe now for 149 EUR* per month
WireIBMAam DigitalSystemd
Icon for Structured Query Server

SQL Queries for Apache CouchDB: Structured Query Server (SQS) is an SQL query engine for CouchDB, letting you use complex SQL SELECT statements to extract information from a CouchDB database with extreme flexibility.

The demo video gave me several “wow” moments, so I decided to give it a try. With SQS I can select a subset of attributes from my documents, making queries faster and lighter while still retaining richer data in the background. Honestly, I couldn’t think of an easier way — SQS makes the whole process remarkably simple.

Pedro León

Use Cases

Developers can build more complex software on top of CouchDB faster without sacrificing performance or CouchDB’s unique replication feature.

SQS seamlessly complements CouchDB’s built-in querying mechanisms and allows for complex queries that have not been possible with your CouchDB data before, including finding documents by multiple criteria, sorting by another value, and complex JOINS.

Data analysts can now query your CouchDB with the tools they are used to without any additional infrastructure to maintain.

Instead of having to learn CouchDB’s idiosyncrasies compared to SQL databases, SQS gives your data analysts full access to your CouchDB data.

Features

Example of a curl command with authentication used to query a database.

HTTP interface that returns JSON: query with anything, from anywhere, no SQL client necessary.

Diagram showing SQS running parallel with CouchDB.
SQS runs in parallel with CouchDB and keeps itself up to date.
JSON schema example defining fields for a movie database.

Works out of the box with most database designs and node configurations.

Stacks of paper files and folders in an office environment.
Handles millions of documents per database.
Bar chart comparing indexing speed of SQS and JS View.
Fast indexing (on average: on par with CouchDB JS views)

Structured Query Server is designed to feel as easy to use as the CouchDB views you already know:

  • Update a design doc to change your schema and SQS automatically picks it up.
  • SQS indexes are stored as hashes of the schema content, so you can “warm up” indexes in production before using them.
  • Supports _purge for strict data removal, for example to ensure GDPR compliance.
  • Includes _stats that show useful runtime statistics.
  • Can be configured with different log levels for everything from request logging to debugging and logs to stdout, a file or syslog.
  • Correctly handles single-node and clustered uses of CouchDB, including changes-feed rewinds.
  • Index compaction is handled automatically and can be switched to manual if needed.
  • Crash-proof design, just like CouchDB.
Learn More

Pricing for Structured Query Server

Subscribe now for 149 EUR* per month

* VAT is added if applicable

Please consult our Software License agreement for more information.

Got more Questions?

See our FAQ for more information.

Structured Query Server

Structured Query Server

Already fluent in SQL? Get SQL queries for your NoSQL database and your team
Get your license for 1490 EUR*
Architecture Review

Architecture Review

Develop on solid foundations: Let our experts review your infrastructure
Get your review for 2150 EUR (1–6 nodes)*
Opservatory

Opservatory

The 24/7 CouchDB monitor that trains your team as it oversees your database
Sign up for 49 EUR per node per month*
Sync Express

Sync Express

A continuous CouchDB replicator for huge numbers of databases
Release soon
* VAT is added if applicable
og-image-preview