找回密码
 立即注册

QQ登录

只需一步,快速开始

wcld

中级会员

50

主题

133

帖子

509

积分

中级会员

积分
509

微信认证勋章

wcld
中级会员   /  发表于:2021-7-13 16:03  /   查看:3489  /  回复:5
使用签名插件和二维码生成插件
生成的 图片格式是 base64 存数据库里的字节一个图片要占用64KB左右

久而久之 感觉数据库要爆掉。。。。恐怖

下面是一张图片存数据库的字节数。。。

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAACkCAYAAAAZtYVBAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAudSURBVHhe7ZJBai05EAT//S89sxVB0UGSki2MAmKVWaV6dv/77/G4iPdBPq7ifZCPq3gf5OMq3gf5uIr3QT6u4n2Qj6t4H+TjKt4H+biK90E+ruJ9kI+reB/k4yreB/m4ivdBPq7ifZCPq3gf5OMq6g/y379/PyrZnVPS5sT6u/PTttQbpqNOSnbnlLQ5sf7u/LQt9YbpqJOS3TklbU6svzs/bUu9YTrqpGR3TkmbE+vvzk/bUm/YfRBJ97PfmmLzaU5T2nlj9/56w+6DSLqf/dYUm09zmtLOG7v31xt2H0TS/ey3pth8mtOUdt7Yvb/esPsgku5nvzXF5tOcprTzxu799QY7iLlJ0tzczfTGTltsH3OTWJ5Sb7CDmJskzc3dTG/stMX2MTeJ5Sn1BjuIuUnS3NzN9MZOW2wfc5NYnlJvsIOYmyTNzd1Mb+y0xfYxN4nlKfUGO4i5SdLcJGlOU2ze8hTbx9wklqfUG+wg5iZJc5OkOU2xectTbB9zk1ieUm+wg5ibJM1NkuY0xeYtT7F9zE1ieUq9wQ5ibpI0N0ma0xSbtzzF9jE3ieUp9QY7iLlJ2pywT8nUSTSmmS9TbJ65SSxPqTfYQcxN0uaEfUqmTqIxzXyZYvPMTWJ5Sr3BDmJukjYn7FMydRKNaebLFJtnbhLLU+oNdhBzk7Q5YZ+SqZNoTDNfptg8c5NYnlJv2H0QafdznhLLCfuUTJ1V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qj6t4H+TjKt4H+biK90E+ruJ9kI+reB/k4y

5 个回复

倒序浏览
building
注册会员   /  发表于:2021-7-13 16:48:14
沙发
是啊,我们使用了签名,使用了2个月。现在数据库都快要到2G了
回复 使用道具 举报
wcld
中级会员   /  发表于:2021-7-13 17:56:07
板凳
building 发表于 2021-7-13 16:48
是啊,我们使用了签名,使用了2个月。现在数据库都快要到2G了

666
我研究下 怎么把 base64 上传到 图片空间里 7牛
回复 使用道具 举报
olookok活字格认证
论坛元老   /  发表于:2021-7-13 18:10:57
地板
图片肯定占用很多数据库资源。
回复 使用道具 举报
紫色幽魂
金牌服务用户   /  发表于:2021-7-14 08:28:18
5#
我的系统中也使用签名,占用量特别大,光签名就每天增加几十M,非常苦恼,希望能有其他方法能解决
回复 使用道具 举报
137294886
金牌服务用户   /  发表于:2021-8-26 01:20:36
6#
学习了
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部