Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Deleting a datashare created in your account in Amazon Redshift

Focus mode
Deleting a datashare created in your account in Amazon Redshift - Amazon Redshift

You can delete a datashare created in your account using the console or with SQL.

Console

To delete a datashare created in your account using the console, first connect to a database to see the list of datashares created in your account.

  1. Sign in to the AWS Management Console and open the Amazon Redshift console at https://console.aws.amazon.com/redshiftv2/.

  2. On the navigation menu, choose Clusters, then choose your cluster. The cluster details page appears.

  3. Choose Datashares. The datashare list appears.

  4. In the Datashares created in my account section, choose Connect to database.

  5. Choose one or more datashares you want to delete, then choose Delete. The Delete datashares page appears.

    Deleting a datashare shared with Lake Formation doesn't automatically remove the associated permissions in Lake Formation. To remove them, go to the Lake Formation console.

  6. Type Delete to confirm deleting the specified datashares.

  7. Choose Delete.

After datashares are deleted, datashare consumers lose access to the datashares.

SQL

You can use SQL to delete the datashare objects at any point using DROP DATASHARE. Cluster superusers and owners of datashare can drop datashares.

The following example drops a datashare named salesshare.

DROP DATASHARE salesshare;

To delete a datashare created in your account using the console, first connect to a database to see the list of datashares created in your account.

  1. Sign in to the AWS Management Console and open the Amazon Redshift console at https://console.aws.amazon.com/redshiftv2/.

  2. On the navigation menu, choose Clusters, then choose your cluster. The cluster details page appears.

  3. Choose Datashares. The datashare list appears.

  4. In the Datashares created in my account section, choose Connect to database.

  5. Choose one or more datashares you want to delete, then choose Delete. The Delete datashares page appears.

    Deleting a datashare shared with Lake Formation doesn't automatically remove the associated permissions in Lake Formation. To remove them, go to the Lake Formation console.

  6. Type Delete to confirm deleting the specified datashares.

  7. Choose Delete.

After datashares are deleted, datashare consumers lose access to the datashares.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.