跳转至主要内容

下拉流

运行以下 SQL 来删除流或外部流,并将所有数据存储在流存储和历史存储中。

DROP STREAM [IF EXISTS] db.<stream_name>;

Like CREATE STREAM, stream deletion is an async process.

force_drop_big_stream

By default, if the total size of the stream is more than 50 GB, the SQL will fail to run. You can edit the config.yml to set a different threshold. You can also add force_drop_big_stream=true to the DROP command, e.g.

DROP STREAM <stream_name> SETTINGS force_drop_big_stream=true;
注意

force_drop_big_stream is available since Timeplus Enterprise 2.4.17 and Timeplus Proton 1.5.17.