Powered by LibSQL
LibSQL balanced lightweight efficiency with proven enterprise-grade performance.
Astro DB is a fully managed SQL database that is fast, lightweight, and ridiculously easy-to-use.
No credit card required. Cancel anytime.
LibSQL balanced lightweight efficiency with proven enterprise-grade performance.
Astro DBโs automatically scales up to meet demand and scales down to $0 when inactive.
Everything is setup for you, like a TypeScript ORM with full type-safety out of the box.
Stop worrying about configuration, provisioning, and setupโjust start building. Unlock a universe of new site features with the only drop-in database designed exclusively for Astro.
// Configure your database schemaconst Comments = defineTable({ columns: { authorId: column.text(), postId: column.text(), body: column.text(), published: column.date({ default: NOW }), }})
// Insert a new comment recordawait db.insert(Comments).values({ authorId: "12345", postId: blogPostId, body,})
Your schema lives in your codebase, with automatic schema diffing and migrations.
Develop locally with zero dependencies. No Docker? No problem.
Changes to data trigger webhooks that can integrate with most third-party tools.
Easy-to-use simplicity meets powerful scalability, with a visual UI that will save you time.
Database
Unlimited
Applications
Unlimited
Storage
1GB included, per month
$1.00 per each additional 1GB
Row Reads
One billion included, per month
$0.001 per each additional 1M
Row Writes
One million included, per month
$1.00 per each additional 1M
astro add db
Copied!