CockroachDB
Firebase
No signals
CockroachDB
Firebase
CockroachDB
Firebase
CockroachDB
Firebase
CockroachDB
Firebase
CockroachDB
Firebase
CockroachDB
No signals
Firebase
CockroachDB
No signals
Firebase
CockroachDB
No signals
Firebase
CockroachDB
No signals
Firebase
Users: N/A
Storage: Unlimited (self-hosted)
Limits: Revenue threshold ($10M), community support only, requires self-hosting expertise
Users: N/A
Storage: 10GB free
Limits: No SLA, basic support, limited cluster customization
Users: N/A
Storage: Pay per GB
Limits: Usage-based can be unpredictable, requires cost monitoring
Users: N/A
Storage: Custom
Limits: Requires sales engagement, custom contracts
Users: Unlimited Auth users
Storage: 1GB Firestore, 5GB Cloud Storage
Limits: Daily quotas reset, no outbound networking, limited to Google services only
Users: Unlimited
Storage: Pay per GB
Limits: Requires credit card, costs can spike without budget alerts configured
Users: N/A
Storage: N/A
Limits: Only on Blaze plan, cold starts, 9-minute timeout (2nd gen), memory limits
Users: N/A
Storage: $0.18/GB-month
Limits: Query limitations (no OR, 10 whereIn limit), no native full-text search
| Feature | CockroachDB | Firebase |
|---|---|---|
| Database | ||
| Distributed SQL Automatic sharding | ||
| Firestore Database NoSQL real-time | ||
| PostgreSQL Compatible Partial | ||
| ACID Transactions Distributed | ||
| Full PostgreSQL Compatibility Partial only | ||
| SQL Queries NoSQL only | ||
| PostgreSQL NoSQL only | ||
| Auth | ||
| Authentication Multi-provider | ||
| Infrastructure | ||
| Multi-Region Built-in | ||
| Hosting CDN included | ||
| Backend | ||
| Cloud Functions Blaze only | ||
| Reliability | ||
| Automatic Failover Zero downtime | ||
| Scaling | ||
| Horizontal Scaling Add nodes | ||
| Storage | ||
| Cloud Storage For files/media | ||
| Analytics | ||
| Analytics Free, integrated | ||
| OLAP/Analytics OLTP only | ||
| Deployment | ||
| Self-Hosted Option Enterprise | ||
| Monitoring | ||
| Crashlytics Free | ||
| Search | ||
| Full-text Search Needs Algolia/Elastic | ||
| Licensing | ||
| Open Source License Source-available | ||