Redshift Endpoint Outdated

0

I noticed that the endpoint associated with my redshift cluster is outdated. Currently it ends with the name of the database that I first created the cluster with, but I have since renamed that database and now the endpoint doesn't work anymore unless I manually change it. Is there any way to permanently refresh it to make sure it doesn't become outdated again?

已提問 1 年前檢視次數 192 次
1 個回答
0

In this case, you need to specify the new database by yourself.

I assume you want to change the "dbName" in the "Endpoint" displayed in Redshift console's "General information". Endpoint example:

# provisioned
my-cluster.xxx.<region>.redshift.amazonaws.com:<port>/<dbName>
# serverless
my-workgroup.<accountid>.<region>.redshift-serverless.amazonaws.com:<port>/<dbName>

The <dbName> is displaying the name of initial database when you create a cluster or a namespace and it cannot be changed after creation for both provisoned and serverless. Description for dbName is in following document and AFAIK there are no apis to update this.

DBName -> (string)

The name of the initial database that was created when the cluster was created. This same name is returned for the life of the cluster. > If an initial database was not specified, a database named dev dev was created by default.

dbName -> (string)

The name of the first database created in the namespace.

Therefore, as you mentioned, the database name in the endpoint will be outdated if you alter or drop the initial database.

AWS
Yota_H
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南