Serverless distributed SQL with built-in vector search
Store and query relational data and embeddings from global replicas for AI-powered applications.
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.



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
"Azion transformed our operations, reducing costs and improving performance while freeing 200+ monthly hours for strategic development."
Mateus Leonardi
CTO at HeroSpark
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.
Your data.Available everywhere.
Talk to our team of experts and start saving money