可以SQLite的处理大数据量 [英] Can SQLite handle large amount of data

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

问题描述

我将作出在Android的移动应用程序。我的应用程序,如谷歌地图的获得方向的功能,但很多比较复杂的,所以我需要存储有关在地图上点的数据。所以我担心的SQLite可能无法处理这些大量数据(或考虑到手机的存储空间有限)。我在SQLite的没有背景,所以请多多包涵。

I will be making a mobile application in Android. My application is like Google Map's Get Direction feature, but a lot more complex, so I need to store data about points in the map. So I'm worried that SQLite may not be able to handle these large amount of data(or considering the limited storage of the phone). I have no background in SQLite so please bear with me.

推荐答案

的SQLite可以处理大量的数据,这里的问题是设备的限制。如果你要存储3MB以上,你应该考虑保存在外部服务器和访问它通过互联网的数据。事实上,当你正在建立一个应用程序中使用大量数据的,通常是应用程序不使用的所有数据的时候,这样你就可以在缓存中保存(在本地数据库)的应用程序目前正在使用或数据即将使用。

SQLite can handle large amount of data, the problem here is the device's limits. If you are going to store 3MB or more you should consider saving that data in an external server and access it via the Internet. In fact, when you are building an application that use large amount of data, usually the application don't use all data all the time, so you can save in cache (in a local database) the data that the app is currently using or is about to use.

这篇关于可以SQLite的处理大数据量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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