Skip to content

Docs restructure of Accelerate and Optimize content #6861

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Apr 30, 2025
Merged

Docs restructure of Accelerate and Optimize content #6861

merged 14 commits into from
Apr 30, 2025

Conversation

ankur-arch
Copy link
Contributor

Summary

This PR consolidates and restructures documentation to make Prisma Postgres the primary source of truth for related features, while improving overall navigation and discoverability.


Changes included:

  • Moved caching and connection pooling documentation from Accelerate into the Prisma Postgres section
  • Reorganized top-level navigation items for better clarity
  • Categorized and split Prisma Postgres sidebar items for improved structure
  • Updated and refined Prisma Optimize documentation within Prisma Postgres
  • Duplicated relevant Accelerate FAQs into Prisma Postgres FAQs
  • Migrated Optimize FAQs to live under the Prisma Postgres section
  • Relocated most Optimize pages into the Prisma Postgres docs hierarchy

Copy link
Contributor

Dangerous URL check

No absolute URLs to prisma.io/docs found.
No local URLs found.

Copy link
Contributor

Redirect check

This PR probably requires the following redirects to be added to static/_redirects:

/postgres/getting-started /docs/postgres/introduction/getting-started
/postgres/overview /docs/postgres/introduction/overview
/postgres/faq /docs/##( TODO: Path of page that replaces deleted page )##
/postgres/mcp-server /docs/postgres/integrations/mcp-server
/postgres/known-limitations /docs/postgres/more/known-limitations
/postgres/troubleshooting /docs/postgres/more/troubleshooting
/postgres/connection-pooling /docs/##( TODO: Path of page that replaces deleted page )##
/postgres/backups /docs/postgres/database/backups
/postgres/tcp-tunnel /docs/postgres/database/tcp-tunnel
/postgres/tooling /docs/postgres/database/tooling
/postgres/caching /docs/##( TODO: Path of page that replaces deleted page )##
/optimize/recommendations/excessive-number-of-rows-returned /docs/postgres/query-optimization/recommendations/excessive-number-of-rows-returned
/optimize/recommendations/current-time /docs/postgres/query-optimization/recommendations/current-time
/optimize/recommendations/unnecessary-indexes /docs/postgres/query-optimization/recommendations/unnecessary-indexes
/optimize/recommendations/long-running-transactions /docs/postgres/query-optimization/recommendations/long-running-transactions
/optimize/recommendations/indexing-on-unique-columns /docs/postgres/query-optimization/recommendations/indexing-on-unique-columns
/optimize/recommendations/storing-blob-in-database /docs/postgres/query-optimization/recommendations/storing-blob-in-database
/optimize/recommendations/queries-on-unindexed-columns /docs/postgres/query-optimization/recommendations/queries-on-unindexed-columns
/optimize/recommendations/full-table-scans-caused-by-like-operations /docs/postgres/query-optimization/recommendations/full-table-scans-caused-by-like-operations
/optimize/recommendations/repeated-query /docs/postgres/query-optimization/recommendations/repeated-query
/optimize/recommendations/select-returning /docs/postgres/query-optimization/recommendations/select-returning
/optimize/recommendations/avoid-db-money /docs/postgres/query-optimization/recommendations/avoid-db-money
/optimize/recommendations/avoid-char /docs/postgres/query-optimization/recommendations/avoid-char
/optimize/recommendations/avoid-varchar /docs/postgres/query-optimization/recommendations/avoid-varchar
/optimize/recommendations/avoid-timestamp-timestampz-0 /docs/postgres/query-optimization/recommendations/avoid-timestamp-timestampz-0
/optimize/recommendations /docs/postgres/query-optimization/recommendations
/optimize/recommendations/_category_.json /docs/##( TODO: Path of page that replaces deleted page )##

Copy link
Contributor

github-actions bot commented Apr 25, 2025

original preview
content/250-postgres/100-introduction/index.mdx content/250-postgres/100-introduction/index.mdx
content/250-postgres/1200-more/1000-faq.mdx content/250-postgres/1200-more/1000-faq.mdx
content/250-postgres/1200-more/index.mdx content/250-postgres/1200-more/index.mdx
content/250-postgres/300-database/350-caching.mdx content/250-postgres/300-database/350-caching.mdx
content/250-postgres/300-database/400-connection-pooling.mdx content/250-postgres/300-database/400-connection-pooling.mdx
content/250-postgres/300-database/800-api-reference.mdx content/250-postgres/300-database/800-api-reference.mdx
content/250-postgres/300-database/900-error-reference.mdx content/250-postgres/300-database/900-error-reference.mdx
content/250-postgres/300-database/index.mdx content/250-postgres/300-database/index.mdx
content/250-postgres/400-query-optimization/100-setup.mdx content/250-postgres/400-query-optimization/100-setup.mdx
content/250-postgres/400-query-optimization/200-recordings.mdx content/250-postgres/400-query-optimization/200-recordings.mdx
content/250-postgres/400-query-optimization/400-prisma-ai.mdx content/250-postgres/400-query-optimization/400-prisma-ai.mdx
content/250-postgres/400-query-optimization/500-performance-metrics.mdx content/250-postgres/400-query-optimization/500-performance-metrics.mdx
content/250-postgres/400-query-optimization/index.mdx content/250-postgres/400-query-optimization/index.mdx
content/700-optimize/400-recommendations.mdx content/700-optimize/400-recommendations.mdx
content/100-getting-started/01-quickstart-prismaPostgres.mdx content/100-getting-started/01-quickstart-prismaPostgres.mdx
content/100-getting-started/03-prisma-postgres/110-import-from-existing-database-postgresql.mdx content/100-getting-started/03-prisma-postgres/110-import-from-existing-database-postgresql.mdx
content/100-getting-started/03-prisma-postgres/115-import-from-existing-database-mysql.mdx content/100-getting-started/03-prisma-postgres/115-import-from-existing-database-mysql.mdx
content/200-orm/500-reference/200-prisma-cli-reference.mdx content/200-orm/500-reference/200-prisma-cli-reference.mdx
content/200-orm/500-reference/250-error-reference.mdx content/200-orm/500-reference/250-error-reference.mdx
content/200-orm/800-more/350-ai-tools/100-cursor.mdx content/200-orm/800-more/350-ai-tools/100-cursor.mdx
content/200-orm/800-more/350-ai-tools/300-windsurf.mdx content/200-orm/800-more/350-ai-tools/300-windsurf.mdx
content/200-orm/800-more/350-ai-tools/index.mdx content/200-orm/800-more/350-ai-tools/index.mdx
content/250-postgres/1100-integrations/100-netlify.mdx content/250-postgres/1100-integrations/100-netlify.mdx
content/250-postgres/1100-integrations/200-vercel.mdx content/250-postgres/1100-integrations/200-vercel.mdx
content/250-postgres/1100-integrations/300-idx.mdx content/250-postgres/1100-integrations/300-idx.mdx
content/250-postgres/1100-integrations/index.mdx content/250-postgres/1100-integrations/index.mdx
content/250-postgres/index.mdx content/250-postgres/index.mdx
content/300-accelerate/200-getting-started.mdx content/300-accelerate/200-getting-started.mdx
content/300-accelerate/250-connection-pooling.mdx content/300-accelerate/250-connection-pooling.mdx
content/300-accelerate/300-caching.mdx content/300-accelerate/300-caching.mdx
content/300-accelerate/400-api-reference.mdx content/300-accelerate/400-api-reference.mdx
content/300-accelerate/600-faq.mdx content/300-accelerate/600-faq.mdx
content/300-accelerate/650-troubleshoot.mdx content/300-accelerate/650-troubleshoot.mdx
content/300-accelerate/900-compare.mdx content/300-accelerate/900-compare.mdx
content/500-platform/10-about.mdx content/500-platform/10-about.mdx
content/700-optimize/200-getting-started.mdx content/700-optimize/200-getting-started.mdx
content/700-optimize/300-recordings.mdx content/700-optimize/300-recordings.mdx
content/700-optimize/450-prisma-ai.mdx content/700-optimize/450-prisma-ai.mdx
content/700-optimize/500-performance-metrics.mdx content/700-optimize/500-performance-metrics.mdx
content/700-optimize/600-faq.mdx content/700-optimize/600-faq.mdx
content/700-optimize/700-known-limitations.mdx content/700-optimize/700-known-limitations.mdx
content/800-guides/100-nuxt.mdx content/800-guides/100-nuxt.mdx
content/800-guides/140-use-prisma-in-pnpm-workspaces.mdx content/800-guides/140-use-prisma-in-pnpm-workspaces.mdx
content/800-guides/190-data-dog.mdx content/800-guides/190-data-dog.mdx
content/800-guides/190-sveltekit.mdx content/800-guides/190-sveltekit.mdx
content/800-guides/999-making-guides.mdx content/800-guides/999-making-guides.mdx
content/250-postgres/100-introduction/200-getting-started.mdx content/250-postgres/100-introduction/200-getting-started.mdx
content/250-postgres/100-introduction/250-overview.mdx content/250-postgres/100-introduction/250-overview.mdx
content/250-postgres/1100-integrations/400-mcp-server.mdx content/250-postgres/1100-integrations/400-mcp-server.mdx
content/250-postgres/1200-more/800-known-limitations.mdx content/250-postgres/1200-more/800-known-limitations.mdx
content/250-postgres/1200-more/900-troubleshooting.mdx content/250-postgres/1200-more/900-troubleshooting.mdx
content/250-postgres/300-database/500-backups.mdx content/250-postgres/300-database/500-backups.mdx
content/250-postgres/300-database/600-tcp-tunnel.mdx content/250-postgres/300-database/600-tcp-tunnel.mdx
content/250-postgres/300-database/700-tooling.mdx content/250-postgres/300-database/700-tooling.mdx
content/250-postgres/400-query-optimization/300-recommendations/100-excessive-number-of-rows-returned.mdx content/250-postgres/400-query-optimization/300-recommendations/100-excessive-number-of-rows-returned.mdx
content/250-postgres/400-query-optimization/300-recommendations/1000-current-time.mdx content/250-postgres/400-query-optimization/300-recommendations/1000-current-time.mdx
content/250-postgres/400-query-optimization/300-recommendations/1100-unnecessary-indexes.mdx content/250-postgres/400-query-optimization/300-recommendations/1100-unnecessary-indexes.mdx
content/250-postgres/400-query-optimization/300-recommendations/1200-long-running-transactions.mdx content/250-postgres/400-query-optimization/300-recommendations/1200-long-running-transactions.mdx
content/250-postgres/400-query-optimization/300-recommendations/1300-indexing-on-unique-columns.mdx content/250-postgres/400-query-optimization/300-recommendations/1300-indexing-on-unique-columns.mdx
content/250-postgres/400-query-optimization/300-recommendations/1400-storing-blob-in-database.mdx content/250-postgres/400-query-optimization/300-recommendations/1400-storing-blob-in-database.mdx
content/250-postgres/400-query-optimization/300-recommendations/200-queries-on-unindexed-columns.mdx content/250-postgres/400-query-optimization/300-recommendations/200-queries-on-unindexed-columns.mdx
content/250-postgres/400-query-optimization/300-recommendations/300-full-table-scans-caused-by-like-operations.mdx content/250-postgres/400-query-optimization/300-recommendations/300-full-table-scans-caused-by-like-operations.mdx
content/250-postgres/400-query-optimization/300-recommendations/400-repeated-query.mdx content/250-postgres/400-query-optimization/300-recommendations/400-repeated-query.mdx
content/250-postgres/400-query-optimization/300-recommendations/500-select-returning.mdx content/250-postgres/400-query-optimization/300-recommendations/500-select-returning.mdx
content/250-postgres/400-query-optimization/300-recommendations/600-avoid-db-money.mdx content/250-postgres/400-query-optimization/300-recommendations/600-avoid-db-money.mdx
content/250-postgres/400-query-optimization/300-recommendations/700-avoid-char.mdx content/250-postgres/400-query-optimization/300-recommendations/700-avoid-char.mdx
content/250-postgres/400-query-optimization/300-recommendations/700-avoid-varchar.mdx content/250-postgres/400-query-optimization/300-recommendations/700-avoid-varchar.mdx
content/250-postgres/400-query-optimization/300-recommendations/900-avoid-timestamp-timestampz-0.mdx content/250-postgres/400-query-optimization/300-recommendations/900-avoid-timestamp-timestampz-0.mdx
content/250-postgres/400-query-optimization/300-recommendations/index.mdx content/250-postgres/400-query-optimization/300-recommendations/index.mdx

Copy link

cloudflare-workers-and-pages bot commented Apr 25, 2025

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 00a1c25
Status: ✅  Deploy successful!
Preview URL: https://2026ff6a.docs-51g.pages.dev
Branch Preview URL: https://da-3157.docs-51g.pages.dev

View logs

@ankur-arch ankur-arch requested a review from nikolasburk April 25, 2025 08:42
@ankur-arch ankur-arch self-assigned this Apr 25, 2025
Copy link
Member

@nikolasburk nikolasburk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks really good Ankur! I only left one small suggestion but I think we can merge this very soon 💯

@nikolasburk nikolasburk self-requested a review April 29, 2025 12:17
@ankur-arch ankur-arch merged commit 1b5657e into main Apr 30, 2025
11 checks passed
@ankur-arch ankur-arch deleted the DA-3157 branch April 30, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants