Android应用程序在内存中的SQLite数据库的最大尺寸是多少? [英] Max size of an Android app's in-memory SQLite database?

查看:289
本文介绍了Android应用程序在内存中的SQLite数据库的最大尺寸是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何大可以是我的Andr​​oid应用程序的数据库?是否有限制?

How large can be the database of my Android app? Is there a limit?

有关性能和安全方面的原因,我不想存储数据库在SD卡上。

For performance and security reasons, I don't want to store the database on the SD card.

推荐答案

至于它阅读了建议,有对sqlite的分贝的内部存储比正常限度等,即大小没有硬性限制。什么是备用的。

As far as reading up on it would suggest, there is no hard limit on the size of sqlite db on the internal storage other than the normal limits, ie. what is spare.

但有些人报告异常的大数据库中发生的,虽然我还没有看到任何人都明白为什么。

However some people are reporting exceptions occurring on larger databases, though I have yet to see anyone work out why.

可悲的是内部功能报告最大尺寸是没有用这两种,似乎定为1TB。

Sadly the internal function to report max size isn't useful for this either, it seems set at 1TB.

这篇关于Android应用程序在内存中的SQLite数据库的最大尺寸是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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