//SQL Database

Serverless distributed SQL with built-in vector search

Store and query relational data and embeddings from global replicas for AI-powered applications.

Docs

Data in your apps

Build applications that store and access structured data natively, without external databases.

Fast global reads

Serve data to users worldwide with quick response times from distributed replicas.

RAG without complexity

Build AI applications with embeddings and relational data in a single database.

Build databases from codeCreate, query, and manage SQLite-compatible databases from your application workflow. Connect SQL Database with Functions to build data-driven experiences on Azion Platform.
SQL Database code workflow with CLI and API integration.
Distributed SQL for resilient global readsThe primary instance handles writes while distributed replicas serve read-heavy workloads closer to users, helping applications stay responsive and available.
Interface representing an example of a custom query.

Combine relational data and vector search

SQL Database stores structured records and embeddings together, so teams can build RAG applications without adding a separate vector database.
Learn More

See how to use

AI

Retrieval-Augmented Generation (RAG)

Build RAG applications with built-in vector search and AI Inference integration. Query embeddings and relational data together without a separate vector database.

Security

Authentication and sessions

Store sessions, tokens, and authentication metadata in a distributed SQL layer. Validate credentials from replicas closer to users.

SaaS

Global replication for SaaS

Serve shared datasets from distributed read replicas. SaaS applications stay consistent for users across regions.

Personalization

User profiles and preferences

Store profiles and settings close to application logic for responsive personalization. Read-heavy workloads benefit from distributed replicas.

E-commerce

E-commerce product catalogs

Query inventory and product data from replicas near customers. Keep catalog experiences responsive during traffic spikes.

DNZ
Axur
Radware
Arezzo
Contabilizei
Magazine Luiza
Fourbank
Radware
Crefisa
Netshoes
Dafiti
Global Fashion Group
HeroSpark Logo

"Azion transformed our operations, reducing costs and improving performance while freeing 200+ monthly hours for strategic development."

Mateus Leonardi

CTO at HeroSpark

//Complete, not complex

A full-stack platform that scales instantly

Frequently Asked Questions

What is SQL Database?

Azion SQL Database is a serverless, distributed SQL solution on a global network. It supports SQLite-compatible queries, ACID compliance on the primary instance, read replicas, built-in vector search, and native Functions integration. Use it to build RAG applications, authentication systems, and data-driven APIs without managing separate services.

How does SQL Database replicate data?

SQL Database uses a Main/Replicas architecture. Writes go to the main instance and propagate to read replicas across the global network. This keeps read-heavy workloads closer to users while maintaining ACID guarantees on the primary.

Can I write to replicas?

No. Replicas are read-only. Writing data is only possible on the main instance, either via the REST API or via Functions. This architecture ensures ACID compliance while distributing reads globally.

Are replicas immediately consistent with the main instance?

No. Replicas update with propagation time and eventually sync with the main instance. This model supports distributed reads for workloads that do not require immediate global consistency.

How do I query SQL Database from Functions?

Functions can connect to a read replica and execute SQL queries or commands. This lets application logic make request-time decisions using data stored on Azion Platform.

Can I manage databases with an API?

Yes. Create, list, query, and delete databases using the SQL Database REST API. Database creation may take a few minutes before it's ready to use. Automate database provisioning programmatically.

What happens if I delete a database?

Deleting a database is permanent and cannot be undone. After deletion, you can no longer read from or write to that database.

What are the default limits for SQL Database?

Default limits include up to 100 columns per table and a maximum SQL query duration of 30 seconds. Database count and storage limits depend on your service plan.

What is Vector Search in SQL Database?

Vector Search enables semantic search using vector embeddings stored directly in SQL Database. Supports cosine distance calculations and indexing for approximate nearest neighbor queries—no separate vector database required.

Is there a limit on vector dimensions?

Yes. Vector operations support up to 65,536 dimensions, sufficient for most embedding models including OpenAI's text-embedding-3-large (3072 dimensions) and similar models.

//Store

Your data.
Available everywhere.

Talk to our team of experts and start saving money