【问题标题】:DolphinDB: Single node, configuration stream data persistence is invalidDolphinDB:单节点,配置流数据持久化无效
【发布时间】:2021-12-07 23:06:17
【问题描述】:

我在dolphindb.cfg中添加了如下配置项,

maxPubConnections=20
persisitenceDir="C:\DevTools\DolphinDB\Data\Streaming"
persistenceWorkerNum=0
maxPersistenceQueueDepth=1000
maxMsgNumPerBlock=10
maxPubQueueDepthPerSite=10

但是当我执行以下命令时:

enableTablePersistence(ticks,true, true, 1000000)

错误显示:

To enable table persistence, turn on the persistence manager by specifying the configuration parameter persistenceDir for the publisher node.

请问是哪里出错了?谢谢。

【问题讨论】:

    标签: dolphindb


    【解决方案1】:

    使用 / 代替 \ 并删除 "" 将解决问题。 正确的配置如下:

    persisitenceDir=C:/DevTools/DolphinDB/Data/Streaming
    

    【讨论】:

    • 您的答案可以通过额外的支持信息得到改进。请edit 添加更多详细信息,例如引用或文档,以便其他人可以确认您的答案是正确的。你可以找到更多关于如何写好答案的信息in the help center
    猜你喜欢
    • 1970-01-01
    • 2021-08-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-08-10
    • 2019-04-11
    • 1970-01-01
    相关资源
    最近更新 更多