{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"データベースの削除","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"データベースの削除","__idx":0},"children":["データベースの削除"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["TD データベースを削除すると、データベース、そのテーブル、およびデータベース内に保存されているすべてのデータが削除されます。この操作はロールバックできず、データは自分で復旧できなくなります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["誤ってデータベースを削除した場合、削除から 30 日以内にサポートリクエストを発行することで復旧できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"データベース削除保護","__idx":1},"children":["データベース削除保護"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["会社にとって重要なデータを含むテーブルを持つデータベースの削除を防ぐことができます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データベース削除保護機能を厳格に実装すると、どのユーザーもデータベースを削除できなくなります。この機能を有効にするには、サポートリクエストを送信してください。保護したいデータベースのリストを添えて、サポートまたはカスタマーサクセス担当者に連絡してください。この機能を無効にする場合も、同じ手順に従ってください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データベースではなくテーブルを保護したい場合は、サポートリクエストを送信して",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/databases/deleting-tables"},"children":["テーブル削除保護"]},"を有効にしてください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソール-を使用したデータベースの削除","__idx":2},"children":["Treasure コンソール を使用したデータベースの削除"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench > Databases"]}," に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["削除するデータベースを選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["... > Delete database..."]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/removing-database-confirm.3b332b97f124fa2f46d60cb7edacbaebef9f175dae73d56fe71bcd71f699187e.142841d8.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"td-toolbelt-の例","__idx":3},"children":["TD Toolbelt の例"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td db:delete"]}," コマンドは、データベースとデータベース内に保存されているすべてのテーブルを削除します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"$ td db:delete test_db\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"データベース削除による影響","__idx":4},"children":["データベース削除による影響"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"保存されたクエリへの影響","__idx":5},"children":["保存されたクエリへの影響"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["保存されたクエリのスケジュール設定は、それらのデータベースが削除されると削除されます。さらに、すべてのデータベースへのアクセス権限がない場合、これらのクエリを表示できなくなります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データベースとは、下の画像で赤い矢印で示されているウィンドウを意味します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/removing-database-schedule.56d04a4170034e3331a5786d8d25b70f45f9273ba53122f6ca66ffd6f84bc9b1.142841d8.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ジョブへの影響","__idx":6},"children":["ジョブへの影響"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ジョブに関しては、データベースは次のように設定されています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2023-9-14_12-32-8.cefbe9338a13b7586c458a50cd8187d2288259d87624a2654bd201c15171743b.142841d8.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このデータベースが削除された後、すべてのデータベースへのアクセス権限がない場合、これらのジョブを表示できなくなります。たとえば、Job Activities にジョブが表示されず、上記のスクリーンショットのような情報を確認できません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["一方、データベースに対するポリシーベースのアクセス権限が有効になっていない場合、管理者または所有者はすべてのデータベースへのアクセス権限を持っているため、影響を受けません。データベースに対するポリシーベースのアクセス権限が有効になっている場合、フルアクセスが付与されているユーザーは影響を受けません。"]}]},"headings":[{"value":"データベースの削除","id":"データベースの削除","depth":1},{"value":"データベース削除保護","id":"データベース削除保護","depth":2},{"value":"Treasure コンソール を使用したデータベースの削除","id":"treasure-コンソール-を使用したデータベースの削除","depth":2},{"value":"TD Toolbelt の例","id":"td-toolbelt-の例","depth":2},{"value":"データベース削除による影響","id":"データベース削除による影響","depth":2},{"value":"保存されたクエリへの影響","id":"保存されたクエリへの影響","depth":3},{"value":"ジョブへの影響","id":"ジョブへの影響","depth":3}],"frontmatter":{"seo":{"title":"データベースの削除"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/data-workbench/databases/removing-a-database","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}