Configure compute, memory, and storage for vector workloads
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing Developing AI Cloud Solutions on Azure premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- Two resource profiles: the build and the serve
- Reading a compute tier's real numbers
- Where a vector index actually lives in memory
- maintenance_work_mem: the knob that decides build time
- Parallel index builds need workers, not just memory
- Storage size buys IOPS, and the compute SKU caps them
- A full disk turns the server read-only
- Allowlisting pgvector before the database can see it
- Autovacuum spends the same memory your build wants
- Recognizing a resourcing question on the exam
Compute tiers on flexible server, on the axes a vector workload cares about
| Decision axis | Burstable | General Purpose | Memory Optimized |
|---|---|---|---|
| Memory per vCore (Microsoft's published figure) | Variable | 4 GiB | 6.75 GiB to 9.5 GiB |
| vCore range | 1 to 20 | 2 to 192 | 2 to 192 |
| Sustained CPU | Credit model: restricted to baseline CPU once credits are exhausted | Full vCores | Full vCores |
| Microsoft's stated target workload | Web servers, proofs of concept, small databases, development builds; not recommended for production | A balance of CPU and memory for most production workloads | High-performance workloads that need in-memory performance and higher concurrency |
| What that means for an index build | A long build is sustained CPU, which is what the credit model penalizes | Workable, bounded by 4 GiB per vCore | The same vCore count buys more RAM for the graph to fit in |
| What that means for serving queries | Credit depletion can make the server unreachable | Fine while the working set fits in a quarter of that RAM | Where a working set larger than 4 GiB per vCore belongs |
| Support posture | No 24/7 support, and root cause analysis might not be provided | Standard | Standard |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
References
- Compute options in Azure Database for PostgreSQL flexible server
- Enable and use DiskANN in Azure Database for PostgreSQL flexible server
- PostgreSQL: Resource Consumption configuration parameters
- Resource Usage / Memory server parameters
- PostgreSQL: Query Planning configuration parameters
- Autovacuum tuning in Azure Database for PostgreSQL flexible server
- Resource Usage / Asynchronous Behavior server parameters
- List of extensions and modules by name in Azure Database for PostgreSQL flexible server
- Storage options in Azure Database for PostgreSQL flexible server
- Optimize performance when using pgvector in Azure Database for PostgreSQL flexible server
- Configure storage autogrow in Azure Database for PostgreSQL flexible server
- Create extensions in Azure Database for PostgreSQL flexible server
- Allow extensions in Azure Database for PostgreSQL flexible server
- Vector search with pgvector in Azure Database for PostgreSQL flexible server
- Possible errors when managing extensions in Azure Database for PostgreSQL flexible server