Step 6: Cleaning Up Resources

After completing operations in this tutorial, if you no longer need to use the resources created during the operations, you can delete them to avoid resource waste or quota occupation.

Deleting the Foreign Table and Target Table

  1. If you have performed queries after importing data, run the following statement to delete the target table:

    1
    DROP TABLE product_info;
    

    If the following output is displayed, the index has been deleted:

    DROP TABLE

  2. Run the following statement to delete the foreign table:

    1
    DROP FOREIGN TABLE product_info_ext;
    

    If the following output is displayed, the foreign table has been deleted:

    DROP FOREIGN TABLE