我们可以为DAX项目缓存设置无限的TTL吗 [英] Can we have infinite TTL for DAX item cache

查看:90
本文介绍了我们可以为DAX项目缓存设置无限的TTL吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前为我的dax群集设置了项目缓存TTL =0。找不到无限超时的有效文档。但这是否与无限超时相对应?

I've currently set the item cache TTL for my dax cluster = 0. I cant find any good documentation for an infinite timeout. But does that correspond to an infinte timeout ?

 ParameterNameValues:
        "query-ttl-millis" : "60000"
        "record-ttl-millis" : "0"


推荐答案

是,将 record-ttl-millis设置为 0意味着DAX永远不会刷新基于TTL的值。如果缓存已满,仍然可以逐出记录(并在下一次请求时刷新记录)。

Yes, setting "record-ttl-millis" to "0" means that DAX will never refresh a value based on TTL. Records can still be evicted (and thus refreshed on next request) if the cache fills up.

我将看到有关清除TTL文档的说明。

I'll see about clearing up the documentation on TTL to make this clear.

这篇关于我们可以为DAX项目缓存设置无限的TTL吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆