Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-941

Support 'delete storage group <prefixPath>'

    XMLWordPrintableJSON

Details

    Description

      Currently, it seems that the user can delete all data and timeseries by 

      delete timeseries root.*;
      

      But this sql cann't delete all related storage groups. In addition, such an approach would be more time-consuming than simply deleting specified storage groups.

      So I believe it's better for `delete storage group' command to support wildcard.

      For example, all sgs and data can be deleted by one sql efficiently.

      delete storage group root.*;
      

      this sql is useful for some users in many scenarios, such as system cleanup during continuous testing;

      Attachments

        Issue Links

          Activity

            People

              LebronAl Tan xinyu
              LebronAl Tan xinyu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: