<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Any way to move the unity catalog to a new external storage location? in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/any-way-to-move-the-unity-catalog-to-a-new-external-storage/m-p/54511#M681</link>
    <description>&lt;P&gt;Dear Databricks Community&lt;/P&gt;&lt;P&gt;The question is about changing an existing unity catalog to a new storage location. For example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;With an existing unity catalog (i.e. catalog1)&amp;nbsp; includeing schemas and volumes. The catalog is based on an external location (i.e.storage1) , I tried to update the external location url from storage1 to storage2 and received the warning:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;External Location has dependent catalogs, schemas, managed or external tables/volumes; use force option to update url anyway&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then I use the force command in&amp;nbsp;&lt;SPAN&gt;ALTER&lt;/SPAN&gt; &lt;SPAN&gt;EXTERNAL&lt;/SPAN&gt; &lt;SPAN&gt;LOCATION, to update the url to storage2 successfully.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, when I tried to access the schema in the catalog1, the error "the external location storage1 does not exist" occurs. It looks like even I forced the update of the external location, the data objects of the catalog are not updated automatically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please advise the approach to achieve the goal? I would like to reduce the effort to recreate all objects under the existing catalog again..&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 03 Dec 2023 06:16:13 GMT</pubDate>
    <dc:creator>harvey-c</dc:creator>
    <dc:date>2023-12-03T06:16:13Z</dc:date>
    <item>
      <title>Any way to move the unity catalog to a new external storage location?</title>
      <link>https://community.databricks.com/t5/administration-architecture/any-way-to-move-the-unity-catalog-to-a-new-external-storage/m-p/54511#M681</link>
      <description>&lt;P&gt;Dear Databricks Community&lt;/P&gt;&lt;P&gt;The question is about changing an existing unity catalog to a new storage location. For example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;With an existing unity catalog (i.e. catalog1)&amp;nbsp; includeing schemas and volumes. The catalog is based on an external location (i.e.storage1) , I tried to update the external location url from storage1 to storage2 and received the warning:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;External Location has dependent catalogs, schemas, managed or external tables/volumes; use force option to update url anyway&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then I use the force command in&amp;nbsp;&lt;SPAN&gt;ALTER&lt;/SPAN&gt; &lt;SPAN&gt;EXTERNAL&lt;/SPAN&gt; &lt;SPAN&gt;LOCATION, to update the url to storage2 successfully.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, when I tried to access the schema in the catalog1, the error "the external location storage1 does not exist" occurs. It looks like even I forced the update of the external location, the data objects of the catalog are not updated automatically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please advise the approach to achieve the goal? I would like to reduce the effort to recreate all objects under the existing catalog again..&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Dec 2023 06:16:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/any-way-to-move-the-unity-catalog-to-a-new-external-storage/m-p/54511#M681</guid>
      <dc:creator>harvey-c</dc:creator>
      <dc:date>2023-12-03T06:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to move the unity catalog to a new external storage location?</title>
      <link>https://community.databricks.com/t5/administration-architecture/any-way-to-move-the-unity-catalog-to-a-new-external-storage/m-p/54552#M688</link>
      <description>&lt;P&gt;Thank you Kaniz&lt;/P&gt;&lt;P&gt;Basically, it is required to update the location for each data objects in the old catalog.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The external location in the following instruction should be removed as the objects are altered rather than the external location.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For example:ALTER &lt;STRIKE&gt;EXTERNAL LOCATION&lt;/STRIKE&gt; catalog1.schema1.table1 SET LOCATION 'storage2/path/to/table1' FORCE;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 01:12:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/any-way-to-move-the-unity-catalog-to-a-new-external-storage/m-p/54552#M688</guid>
      <dc:creator>harvey-c</dc:creator>
      <dc:date>2023-12-04T01:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to move the unity catalog to a new external storage location?</title>
      <link>https://community.databricks.com/t5/administration-architecture/any-way-to-move-the-unity-catalog-to-a-new-external-storage/m-p/98154#M2254</link>
      <description>&lt;P&gt;&lt;A href="https://docs.databricks.com/ja/sql/language-manual/sql-ref-syntax-ddl-alter-location.html" target="_blank"&gt;https://docs.databricks.com/ja/sql/language-manual/sql-ref-syntax-ddl-alter-location.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 23:17:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/any-way-to-move-the-unity-catalog-to-a-new-external-storage/m-p/98154#M2254</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2024-11-07T23:17:34Z</dc:date>
    </item>
  </channel>
</rss>

