資料移出 Google 或 Google 代理單位控管的實體界限時,Google 會在一或多個網路層加密及驗證所有傳輸中的資料。系統通常會驗證在 Google 控制或代表 Google 控制的實體界限內傳輸的資料,但不會預設為加密這些資料。如果使用執行個體的公開 IP 位址連線至執行個體,請使用 SSL/TLS 憑證,確保資料在傳輸過程中安全無虞。您可以依據您的威脅模型,選擇要套用哪些額外的安全措施。舉例來說,您可以設定 SSL,確保連線到 Cloud SQL 的區域內連線安全無虞。
一般而言,選擇 RAM 和 CPU 較多的較大執行個體,即可提升資料庫效能。這項功能可提升許多涉及大量運算的查詢效能,例如涉及聯結、ORDER BY 或 GROUPING 的查詢,但影響單一資料列的更新作業效能不會受到太大影響。不過,執行個體越大,運作延遲時間就越長。如要進一步瞭解執行個體大小和價格,請參閱定價頁面。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# Cloud SQL for PostgreSQL FAQ\n\n[MySQL](/sql/docs/mysql/faq \"View this page for the MySQL database engine\") \\| PostgreSQL \\| [SQL Server](/sql/docs/sqlserver/faq \"View this page for the SQL Server database engine\")\n\n- About\n - [What is Cloud SQL?](#whatissql)\n - [What are the benefits of using Cloud SQL?](#benefits)\n - [Which database versions are available with Cloud SQL?\n How are updates managed?](#version)\n - [Does Cloud SQL support all database features?](#supportmysqlfeatures)\n - [Are there any size or QPS limits?](#sizeqps)\n - [How can I be notified when there are any changes to Cloud SQL?](#notifiedofchanges)\n - [How do I report a bug, request a feature, or ask a question?](#requestfeature)\n- Getting Started\n - [Why does my new instance with no data show disk space used?](#empty)\n- Data Storage, Replication, and Authentication\n - [Where is my data stored?](#data_location)\n - [Should I use solid-state drives (SSD) or\n hard disk drives (HDD) for storage?](/sql/docs/postgres/choosing-ssd-hdd)\n - [What is a zone?](#what_is_a_zone)\n - [What are the limits on storage?](#storage_limits)\n - [How is my data replicated?](#replication)\n - [How does Cloud SQL failover work?](#failover)\n - [Is my data encrypted?](#encryption)\n - [How is encryption managed for data at rest?](#encryption-manage-rest)\n - [How is encryption managed for data in transit?](#encryption-manage-transit)\n - [What kind of read replicas can I create?](#rr_kinds)\n- Data Migration\n - [How are data and constraints migrated into Cloud SQL?](#data-migration)\n\n \u003c!-- --\u003e\n\n - [How can I migrate my data faster?](#data-migrate-faster)\n- Backup and Recovery\n - [How do I recover an instance?](#backups_how)\n - [How much do backups cost?](#backups_cost)\n - [Can I access automated backups older than seven days?](#backups_access)\n - [When do I use external versus cross-region replication for\n region failure protection?](#crr-dr)\n- Managing Your Instances\n - [Which actions cause Cloud SQL instances to restart?](#restart)\n - [How long are instances shut down during restart?](#shutdown)\n - [Can I make my database larger or smaller?](#changetiers)\n - [Can I upgrade and downgrade vCPUs?](#vcpus)\n - [Do I need to use the Google Cloud console to manage Cloud SQL?](#apisconsole)\n - [How can I reclaim the space used by temporary files?](#reclaimingspacetemp)\n - [Can I import or export a specific database?](#importexportdatabases)\n - [Can I import or export a CSV file?](#importexportcsvfile)\n - [Do I need a Cloud Storage account to import or export data from an instance?](#googlestorage)\n - [If I delete my instance, can I reuse the instance name?](#reuse)\n - [What level of transaction isolation does Cloud SQL\n provide?](#transaction-isolation)\n - [How can I protect my instance from accidental deletion?](#instance-protection)\n- Insights\n - [Why can't I find the sample query plan in Insights?](#insights-query-plan)\n- Pricing and Billing\n - [How can I try out Cloud SQL?](#can_I_try)\n - [How many instances can I create in a project?](#number_instances)\n - [What size database instance do I need? How much RAM?](#what_size_database)\n - [How is use of my instance calculated?](#how_usage_calculated)\n - [How is storage calculated?](#how_storage_calculated)\n - [How can I see how much I will be charged?](#how_much)\n - [What happens when my instance reaches the allowed size?](#reaches_max_size)\n - [Why is my instance suspended?](#why_suspended)\n - [Why was my instance deleted?](#why_deleted)\n - [How can I cancel my Cloud SQL account?](#cancelsqlaccount)\n - [How do I disable billing?](#disable_billing)\n- Using Cloud SQL with App Engine\n - [Can I connect from App Engine to a PostgreSQL instance?](#gaeconnect-pg)\n - [Can my App Engine application in the US access my Cloud SQL\n instance in the EU (and the other way around)?](#location)\n - [Which Google Cloud database service is right for me?](#choice)\n - [Do I need to install a local database server to use the App Engine Development Server?](#installmysql)\n - [What languages can I use to access my instance?](#languages)\n - [Can I use Django with Cloud SQL?](#django)\n - [Which placeholders can I use in my Python query string?](#formatcode)\n - [How do I manage connections?](#connections)\n - [What does a SQLException with message of \"Invalid connection ID\" mean?](#invalidconnectioniderror)\n - [Can I access my Cloud SQL instance programmatically outside of App Engine?](#externaldev)\n\nAbout\n-----\n\nWhat is Cloud SQL?\n: Cloud SQL is a service that delivers fully managed SQL databases in the cloud.\n Cloud SQL provides PostgreSQL, SQL Server, and MySQL databases.\n\nWhat are the benefits of using Cloud SQL?\n: Cloud SQL lets you hand\n off to Google the mundane, but necessary and often time consuming tasks --- like applying patches and\n updates, managing backups and configuring replications --- so you can put your focus on building great\n applications. And because we use standard wire protocols, you can connect from just about any\n application, anywhere.\n\nWhich database versions are available with Cloud SQL? How are updates managed?\n:\n\n: Cloud SQL for PostgreSQL supports PostgreSQL 9.6, 10, 11, 12, 13, 14, 15, 16, and 17 (default).\n\n Minor version updates are deployed as part of scheduled maintenance, with no further action\n required on your part. For more information about updates, see\n [Overview of maintenance on Cloud SQL instances](/sql/docs/postgres/maintenance).\n\n To see the current version of your instance, go to the\n [Google Cloud console](https://console.cloud.google.com/), click the instance name to open the\n **Instance details** page. Or, you can use the `gcloud sql instances describe`\n command.\n\nDoes Cloud SQL support all database features?\n:\n Cloud SQL supports most common features of PostgreSQL. For a list of all differences between\n standard PostgreSQL and the functionality Cloud SQL provides, see\n [Differences between Cloud SQL and standard\n PostgreSQL functionality](/sql/docs/postgres/features#differences-pg).\n\nAre there any size or QPS limits?\n: There are no queries per second (QPS) limits for Cloud SQL instances. For information about\n connection, size, and App Engine-specific limits, see\n [Quotas and Limits](/sql/docs/postgres/quotas).\n\nHow can I be notified when there are any changes to Cloud SQL?\n: You can sign up for the [google-cloud-sql-announce](https://groups.google.com/group/google-cloud-sql-announce)\n forum where we post announcements and news about Cloud SQL.\n\nHow do I report a bug, request a feature, or ask a question?\n: You can report bugs and request a feature on our\n [google-cloud-sql-discuss](https://groups.google.com/forum/#!forum/google-cloud-sql-discuss)\n group. You can ask a question in\n [Stack Overflow](http://stackoverflow.com/questions/tagged/google-cloud-sql).\n For other support options, see the [Cloud SQL Support](/sql/docs/postgres/support) page.\n[Back to top](#top)\n\nGetting Started\n---------------\n\nWhy does my new instance with no data show disk space used?\n: Cloud SQL and the database both use some space for system files and metadata when\n your instance is created."]]