# Hyperdrive Accelerate database queries to make databases fast globally > Links below point directly to Markdown versions of each page. Any page can also be retrieved as Markdown by sending an `Accept: text/markdown` header to the page's URL without the `index.md` suffix (for example, `curl -H "Accept: text/markdown" https://cloudflaredoc.ubitools.com/hyperdrive/`). > > For other Cloudflare products, see the [Cloudflare documentation directory](https://cloudflaredoc.ubitools.com/llms.txt). ## Overview - [Hyperdrive(Postgres 与 MySQL)](https://cloudflaredoc.ubitools.com/hyperdrive/index.md): 通过 Hyperdrive 的全球连接池和查询缓存,加速从 Cloudflare Workers 访问现有数据库。 ## 快速入门 - [快速入门](https://cloudflaredoc.ubitools.com/hyperdrive/get-started/index.md): 创建第一个 Hyperdrive 配置,并将 Cloudflare Worker 连接到数据库。 ## PlanetScale Postgres 与 MySQL - [PlanetScale Postgres 与 MySQL](https://cloudflaredoc.ubitools.com/hyperdrive/planetscale/index.md): 了解 Cloudflare 如何与 PlanetScale 合作,为 Workers 应用提供托管 Postgres 和 MySQL 数据库,并通过 Hyperdrive 加速访问。 ## 概念 - [概念](https://cloudflaredoc.ubitools.com/hyperdrive/concepts/index.md): Hyperdrive 背后的核心概念与架构,包括连接池和查询缓存。 - [连接生命周期](https://cloudflaredoc.ubitools.com/hyperdrive/concepts/connection-lifecycle/index.md): 了解 Workers、Hyperdrive 与源数据库之间的连接管理方式。 - [连接池](https://cloudflaredoc.ubitools.com/hyperdrive/concepts/connection-pooling/index.md): Hyperdrive 维护数据库连接池,并最优部署以最小化应用延迟。 - [Hyperdrive 工作原理](https://cloudflaredoc.ubitools.com/hyperdrive/concepts/how-hyperdrive-works/index.md): Hyperdrive 通过边缘连接建立、连接池和查询缓存加速数据库查询。 - [查询缓存](https://cloudflaredoc.ubitools.com/hyperdrive/concepts/query-caching/index.md): Hyperdrive 自动缓存读查询,减轻数据库负载并提升性能。 ## 教程 - [教程](https://cloudflaredoc.ubitools.com/hyperdrive/tutorials/index.md): 将 Workers 连接到数据库的 Hyperdrive 分步教程。 - [使用 Timescale 创建无服务器全球分布式时序 API](https://cloudflaredoc.ubitools.com/hyperdrive/tutorials/serverless-timeseries-api-with-timescale/index.md): 在本教程中,你将学习在 Workers 上构建 API,用于摄取和查询存储在 Timescale 中的时序数据。 ## 演示与架构 - [演示与架构](https://cloudflaredoc.ubitools.com/hyperdrive/demos/index.md): 探索使用 Hyperdrive 的演示应用和参考架构。 ## Hyperdrive REST API 参考 - [Hyperdrive REST API 参考](https://cloudflaredoc.ubitools.com/api/resources/hyperdrive/subresources/configs/methods/list/index.md): 使用 Cloudflare REST API 以编程方式管理 Hyperdrive 配置。 ## configuration - [使用 Tunnel 连接私有数据库](https://cloudflaredoc.ubitools.com/hyperdrive/configuration/connect-to-private-database/index.md): 使用 Cloudflare Tunnel 和 Access 安全地将 Hyperdrive 连接到私有数据库。 - [使用 Workers VPC 连接私有数据库(推荐)](https://cloudflaredoc.ubitools.com/hyperdrive/configuration/connect-to-private-database-vpc/index.md): 使用 Workers VPC 将 Hyperdrive 连接到私有数据库,无需配置 Cloudflare Access 应用或服务令牌。 - [防火墙与网络配置](https://cloudflaredoc.ubitools.com/hyperdrive/configuration/firewall-and-networking-configuration/index.md): 配置防火墙规则和网络,允许 Hyperdrive 连接数据库。 - [本地开发](https://cloudflaredoc.ubitools.com/hyperdrive/configuration/local-development/index.md): 使用 Wrangler 在本地开发和测试连接 Hyperdrive 的 Workers。 - [轮换数据库凭据](https://cloudflaredoc.ubitools.com/hyperdrive/configuration/rotate-credentials/index.md): 更新或轮换现有 Hyperdrive 配置的数据库凭据。 - [SSL/TLS 证书](https://cloudflaredoc.ubitools.com/hyperdrive/configuration/tls-ssl-certificates-for-hyperdrive/index.md): 为安全的 Hyperdrive 数据库连接配置 SSL/TLS 服务器和客户端证书。 - [调整连接池](https://cloudflaredoc.ubitools.com/hyperdrive/configuration/tune-connection-pool/index.md): 配置 Hyperdrive 连接池中的最大数据库连接数。 ## examples - [连接 MySQL](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-mysql/index.md): 使用 Hyperdrive 从 Cloudflare Workers 连接 MySQL 及 MySQL 兼容数据库。 - [AWS RDS 与 Aurora](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-mysql/mysql-database-providers/aws-rds-aurora/index.md): 将 Hyperdrive 连接到 AWS RDS 或 Aurora MySQL 数据库。 - [Azure Database 示例](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-mysql/mysql-database-providers/azure/index.md): 将 Hyperdrive 连接到 Azure Database for MySQL。 - [Google Cloud SQL 示例](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-mysql/mysql-database-providers/google-cloud-sql/index.md): 将 Hyperdrive 连接到 Google Cloud SQL MySQL 数据库。 - [PlanetScale](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-mysql/mysql-database-providers/planetscale/index.md): 将 Hyperdrive 连接到 PlanetScale MySQL 数据库。 - [Drizzle ORM 示例](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-mysql/mysql-drivers-and-libraries/drizzle-orm/index.md): 在 Cloudflare Workers 中使用 Drizzle ORM 配合 Hyperdrive 查询 MySQL 数据库。 - [mysql 示例](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-mysql/mysql-drivers-and-libraries/mysql/index.md): 在 Cloudflare Workers 中使用 mysql 驱动配合 Hyperdrive 查询 MySQL 数据库。 - [mysql2 示例](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-mysql/mysql-drivers-and-libraries/mysql2/index.md): 在 Cloudflare Workers 中使用 mysql2 驱动配合 Hyperdrive 查询 MySQL 数据库。 - [连接 PostgreSQL](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/index.md): 使用 Hyperdrive 从 Cloudflare Workers 连接 PostgreSQL 及 PostgreSQL 兼容数据库。 - [AWS RDS 与 Aurora](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/aws-rds-aurora/index.md): 将 Hyperdrive 连接到 AWS RDS 或 Aurora Postgres 数据库。 - [Azure Database 示例](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/azure/index.md): 将 Hyperdrive 连接到 Azure Database for PostgreSQL。 - [CockroachDB](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/cockroachdb/index.md): 将 Hyperdrive 连接到 CockroachDB 数据库。 - [Digital Ocean 示例](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/digital-ocean/index.md): 将 Hyperdrive 连接到 Digital Ocean 数据库。 - [Fly](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/fly/index.md): 将 Hyperdrive 连接到 Fly Postgres 数据库。 - [Google Cloud SQL 示例](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/google-cloud-sql/index.md): 将 Hyperdrive 连接到 Google Cloud SQL Postgres 数据库。 - [Materialize](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/materialize/index.md): 将 Hyperdrive 连接到 Materialize 数据库。 - [Neon](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/neon/index.md): 将 Hyperdrive 连接到 Neon Postgres 数据库。 - [Nile](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/nile/index.md): 将 Hyperdrive 连接到 Nile PostgreSQL 数据库。 - [pgEdge Cloud 示例](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/pgedge/index.md): 将 Hyperdrive 连接到 pgEdge Postgres 数据库。 - [PlanetScale](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/planetscale-postgres/index.md): 将 Hyperdrive 连接到 PlanetScale PostgreSQL 数据库。 - [Prisma Postgres 示例](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/prisma-postgres/index.md): 将 Hyperdrive 连接到 Prisma Postgres 数据库。 - [Supabase](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/supabase/index.md): 将 Hyperdrive 连接到 Supabase Postgres 数据库。 - [Timescale](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/timescale/index.md): 将 Hyperdrive 连接到 Timescale 数据库。 - [Xata](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/xata/index.md): 将 Hyperdrive 连接到 Xata PostgreSQL 数据库。 - [Drizzle ORM 示例](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-drivers-and-libraries/drizzle-orm/index.md): 在 Cloudflare Workers 中使用 Drizzle ORM 配合 Hyperdrive 查询 PostgreSQL 数据库。 - [node-postgres (pg) 示例](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-drivers-and-libraries/node-postgres/index.md): 在 Cloudflare Workers 中使用 node-postgres (pg) 配合 Hyperdrive 查询 PostgreSQL 数据库。 - [Postgres.js](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-drivers-and-libraries/postgres-js/index.md): 在 Cloudflare Workers 中使用 Postgres.js 配合 Hyperdrive 查询 PostgreSQL 数据库。 - [Prisma ORM](https://cloudflaredoc.ubitools.com/hyperdrive/examples/connect-to-postgres/postgres-drivers-and-libraries/prisma-orm/index.md): 在 Cloudflare Workers 中使用 Prisma ORM 配合 Hyperdrive 查询 PostgreSQL 数据库。 ## observability - [指标与分析](https://cloudflaredoc.ubitools.com/hyperdrive/observability/metrics/index.md): 查看 Hyperdrive 配置的查询量、延迟、缓存命中率和连接池大小。 - [故障排除与调试](https://cloudflaredoc.ubitools.com/hyperdrive/observability/troubleshooting/index.md): 解决常见的 Hyperdrive 连接错误和数据库连接问题。 ## platform - [限制](https://cloudflaredoc.ubitools.com/hyperdrive/platform/limits/index.md): 适用于 Hyperdrive 的配置、连接和查询限制。 - [定价](https://cloudflaredoc.ubitools.com/hyperdrive/platform/pricing/index.md): Free 与 Workers Paid 套餐的 Hyperdrive 定价详情。 - [发布说明](https://cloudflaredoc.ubitools.com/hyperdrive/platform/release-notes/index.md): Hyperdrive 近期变更与更新。 - [选择数据或存储产品](https://cloudflaredoc.ubitools.com/workers/platform/storage-options/index.md): 比较 Cloudflare 数据与存储产品,包括 Hyperdrive、KV、R2 和 D1。 ## reference - [常见问题](https://cloudflaredoc.ubitools.com/hyperdrive/reference/faq/index.md): 关于 Hyperdrive 连接、缓存和支持数据库的常见问题。 - [支持的数据库与功能](https://cloudflaredoc.ubitools.com/hyperdrive/reference/supported-databases-and-features/index.md): 与 Hyperdrive 兼容的数据库引擎、提供商和驱动库。 - [Wrangler 命令](https://cloudflaredoc.ubitools.com/hyperdrive/reference/wrangler-commands/index.md): 用于创建和管理 Hyperdrive 配置的 Wrangler CLI 命令。