|
2 | 2 | title: Questions & answers |
3 | 3 | sidebar_label: Questions & answers |
4 | 4 | keywords: |
| 5 | + - "self-driving postgres" |
| 6 | + - "postgresql monitoring" |
5 | 7 | - "database branching" |
6 | 8 | - "postgresql thin cloning" |
7 | | - - "zero downtime postgres upgrades" |
8 | | - - "instant database clones" |
9 | | - - "postgresql development environments" |
| 9 | + - "postgresai copilot" |
10 | 10 | - "database lab engine" |
11 | | - - "postgresai assistant" |
12 | | - - "postgresql testing automation" |
13 | | - - "copy on write postgres" |
| 11 | + - "postgresql automation" |
14 | 12 | --- |
15 | 13 |
|
16 | 14 | # Questions & answers |
17 | 15 |
|
18 | | -## About PostgresAI |
19 | | - |
20 | | -### What is PostgresAI? |
21 | | - |
22 | | -PostgresAI is a technology company revolutionizing PostgreSQL development and operations. We provide tools and services that make working with PostgreSQL databases faster, safer, and more efficient: |
23 | | - |
24 | | -- **DBLab Engine**: Our flagship open-source platform for instant database cloning and branching |
25 | | -- **PostgresAI Assistant**: Free AI-powered PostgreSQL expert available 24/7 |
26 | | -- **Zero-downtime solutions**: Tools and expertise for seamless PostgreSQL upgrades |
27 | | -- **Expert consulting**: PostgreSQL performance optimization and architecture services |
28 | | - |
29 | | -We help companies ship database changes 10x faster while reducing infrastructure costs and preventing production incidents. |
30 | | - |
31 | | -### What makes PostgresAI different? |
32 | | - |
33 | | -We provide a comprehensive PostgreSQL platform that transforms how teams work with databases: |
34 | | - |
35 | | -**DBLab Engine - Database Branching & Cloning:** |
36 | | -- **Instant database branching**: Create full-size database branches in 10 seconds (vs. hours with traditional methods) |
37 | | -- **True CI/CD for databases**: Test every migration with production data using DBLab clones |
38 | | -- **Cost efficiency**: Run 50+ DBLab clones on a single machine |
39 | | -- **Developer empowerment**: Self-service database environments on demand with DBLab |
40 | | - |
41 | | -**PostgresAI Assistant - AI-Powered Expertise:** |
42 | | -- **Multi-model AI support**: Choose between GPT, Claude, and Gemini for PostgreSQL assistance |
43 | | -- **24/7 availability**: Get expert-level answers instantly, no waiting for human experts |
44 | | -- **Context-aware responses**: Understands complex PostgreSQL scenarios and best practices |
45 | | - |
46 | | -**Professional Services & Tools:** |
47 | | -- **Zero-downtime upgrades**: Proven methodologies and tools for risk-free PostgreSQL migrations |
48 | | -- **Performance optimization**: Expert consulting for query tuning and architecture design |
49 | | -- **Custom solutions**: Tailored PostgreSQL tools for specific enterprise needs |
50 | | - |
51 | | -**Open Source Leadership:** |
52 | | -- **Community-driven development**: Core products are open source with transparent roadmaps |
53 | | -- **PostgreSQL ecosystem contributions**: Active participation in advancing PostgreSQL technology |
54 | | - |
55 | | -## DBLab |
56 | | - |
57 | | -### What is DBLab Engine? |
58 | | - |
59 | | -DBLab Engine is an open-source platform that enables instant cloning and branching for PostgreSQL databases. It allows you to: |
60 | | - |
61 | | -- Create full-size database clones in seconds, regardless of size |
62 | | -- Test migrations, optimize queries, and debug issues with real data |
63 | | -- Integrate database testing into CI/CD pipelines |
64 | | -- Provide isolated development environments to every team member |
65 | | - |
66 | | -### How fast is database cloning? |
67 | | - |
68 | | -- **1 TB database**: ~10 seconds |
69 | | -- **10 TB database**: ~10 seconds |
70 | | -- **Speed is constant** regardless of database size |
71 | | - |
72 | | -Traditional approaches would take hours or days for such operations. |
73 | | - |
74 | | -### What editions are available? |
75 | | - |
76 | | -**Community Edition (Free)** |
77 | | -- Open-source (Apache 2.0 license) |
78 | | -- Full thin cloning capabilities |
79 | | -- Community support |
80 | | -- Perfect for small teams and POCs |
81 | | - |
82 | | -**Standard Edition (SE)** |
83 | | -- Commercial support included |
84 | | -- Compatible with managed databases (RDS, Cloud SQL, etc.) |
85 | | -- One-click deployment via Console |
86 | | -- Monitoring and alerting included |
87 | | -- Starting from $0.27/hour |
88 | | - |
89 | | -**Enterprise Edition (EE)** |
90 | | -- Everything in SE, plus: |
91 | | -- Unified control plane for multiple instances |
92 | | -- SSO and advanced user management |
93 | | -- Comprehensive audit logs |
94 | | -- API for automation |
95 | | -- Custom pricing based on requirements |
96 | | - |
97 | | -### What is "thin cloning"? |
98 | | - |
99 | | -Thin cloning uses Copy-on-Write (CoW) technology to create virtual database copies that: |
100 | | -- Share unchanged data blocks between clones |
101 | | -- Appear as completely independent databases |
102 | | -- Support full read/write operations |
103 | | -- Use minimal additional storage |
104 | | - |
105 | | -This is fundamentally different from traditional copying, which duplicates all data. |
106 | | - |
107 | | -### How does DBLab Engine work? |
108 | | - |
109 | | -1. **Initial sync**: DBLab copies data from your source database (thick clone) |
110 | | -2. **Continuous sync**: Keeps data up-to-date using logical or physical replication |
111 | | -3. **Snapshot management**: Automatically creates and manages data snapshots |
112 | | -4. **Instant cloning**: Creates thin clones from any snapshot in seconds |
113 | | -5. **Isolation**: Each clone is fully isolated and can be modified independently |
114 | | - |
115 | | -### What technologies does DBLab use? |
116 | | - |
117 | | -- **Storage**: ZFS (recommended) or LVM for Copy-on-Write capabilities |
118 | | -- **Containerization**: Docker for clone isolation |
119 | | -- **Replication**: PostgreSQL logical/physical replication for data sync |
120 | | -- **API**: RESTful API for automation and integration |
121 | | - |
122 | | -### Do I need to modify my production database? |
123 | | - |
124 | | -**No.** DBLab runs completely separately from your production environment. It only needs: |
125 | | -- Read access to your database (for initial copy) |
126 | | -- Replication connection (for continuous sync) |
127 | | -- No ZFS, Docker, or special software on production |
128 | | - |
129 | | -### Who uses DBLab Engine? |
130 | | - |
131 | | -**Development Teams** |
132 | | -- Get production-like data for development |
133 | | -- Test database changes before deployment |
134 | | -- Debug production issues safely |
135 | | - |
136 | | -**DevOps Engineers** |
137 | | -- Automate database provisioning in CI/CD |
138 | | -- Reduce staging environment costs |
139 | | -- Standardize database workflows |
140 | | - |
141 | | -**QA Teams** |
142 | | -- Test with real data scenarios |
143 | | -- Reproduce production bugs |
144 | | -- Validate data migrations |
145 | | - |
146 | | -**DBAs** |
147 | | -- Optimize queries with production data |
148 | | -- Test PostgreSQL upgrades safely |
149 | | -- Train junior DBAs without risk |
150 | | - |
151 | | -### What problems does DBLab solve? |
152 | | - |
153 | | -✅ **Long wait times** for database copies |
154 | | -✅ **High infrastructure costs** for non-production environments |
155 | | -✅ **Production incidents** from untested database changes |
156 | | -✅ **Developer productivity** bottlenecks |
157 | | -✅ **Compliance issues** with production data access |
158 | | - |
159 | | -### What infrastructure do I need for DBLab? |
160 | | - |
161 | | -**For DBLab Engine:** |
162 | | -- Dedicated machine (VM or physical) |
163 | | -- Disk space = database size + 20% overhead |
164 | | -- 16GB+ RAM recommended |
165 | | -- Any modern Linux distribution |
166 | | -- Network access to source database |
167 | | - |
168 | | -**Supported environments:** |
169 | | -- ✅ AWS, GCP, Azure |
170 | | -- ✅ On-premises data centers |
171 | | -- ✅ VMware, Nutanix |
172 | | -- ✅ Any PostgreSQL 9.6+ |
173 | | - |
174 | | -### Can I use DBLab with managed databases? |
175 | | - |
176 | | -Yes! DBLab works with: |
177 | | -- Amazon RDS & Aurora |
178 | | -- Google Cloud SQL |
179 | | -- Azure Database for PostgreSQL |
180 | | -- Heroku Postgres |
181 | | -- Supabase |
182 | | -- Any PostgreSQL-compatible service |
183 | | - |
184 | | -For managed databases, we use logical replication for data synchronization. |
185 | | - |
186 | | -### How quickly can I get started with DBLab? |
187 | | - |
188 | | -- **Community Edition**: 1-2 hours to first clone |
189 | | -- **Standard Edition**: 15 minutes with guided setup |
190 | | -- **POC Support**: We offer free POC assistance |
191 | | - |
192 | | - |
193 | | -### Is my data secure? |
194 | | - |
195 | | -- DBLab runs in your infrastructure |
196 | | -- No data leaves your environment |
197 | | -- Full audit logging (Enterprise Edition) |
198 | | -- Encryption at rest and in transit |
199 | | -- Role-based access control |
200 | | - |
201 | | -### Can I mask sensitive data? |
202 | | - |
203 | | -Yes! DBLab supports: |
204 | | -- Custom data masking rules |
205 | | -- Subset data for smaller clones |
206 | | -- Compliance with GDPR, HIPAA, SOC2 |
207 | | - |
208 | | -### How is DBLab priced? |
209 | | - |
210 | | -**Community Edition**: Free forever (Apache 2.0 license) |
211 | | - |
212 | | -**Standard Edition**: Based on compute resources |
213 | | -- Starts at ~$63/month (excl. costs of cloud resources) |
214 | | -- No per-database or per-clone fees |
215 | | -- Transparent hourly billing |
216 | | - |
217 | | -**Enterprise Edition**: Annual contracts |
218 | | -- Custom pricing based on scale |
219 | | -- Includes professional services |
220 | | -- SLA guarantees |
221 | | - |
222 | | -### How do I get support? |
223 | | - |
224 | | -**Community Edition:** |
225 | | -- [Community Slack](https://slack.postgres.ai) |
226 | | -- [GitLab issues](https://gitlab.com/postgres-ai/database-lab/-/issues) |
227 | | -- [Documentation](/docs) |
228 | | - |
229 | | -**Paid Editions:** |
230 | | -- Dedicated support team |
231 | | -- Email/Slack/Zoom priority support |
232 | | -- Support of custom Postgres images and Postgres images for popular Postgres platforms ([details](https://postgres.ai/docs/database-lab/#paid-versions-dblab-se-and-ee)) |
233 | | -- Custom training available |
234 | | - |
235 | | -### Where can I learn more? |
236 | | - |
237 | | -- [Documentation](/docs) |
238 | | -- [DBLab Engine GitLab repository](https://gitlab.com/postgres-ai/database-lab) |
239 | | -- [Blog](/blog) – Technical articles and case studies |
240 | | - |
241 | | -### How do I contact PostgresAI? |
242 | | - |
243 | | -See the ["Contact us"](/contact) page. |
244 | | - |
245 | | -## PostgresAI Assistant |
246 | | - |
247 | | -### What is PostgresAI Assistant? |
248 | | - |
249 | | -An AI-powered chatbot specifically trained for PostgreSQL questions, supporting multiple leading AI models including GPT, Claude, and Gemini. It helps with: |
250 | | -- Query optimization |
251 | | -- Schema design |
252 | | -- Performance troubleshooting |
253 | | -- Best practices guidance |
254 | | -- PostgreSQL feature explanations |
255 | | - |
256 | | -Available at https://postgres.ai - no registration required for public conversations. |
257 | | - |
258 | | -### Is PostgresAI Assistant really free? |
259 | | - |
260 | | -Yes! Public conversations are completely free. For private conversations with sensitive data, you can register your organization in the Console. |
261 | | - |
262 | | ---- |
263 | | - |
264 | | -*Have a question not answered here? Contact us at support@postgres.ai* |
| 16 | +## What is PostgresAI? |
| 17 | + |
| 18 | +We're building self-driving Postgres. Your database monitors itself, |
| 19 | +diagnoses problems, tests fixes, and hands you a PR. You approve, it ships. |
| 20 | + |
| 21 | +## What is self-driving Postgres? |
| 22 | + |
| 23 | +Every week, another million Postgres databases spin up. AI builders, startups, |
| 24 | +side projects — everyone's shipping. But there are maybe 50,000 people on |
| 25 | +Earth who truly understand Postgres internals. The math doesn't work. |
| 26 | + |
| 27 | +Self-driving Postgres is the solution: databases that take care of themselves. |
| 28 | + |
| 29 | +### The roadmap |
| 30 | + |
| 31 | +``` |
| 32 | +2018-2024 │ FOUNDATION |
| 33 | + │ |
| 34 | + │ Consulting: GitLab, Midjourney, Miro, Chewy, Suno... |
| 35 | + │ Thousands of RCAs, production incidents, 3am fixes |
| 36 | + │ Clusters scaled from 10 GiB to 100+ TiB |
| 37 | + │ |
| 38 | + │ Building blocks: |
| 39 | + │ ├── postgres-checkup (health analysis) |
| 40 | + │ ├── DBLab Engine (thin cloning, branching) |
| 41 | + │ ├── postgres_ai monitoring (FOSS) |
| 42 | + │ └── PostgresAI Assistant (AI chat) |
| 43 | + │ |
| 44 | + │ |
| 45 | +2025 │ COPILOT ◄── WE ARE HERE |
| 46 | + │ |
| 47 | + │ AI watches, diagnoses, suggests |
| 48 | + │ Expert validation on every recommendation |
| 49 | + │ You approve, you merge |
| 50 | + │ |
| 51 | + │ |
| 52 | +2026 │ AUTOPILOT |
| 53 | + │ |
| 54 | + │ Safe operations run automatically |
| 55 | + │ Risky changes still need approval |
| 56 | + │ Self-driving: first versions late 2026 |
| 57 | + │ |
| 58 | + │ |
| 59 | +2027+ │ SELF-DRIVING |
| 60 | + │ |
| 61 | + │ Full autonomy |
| 62 | + │ Your Postgres runs itself |
| 63 | + │ You ship product |
| 64 | + │ |
| 65 | + ▼ |
| 66 | +``` |
| 67 | + |
| 68 | +## What is DBLab? |
| 69 | + |
| 70 | +DBLab Engine enables database branching — instant, full-size clones of your |
| 71 | +Postgres in seconds, not hours. This lets us test every fix on a copy of your |
| 72 | +real database before it reaches you. Experiment at incredible speed, risk-free. |
| 73 | + |
| 74 | +More: [DBLab Engine documentation](/docs/database-lab) |
| 75 | + |
| 76 | +## How does PostgresAI Copilot work? |
| 77 | + |
| 78 | +``` |
| 79 | +╔════════════╗ ╔═ PostgresAI Copilot ═════════════════════╗ |
| 80 | +║ Your ║░ ║ ┏━━━━━━━━━━━━━━┓ ┏━━━━━━━━━━━━━━┓ ║░ |
| 81 | +║ Postgres ║░──────▶║ ┃ Monitoring ┃────▶┃ Health check ┃ ║░ |
| 82 | +║ database ║░ ║ ┗━━━━━━━━━━━━━━┛ ┃ & Issues ┃ ║░ |
| 83 | +╚════════════╝░ ║ ┗━━━━━━━━━━━━━━┛ ║░ |
| 84 | + ░░░░░░░░░░░░░░ ╚══════════════════════════════════════════╝░ |
| 85 | + ▲ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ |
| 86 | + │ │ |
| 87 | + │ ▼ |
| 88 | + │ ╔═════════════════════════╗ ╔═════════════════════╗ |
| 89 | + └─────║ GitHub PRs / GitLab MRs ║░◀───║ AI tool (Cursor, …) ║░ |
| 90 | + ╚═════════════════════════╝░ ╚═════════════════════╝░ |
| 91 | + ░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░░░░░░░░░░ |
| 92 | +``` |
| 93 | + |
| 94 | +Open-source monitoring (postgres_ai) runs in your infra. Copilot watches 24/7, |
| 95 | +catches issues before they page you, and delivers fixes as pull requests. |
| 96 | + |
| 97 | +This isn't another monitoring tool with dashboards and alerts. Copilot gives |
| 98 | +you actual solutions: |
| 99 | + |
| 100 | +> `CREATE INDEX idx_orders_customer_id ON orders(customer_id);` |
| 101 | +> — tested on a clone, validated by experts, ready to merge. |
| 102 | +
|
| 103 | +We don't throw metrics at an LLM and pray. Our AI is built on battle-tested |
| 104 | +methodologies from 20 years of production incidents. Every recommendation is |
| 105 | +verified against your actual data. We're a Google for Startups AI company with |
| 106 | +rigorous experimental pipelines. |
| 107 | + |
| 108 | +Expert + AI > Either alone. |
| 109 | + |
| 110 | +## How much? |
| 111 | + |
| 112 | +$500/month per cluster. |
| 113 | + |
| 114 | +Monitoring is free, forever, open source. Copilot adds the AI layer, expert |
| 115 | +validation, monthly deep-dive health checks, and direct Slack access to |
| 116 | +people who've seen everything. |
| 117 | + |
| 118 | +## Is my data safe? |
| 119 | + |
| 120 | +Yes. Monitoring runs in your infrastructure. We see query shapes and |
| 121 | +performance metrics — not your actual data. Your secrets stay yours. |
| 122 | + |
| 123 | +## How do I start? |
| 124 | + |
| 125 | +Currently in preview — reach out to nik@postgres.ai if you believe your case |
| 126 | +can positively influence our development and need to get access faster. |
0 commit comments