我在独立的DolphinDB服务器中执行以下代码,
n = 1000000;
tableSchema = streamTable(n:0,`hardwareId`ts`temp1,[INT,TIMESTAMP,DOUBLE])
share(tableSchema,"sensorInfoTable")
enableTablePersistence(objByName("sensorInfoTable"), false, false, n)结果显示以下信息:
To enable table persistence, turn on the persistence manager by specifying the configuration parameter persistenceDir for the publisher node.因此,我在dolphindb.cfg中添加了以下配置。
persistenceDir="C:\DolphinDB\streamPersistence"但是当我运行Dolphindb.exe时,它异常地终止了。我发现dolphindb.log中显示了一个错误

I'm sure this directory exists.why did I fail to start PersistenceManager?发布于 2019-07-13 21:09:08
请删除包含路径的双引号。DolphinDB不会对配置文件中的参数值使用任何双引号。
persistenceDir=C:\DolphinDB\streamPersistencehttps://stackoverflow.com/questions/57016968
复制相似问题