简体   繁体   English

iCloud Sync具有核心数据SQLite稳定性

[英]iCloud Sync with Core Data SQLite Stability

Good day everyone, 今天是个好日子,

I am designing an inventory application using Core Data UIManagedDocument model and at the point of providing a data back up design. 我正在使用Core Data UIManagedDocument模型设计清单应用程序,并提供数据备份设计。 I am considering iCloud but have read online about chronic problems with iCloud and reliability with SQLlite. 我正在考虑使用iCloud,但已在线阅读有关iCloud的长期问题和SQLlite的可靠性的信息。

Before I head down this path have people had good experience using the model? 在我走这条路之前,人们对模型的使用有很好的经验吗? Is it stable enough for a production application? 它对于生产应用是否足够稳定? I need for IOS 5 and above. 我需要IOS 5及更高版本。

Many thanks -Jim 非常感谢-吉姆

Yes, SQLite is very stable. 是的,SQLite非常稳定。 I think it is stable more than other databases. 我认为它比其他数据库更稳定。 1. SQLite not uses Server Client principle. 1. SQLite不使用服务器客户端原理。 It will avoid speed and package lost. 这样可以避免速度和包裹丢失。 2 SQLite is reading from File system and special lock mechanism over FS. 2 SQLite正在读取文件系统和基于FS的特殊锁定机制。 3. SQLite something directly read from file system with C programming language. 3. SQLite用C编程语言直接从文件系统读取的东西。 So no lose time handle other thing which is BIG db is doing. 因此,不要浪费时间处理BIG db正在做的其他事情。

it is depend your project. 这取决于您的项目。 Because SQLite has some limitation also. 因为SQLite也有一些限制。 locking, table rename or something else. 锁定,表重命名或其他操作。 you can refer below link and make sure does your project requirement matching or not. 您可以参考下面的链接,并确保您的项目需求匹配或不匹配。

https://www.sqlite.org/whentouse.html https://www.sqlite.org/whentouse.html

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

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