Skip to content

Commit 4253705

Browse files
committed
update readme
1 parent 3500bf7 commit 4253705

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,19 @@ public class MySQLListener implements SQLExecuteListener {
125125
DBStreamContext.getInstance().addListener(new MySQLListener());
126126
```
127127

128+
### 4. 查看表或情况表缓存数据(可选)
129+
130+
在项目启动以后,会在项目的根路径下创建dbstream文件夹,文件夹中存储的内容为数据库的表扫描缓存数据。
131+
文件夹的名称为jdbcKey的字段,文件夹下的内容为缓存的表结构信息,当表结构发生变化以后可以删除对应的文件进行更新。
132+
也可以在系统中通过执行 `DBStreamContext.getInstance().clear(String jdbcKey);`进行情况数据。
133+
jdbcKey是通过sha256(jdbcUrl+schema)计算得来。
134+
```
135+
.
136+
└── beefae7e00deb825a3a591ab7a22791a4df799afba9fed71f8b549665508c7ee
137+
└── M_USER
138+
139+
```
140+
128141
## 📖 API 文档
129142

130143
### DBStreamContext

0 commit comments

Comments
 (0)