All Products
Search
Document Center

Tablestore:Delete a time series table

Last Updated:Aug 03, 2026

Delete a time series table that you no longer need by using Tablestore SDK for Java.

Prerequisites

Install the Tablestore SDK for Java and initialize a time series client.

Description

Call deleteTimeseriesTable to delete a time series table.

public DeleteTimeseriesTableResponse deleteTimeseriesTable(DeleteTimeseriesTableRequest request)

The following example deletes example_timeseries_table.

Important

After you delete a time series table, the table and its time series data and metadata cannot be recovered. Proceed with caution.

TimeseriesClient timeseriesClient = client.asTimeseriesClient();

String tableName = "example_timeseries_table";
DeleteTimeseriesTableRequest request =
        new DeleteTimeseriesTableRequest(tableName);

timeseriesClient.deleteTimeseriesTable(request);

Parameters

DeleteTimeseriesTableRequest contains the following parameter.

Name

Type

Description

timeseriesTableName (required)

String

The time series table name.