UNCACHE TABLE
描述
UNCACHE TABLE 将给定表或视图的条目及关联数据从内存和/或磁盘缓存中移除。底层条目应该已经通过之前的 CACHE TABLE 操作缓存过。如果未指定 IF EXISTS,对不存在的表执行 UNCACHE TABLE 会抛出异常。
语法
UNCACHE TABLE [ IF EXISTS ] table_identifier
参数
- 
    table_identifier 指定要取消缓存的表或视图名称。表或视图名称可以选地用数据库名称限定。 语法: [ database_name. ] table_name
示例
UNCACHE TABLE t1;