重启dolphindb后,连接上创建该流表并进行持久化的节点,再次执行:
colName=["time","x"] colType=["timestamp","int"] t = streamTable(100:0, colName, colType); enableTableShareAndPersistence(table=t, tableName=`st, cacheSize=1200000)
就可以将持久化到磁盘的流数据加载进来。
如果想设置启动dolphindb自动加载,可以参考教程:DolphinDB启动脚本
https://gitee.com/dolphindb/T...