优点和SQLite中保存图像的缺点 [英] Pros and Cons of saving image in SQLite

查看:131
本文介绍了优点和SQLite中保存图像的缺点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我在是否要创建的byte []的图像,而不是使用SQLite一个单独的文件夹困境还是我保存在SQLite的图像斑点?

Now I am on a dilemma about whether to create a separate folder for byte[] images instead of using SQLite or do I save the images Blob in the SQLite?.

什么是节能的byte []图像的利弊在SQLite的?

What would be the pros and cons of saving byte[] images in the SQLite?.

推荐答案

我相当肯定,最好的做法是一个URI保存为文本的SQLite,并保留所有映像内部/外部存储。斑点很多可以开始降低性能。

I'm fairly certain that the best practice is to save a URI as Text in SQLite, and keep all images in internal/external storage. Lots of Blobs can start degrading performance.

这篇关于优点和SQLite中保存图像的缺点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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