You've already forked www.colben.cn
update
This commit is contained in:
@@ -6,14 +6,14 @@ tags: []
|
||||
categories: ["clickhouse"]
|
||||
---
|
||||
|
||||
# Live View 视图简介
|
||||
## Live View 视图简介
|
||||
- 类似时间监听器
|
||||
- 需设置 allow_experimental_live_view 为 1,检查
|
||||
```sql
|
||||
SELECT name, value FROM system.settings WHERE name LIKE '%live_view%';
|
||||
```
|
||||
|
||||
# 创建 Live View 视图
|
||||
## 创建 Live View 视图
|
||||
- 创建
|
||||
```sql
|
||||
CREATE LIVE VIEW lv_name AS SELECT count(*) FROM table_name;
|
||||
|
Reference in New Issue
Block a user