下载和使用SQLite数据库? [英] Downloading and using SQLite database?

查看:94
本文介绍了下载和使用SQLite数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前在一个项目中工作,我需要在iOS设备上处理100mb左右的大量数据。数据当前位于xml中,但正在考虑将其解析为SQLite数据库。
因此,我的问题是,是否有人从网络服务器下载压缩的SQLite数据库,解压缩数据库然后在数据库中搜索内容?

Iam currently working on a project where i need to handle alot of data around 100mb on a iOS device. The data is currently in xml but thinking about parsing into a SQLite database. Therefore my question is if anyone have any experience in downloading a compressed SQLite database from a webserver, uncompress the database and then search the database for content?

推荐答案

是的,我已经从网络服务器上下载了压缩的sqllite数据库,解压缩了数据库,然后在数据库中搜索了内容。

Yes, I have downloaded a compressed sqllite database from a webserver, uncompressed the database and then searched the database for content.

我还向数据库中添加了信息。

I've also added information to the database.

只要您没有大量并发写入,Sqllite是可接受的数据库。

Sqllite is an acceptable database, as long as you don't have a lot of concurrent writes.

这篇关于下载和使用SQLite数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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