You can learn about Google Cloud database products by entering prompts into
Gemini at the Google Cloud project or folder level. For example,you can
learn about the following:

- Database Center concepts. For example, you can prompt Gemini to provide guidance about how Database Center measures your database fleet health.
- Database Center health issues. For example, you can prompt Gemini to explain why it's an issue that your database has public IP enabled.

The following are example prompts to help you learn general information about
Database Center:

- "Which of my Cloud SQL instances have performance issues?"
- "Which of my databases aren't backed up properly?"
- "Which of my AlloyDB for PostgreSQL instances have had their CPU spike to more than 80% and memory spike to more than 85% in the last 7 days?"

## Before you begin

- [Ensure that Database Center is set up for your organization](https://docs.cloud.google.com/database-center/docs/set-up-database-center.md.txt).

- Set up Gemini chat at the Google Cloud project level, the
  folder level, or both.

  ### Project level

  To use Gemini chat at the Google Cloud project level,
  [set up Gemini Cloud Assist for a project](https://docs.cloud.google.com/cloud-assist/set-up-gemini.md.txt#project).

  ### Folder level

  To use Gemini chat at the folder level,
  [set up Gemini Cloud Assist for a folder](https://docs.cloud.google.com/cloud-assist/set-up-gemini.md.txt#folder).

## Use Gemini to learn about fleet health issues

> [!CAUTION]
> As an early-stage technology, Gemini for Google Cloud
> products can generate output that seems plausible but is factually incorrect. We recommend that you
> validate all output from Gemini for Google Cloud products before you use it.
> For more information, see
> [Gemini for Google Cloud and responsible AI](https://docs.cloud.google.com/gemini/docs/discover/responsible-ai.md.txt).

You can use Gemini Cloud Assist to track health issues in
Database Center, and
[Gemini chat](https://docs.cloud.google.com/database-center/docs/learn-database-products-using-gemini.md.txt#use-gemini-chat) to learn more about your
database fleet and inventory.

### Use Gemini chat

To use Gemini chat to learn more about database fleet health
issues and Database Center, follow these steps:

1. In the Google Cloud console, go to the **Database Center** page.


   [Database Center](https://console.cloud.google.com/database-center)

   <br />

2.
   To open Gemini, click spark **Gemini**.

3. Click **Start chatting**.

4. In the Gemini chat, enter a prompt, for example, `What is a
   database fleet?`

5. To send the prompt, click **Send**. Gemini returns
   a response similar to the following:

       A database fleet consists of all the provisioned database resources across
       all Google Cloud database products that your organization uses. Database
       resources are the clusters, instances, and virtual machines that power your
       workloads. Database Center supports Cloud SQL for MySQL, Cloud SQL for
       PostgreSQL, and AlloyDB.

### Use Gemini Cloud Assist

Use Gemini Cloud Assist to detect and publish intelligent
performance insights and recommendations at the fleet level for your
organization. Gemini Cloud Assist lets you investigate select
scenarios and performance issues with granular metrics using system insights and
query insights integration. Gemini Cloud Assist also provides
cost optimization recommendations.

The following is a list of Database Center recommendations
provided by Gemini Cloud Assist.

#### Performance insights and recommendations

Gemini Cloud Assist detects the following performance insights
and recommendations for Database Center:

| Insight or recommendation | Database products |
|---|---|
| Inefficient queries and index advisor to enhance query performance | Cloud SQL, AlloyDB |

#### Cost recommendations

Gemini Cloud Assist detects the following cost recommendations
for Database Center:

| Cost recommendation | Recommendation details | Database products |
|---|---|---|
| Overprovisioned resource | Checks if a database resource had low CPU and memory utilization during the past 30 days | Cloud SQL |
| Idle resource | Checks if a database resource had a low level of activity during the past 30 days | Cloud SQL |

## What's next

- [Analyze database fleet health using Gemini](https://docs.cloud.google.com/database-center/docs/analyze-database-using-gemini.md.txt).