{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"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":["テーブルを削除すると、テーブルとテーブル内に保存されているすべてのデータが削除されます。この操作は顧客側でロールバックすることはできません。テーブルを復旧する必要がある場合は、できるだけ早くサポートに連絡してください。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"danger"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["テーブルを削除してから同じ名前で新しいテーブルをすぐに作成する場合は、データ損失のリスクを避けるため、新しいテーブルにデータを追加する前に少なくとも2分間待ってください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"テーブル削除保護","__idx":1},"children":["テーブル削除保護"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["会社が長期間維持する必要がある重要なデータを含むテーブルの削除を防ぐことができます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["テーブル削除保護機能を厳格に実装すると、どのユーザーも DELETE クエリの実行、テーブルの完全削除、またはテーブル内のデータの置換を一切実行できなくなります。この機能は、サポートリクエストを送信することで、テーブル単位で有効にすることができます。保護したいテーブルのリストを添えて、サポートまたはアカウント担当者に連絡してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"制限事項","__idx":2},"children":["制限事項"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["テーブル削除保護"]}," が設定されているテーブルには、「テーブルからデータを期限切れにする」機能を使用できません。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"treasure-コンソール-を使用したテーブルの削除","__idx":3},"children":["Treasure コンソール を使用したテーブルの削除"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Workbench > Databases"]}," に移動します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["テーブルを削除するデータベースを選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["削除するテーブルを選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["... > Delete table"]}," を選択します。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2020-11-17_13-38-55.11c397cd886160b2338f771a9962d27f9f800c14dca03e62120bbe66349f493d.4c190181.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["削除を確認またはキャンセルします。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"td-toolbelt-の例","__idx":4},"children":["TD Toolbelt の例"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["table:delete"]}," は、テーブルとテーブル内に保存されているすべてのデータを削除します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"$ td table:delete test_db test_table\n","lang":"bash"},"children":[]}]},"headings":[{"value":"テーブルの削除","id":"テーブルの削除","depth":1},{"value":"テーブル削除保護","id":"テーブル削除保護","depth":1},{"value":"制限事項","id":"制限事項","depth":2},{"value":"Treasure コンソール を使用したテーブルの削除","id":"treasure-コンソール-を使用したテーブルの削除","depth":1},{"value":"TD Toolbelt の例","id":"td-toolbelt-の例","depth":1}],"frontmatter":{"seo":{"title":"テーブルの削除"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/data-workbench/databases/deleting-tables","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}