Go to main content
Oracle® ZFS Storage Appliance Analytics Guide, Release OS8.7.0

Exit Print View

Updated: March 2017
 
 

Removing a Dataset from a Worksheet (CLI)

Datasets in saved worksheets are archived. As such, data is not discarded when a dataset is removed from a worksheet. To discard data in a dataset, see Discarding Data in a Dataset (CLI).

  1. Go to analytics worksheets.
    hostname:> analytics worksheets
  2. Enter show to view a list of open worksheets.
    hostname:analytics worksheets> show
    Worksheets:
    
    WORKSHEET        OWNER   NAME
    worksheet-000    root    example_1
    worksheet-001    root    example_2
  3. Enter select and the worksheet from which you want to remove a dataset.
    hostname:analytics worksheets> select worksheet-000
  4. Enter show to view a list of datasets in the worksheet.
    hostname:analytics worksheet-000> show
    Properties:
                              uuid = e268333b-c1f0-401b-97e9-ff7f8ee8dc9b
                              name = 830 MB/s NFSv3 disk
                             owner = root
                             ctime = 2009-9-4 20:04:28
                             mtime = 2009-9-4 20:07:24
    Datasets:
    
    DATASET       DATE       SECONDS  NAME
    dataset-000   2009-9-4        60  nic.kilobytes[device]
    dataset-001   2009-9-4        60  io.bytes[op]
  5. Enter remove and the dataset that you want to remove.
    hostname:analytics worksheet-000> remove dataset-000
    This will remove "dataset-000". Are you sure? (Y/N)
  6. Enter Y to confirm your action.

    The modified worksheet is automatically saved.