简体   繁体   English

默认情况下,mongodb 领域在设备上保留多长时间?

[英]How long are mongodb realms retained on a device by default?

How long are mongodb realms retained on a device running the application by default (Sync/Normal) Does it matter if its a normal or synced realm?默认情况下,mongodb 领域在运行应用程序的设备上保留多长时间(同步/正常)它是正常领域还是同步领域有关系吗? If so whats the default retention by the device for both?如果是这样,设备对两者的默认保留是什么?

Both synchronized and local Realms are kept on the device indefinitely (that is, until the user deletes the app or clears its local data).同步领域和本地领域都无限期地保留在设备上(即,直到用户删除应用程序或清除其本地数据)。 Synchronized Realms are "normal" Realms, the only thing special about them is that in the background, there's a process that pushes and pulls data from the server.同步领域是“普通”领域,它们唯一特别的是在后台,有一个从服务器推送和拉取数据的进程。 But the database is completely identical to the non-synchronized database.但是数据库与非同步数据库完全相同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM