🗃️ SELECT
17 个项目
📄️ ALTER TABLE
修改现有表,包括重命名、修改分区、修改分桶、调整 Tablet 大小和修改列。
📄️ CANCEL ALTER TABLE
CANCEL ALTER TABLE 语句可以取消正在执行的 ALTER TABLE 操作,包括:
📄️ CREATE INDEX
创建 Bitmap、N-Gram bloom filter、全文倒排和向量索引。
📄️ CREATE TABLE
在 StarRocks 中创建新表,支持指定引擎和分区分桶策略。
📄️ CREATE TABLE AS SELECT
CREATE TABLE AS SELECT 创建新表并使用查询结果填充,支持同步和异步模式。
📄️ CREATE TABLE LIKE
CREATE TABLE LIKE 创建表结构相同的空表,支持指定不同的分区和分桶方式。
📄️ DELETE
DELETE 从表中删除数据行,主键表支持按主键和任意列删除。
📄️ DESC
查看StarRocks表或外部表的schema,包括排序键和物化视图信息。
📄️ DROP INDEX
DROP INDEX removes a specified bitmap index from a table.
📄️ DROP TABLE
DROP TABLE deletes a table from the database.
📄️ REFRESH EXTERNAL TABLE
REFRESH EXTERNAL TABLE updates metadata cached in StarRocks from external data sources.
📄️ SHOW ALTER TABLE
显示正在进行的ALTER TABLE操作的执行状态,包括列修改、schema优化和rollup索引变更。
📄️ SHOW CREATE TABLE
SHOW CREATE TABLE returns the CREATE TABLE statement used to create a given table.
📄️ SHOW DELETE
SHOW DELETE queries successful historical DELETE operations on Duplicate Key, Unique Key, and Aggregate tables.
📄️ SHOW DYNAMIC PARTITION TABLES
SHOW DYNAMIC PARTITION TABLES displays status of partitioned tables with dynamic partitioning configured.
📄️ SHOW FULL COLUMNS
SHOW FULL COLUMNS displays detailed column information for specified tables.
📄️ SHOW INDEX
SHOW INDEX displays bitmap index information for a specified table.
📄️ SHOW PARTITIONS
SHOW PARTITIONS displays partition information including common and temporary partitions.
📄️ SHOW TABLES
SHOW TABLES displays all tables in a StarRocks database or external data source.
📄️ SHOW TABLET
SHOW TABLET displays tablet related information from specified tables.
📄️ TRUNCATE TABLE
TRUNCATE TABLE clears data from specified table or partition while retaining structure.
📄️ UPDATE
UPDATE modifies rows in a Primary Key table with optional multi-table joins and CTE support.
📄️ AUTO_INCREMENT
AUTO_INCREMENT column attribute automatically assigns unique integer IDs to new records.