SQL Database
Scale effortlessly and supercharge your global application performance with our distributed, serverless SQL database.
Learn how you can benefit from our platform.
Fully managed SQL on a globally distributed infrastructure—keep data close to users with fast reads, durable writes, and effortless scale
Global Reads, Local Latency
Replicas near users cut RTT and accelerate SQL queries
Built-in Resilience
Continuous replication and automatic failover keep apps online.
Cost Efficiency
Pay for storage and operations; global reads offload your origin and reduce spend.
Fully managed SQL on a globally distributed infrastructure
Vector Search
Serverless Architecture
Global Replication
Integration with Functions
SQLite Compatibility
How it works
Distributed SQL architecture
SQL Database operates with main instance architecture that processes all write operations while automatically synchronizing with read-only replicas across global edge locations.
The system ensures ACID compliance while distributing data through libSQL-based infrastructure maintaining familiar SQLite compatibility for existing applications.
Replication mechanisms maintain eventual data consistency between main instance and distributed replicas optimized for read-intensive applications without requiring infrastructure management.
LibSQL engine with vector search processing
The platform processes standard SQL queries alongside vector operations through libSQL engine supporting mathematical vector representations with up to 65,536 dimensions.
Built-in vector search functionality calculates cosine distance algorithms and Approximate Nearest Neighbors (ANN) indexing for semantic similarity queries directly within SQL operations.
Hybrid query processing combines traditional SQL with vector similarity searches enabling complex semantic search operations through familiar database interfaces.
REST API and Functions integration
SQL Database provides database operations through REST API endpoints and Functions integration enabling serverless applications to execute SQL queries via HTTP requests.
The system supports SQL Database Shell CLI tool for database migrations from PostgreSQL and MySQL platforms, facilitating development and testing through terminal interface.
API-driven architecture handles database creation, query execution, and data replication through standardized REST endpoints accessible from any edge location or Functions runtime.
Learn how you can benefit from our platform.
Retrieval-Augmented Generation (RAG)
Authentication and Sessions
Global Data Replication for SaaS
User Profiles and Preferences
Sign-up and get $300 to use for 12 months.
Access to all products
No credit card required
Credit available to use for 12 months