For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Working with SQL

Work with GridGain's distributed SQL database, including the SQL API, schemas, indexes, joins, custom functions, and combined SQL and key-value access.

GridGain comes with an ANSI-99 compliant, horizontally scalable, and fault-tolerant distributed SQL database. This section covers using SQL in GridGain, including an introduction to the SQL engine, the SQL API, schemas, indexes, distributed joins, custom SQL functions, and combining SQL with the key-value API.

An introduction to GridGain's distributed SQL database, covering simple, distributed, and local queries, distributed joins, aggregation, and timezones.

GridGain provides default schemas and supports custom schemas, defined in configuration or created automatically for each cache.

Define GridGain SQL indexes and queryable fields using annotations or query entities, configure group indexes, inline size, and custom keys.

Use GridGain's SQL API to configure queryable fields, run queries, execute DML and DDL, specify schemas, and cancel long-running queries.

Understand the GridGain collocation model for SQL joins and how to run collocated and non-collocated joins correctly.

Extend the GridGain SQL function set with custom SQL functions written in Java and annotated with @QuerySqlFunction.

Access cached data with both SQL and the key-value API, using a sample project that creates a SQL schema and queries it both ways.

This page is: Copyright © 2026 MariaDB. All rights reserved.

Last updated

Was this helpful?